-
Notifications
You must be signed in to change notification settings - Fork 322
chore: add daily Drain3 weight training workflow; delete agentdrain demo binary #24344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,92 @@ | ||||||||
| name: Train Log Pattern Weights | ||||||||
|
|
||||||||
| on: | ||||||||
| schedule: | ||||||||
| - cron: "0 4 * * *" # Daily at 04:00 UTC | ||||||||
| workflow_dispatch: | ||||||||
|
|
||||||||
| permissions: {} | ||||||||
|
|
||||||||
| jobs: | ||||||||
| train: | ||||||||
| name: Download logs and train drain3 weights | ||||||||
| runs-on: ubuntu-latest | ||||||||
| timeout-minutes: 30 | ||||||||
| permissions: | ||||||||
|
||||||||
| permissions: | |
| permissions: | |
| actions: read |
Copilot
AI
Apr 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make build runs sync-action-pins/sync-action-scripts as prerequisites (Makefile:22,669-685), which can modify tracked files unrelated to Drain3 weights during this automation run. To avoid incidental working-tree changes and keep the workflow focused, consider building only the CLI binary via go build ... ./cmd/gh-aw (or a dedicated make build-cli target without sync steps).
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a
concurrencygroup for this scheduled workflow to prevent overlapping runs (e.g., if a run is slow or a manual dispatch happens near the cron time). Overlaps can lead to duplicate branches/PRs and wasted runner time.This repo commonly uses
concurrency: { group: "gh-aw-${{ github.workflow }}" }for scheduled workflows (e.g.,.github/workflows/daily-integrity-analysis.lock.yml:48-50).This issue also appears on line 70 of the same file.