Skip to content

fix(pipeline): unblock integration review budget - #77

Merged
ivanarama merged 1 commit into
mainfrom
fix/integration-review-admission
Sep 17, 2026
Merged

ivanarama merged 1 commit into
mainfrom
fix/integration-review-admission

Conversation

@ivanarama

Copy link
Copy Markdown
Owner

Summary

  • allow only a signed, exact integration-review occurrence to use the active P1 MERGE headroom
  • persist that temporary priority across budget defer/reclaim, then restore it when the route changes
  • preserve explicit task/series priority edits and keep recurring REVIEW successors at their configured priority
  • account for shared GitHub headroom across profiles

Safety

  • ordinary content REVIEW remains P2
  • promotion requires the signed fallback lease and exact replica target reservation
  • DB transitions are fenced by task id plus started_at
  • invalid restoration fails closed

Tests

  • python -m pytest -q (634 passed)
  • python -m pytest -q tests/test_github_budget.py tests/test_pipeline_replicas.py (213 passed)
  • python -m compileall -q promptpilot
  • git diff --check

Let a signed, task-fenced integration review occurrence borrow the active P1 merge budget priority without promoting ordinary review work. Persist and safely restore the occurrence priority across budget deferrals, while preserving explicit operator edits and recurring-series priority.

Generated-with: Codex
@ivanarama
ivanarama merged commit 6a7ec34 into main Sep 17, 2026
4 checks passed
@ivanarama
ivanarama deleted the fix/integration-review-admission branch September 17, 2026 16:04
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