Skip to content

Serialize score.yml runs to prevent concurrent DB overload#216

Merged
PunchTheDev merged 4 commits into
mainfrom
punch/score-concurrency
Jun 3, 2026
Merged

Serialize score.yml runs to prevent concurrent DB overload#216
PunchTheDev merged 4 commits into
mainfrom
punch/score-concurrency

Conversation

@PunchTheDev
Copy link
Copy Markdown
Owner

Summary

At 100+ miners, multiple agents can merge to main in quick succession, triggering simultaneous score.yml runs. Each run makes dozens of POST /submit calls; concurrent runs risk overwhelming the forge-api SQLite backend.

Changes

  • Add concurrency: group: score-main, cancel-in-progress: false to score.yml — serializes full-score jobs. Pending runs queue (not cancelled), so every merged agent is still scored, just sequentially.

@PunchTheDev PunchTheDev merged commit d2adafc into main Jun 3, 2026
1 check passed
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.

1 participant