Skip to content

chore: update drain3 default log pattern weights - #57346

Merged
pelikhan merged 3 commits into
mainfrom
ci/train-drain3-weights-20260831
Aug 31, 2026
Merged

chore: update drain3 default log pattern weights#57346
pelikhan merged 3 commits into
mainfrom
ci/train-drain3-weights-20260831

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This pull request updates the default Drain3 log pattern weights (pkg/agentdrain/data/default_weights.json) by training on the most recent workflow run logs.

What changed

  • Re-trained log template clusters from the latest run logs using gh aw logs --train
  • Copied resulting drain3_weights.json to the embedded defaults path

How to verify

  1. Build the binary with make build
  2. Run gh aw audit or gh aw logs --train and confirm the anomaly analysis reflects the updated patterns

This PR was created automatically by the train-drain3-weights workflow.


Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • github.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "github.com"

See Network Configuration for more information.

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 9.2 AIC · ⌖ 8.6 AIC · ⊞ 9.2K ·
Comment /souschef to run again

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot Please refresh this PR for maintainer review: re-run the pr-finisher skill, confirm the branch is up to date with main, and address any remaining review or check issues before handing back.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • github.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "github.com"

See Network Configuration for more information.

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 9.2 AIC · ⌖ 8.6 AIC · ⊞ 9.2K ·
Comment /souschef to run again

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

@copilot Please refresh this PR for maintainer review: re-run the pr-finisher skill, confirm the branch is up to date with main, and address any remaining review or check issues before handing bac...

Confirmed the branch is already up to date with main. Ran make fmt (reformatted default_weights.json with prettier), make lint, and make test-unit (no Go changes, nothing to test) — all pass. No open review threads to address. Pushed in c536072.

Copilot AI requested a review from gh-aw-bot August 31, 2026 05:00
@pelikhan
pelikhan merged commit 58f822b into main Aug 31, 2026
@pelikhan
pelikhan deleted the ci/train-drain3-weights-20260831 branch August 31, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants