Skip to content

Allow backfill progress whenever shared capacity is positive - #52

Open
chaptersix wants to merge 1 commit into
scheduler-backfill-capacity/evidencefrom
scheduler-backfill-capacity/fair-progress
Open

Allow backfill progress whenever shared capacity is positive#52
chaptersix wants to merge 1 commit into
scheduler-backfill-capacity/evidencefrom
scheduler-backfill-capacity/fair-progress

Conversation

@chaptersix

Copy link
Copy Markdown
Owner

When the number of backfillers exceeds shared free capacity, integer division previously prevented every range from progressing. Admit one start when capacity is positive; serialized CHASM tasks recompute the remaining global budget before every enqueue. Zero capacity still stalls.

Validation: deterministic 450/451/1000-range drain tests pass with unique request identities and the existing shared budget; affected scheduler packages and V1 scheduler/replay tests pass; make lint-code-fast reports zero issues; git diff --check passes. No schema or V1 workflow behavior changes.

Evidence report. This fixes admission liveness; it does not impose a new ordering contract on concurrent ranges or remove the existing O(N) counting scan.

@chaptersix
chaptersix marked this pull request as ready for review September 5, 2026 02:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-05T02:11:49.283220Z 13fb9d2 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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