Skip to content

fix(pipeline): bound GitHub budget starvation - #78

Merged
ivanarama merged 1 commit into
mainfrom
fix/github-budget-fairness
Sep 17, 2026
Merged

ivanarama merged 1 commit into
mainfrom
fix/github-budget-fairness

Conversation

@ivanarama

Copy link
Copy Markdown
Owner

Что изменено

  • добавлен opt-in github_budget.starvation_timeout_seconds (по умолчанию 0)
  • самая старая ожидающая задача получает FIFO admission baton без изменения priority/floor/headroom
  • fairness участвует и в атомарном GitHub reserve, и в выборе worker slot
  • добавлены миграция/backfill и exact-attempt cleanup для restart/config-change/no-reservation путей
  • fairness + lanes требует recovery lane с borrow: true, иначе безопасный global-claim fallback

Проверки

  • python -m pytest -q — 653 passed
  • focused budget/fairness — 174 passed
  • independent audit — blocker/high/medium не найдено
  • python -m compileall -q promptpilot
  • git diff --check

Give the oldest durable budget waiter an opt-in FIFO admission baton and a matching worker-slot preference without changing its quota floor. Preserve exact-attempt fencing across retries, restarts, migrations, configuration changes, and non-reserving execution paths.

Generated-with: Codex
@ivanarama
ivanarama merged commit be2e3a3 into main Sep 17, 2026
4 checks passed
@ivanarama
ivanarama deleted the fix/github-budget-fairness branch September 17, 2026 20:10
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