Skip to content

check: fixes for #296, #298, #300 - #302

Merged
ualtinok merged 9 commits into
mainfrom
check/issues-296-300
Nov 23, 2026
Merged

ualtinok merged 9 commits into
mainfrom
check/issues-296-300

Conversation

@oaiauth-alfonso

@oaiauth-alfonso oaiauth-alfonso Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Check branch for the full CI matrix before main. Refs #296, #298, #300.


Summary by cubic

Fixes OpenCode 2 issues #296, #298, and #300, and bundles related robustness fixes for Pi stream-limit routing, OpenCode 2 setup migration, and the release script.

What changed

  • Vault quota-minimum refusals now use the shared quota-minimum message when a route would pass with the minimum set to zero; other vault and admission refusals stay unchanged.
  • Pool login replacement compares the selected row's epoch and identity and reselects after a stale write, so a mismatched account cannot fall back to an unconditional replacement by row ID.
  • Setup and shutdown share one ordered cleanup with per-step timeouts, and startup refuses an explicit state override pointing back to the tokenless vault left after a completed move.
  • Pi routes terminal stream limits like HTTP refusals, and streamed usage failures keep explicit reset evidence so holds match HTTP 429.
  • The release script rechecks that only version files changed before committing and pushes atomically.

Written for commit 27ec9c7. Summary will update on new commits.

View guided diff Turn on auto-fix

Use the shared quota-minimum message when a vault route would pass with the minimum set to zero. Keep other vault and admission refusals unchanged. Exercise the prior empty-roster expectation with a quota minimum configured to prove the new guidance does not mask a genuinely empty vault.
Act only on terminal pi-ai outcomes, so provisional limits from retried sends cannot move a session or report exhaustion. Preserve explicit reset evidence on streamed usage failures so holds match HTTP 429; split the prior failed-event reset assertion into an actual resetless case and a literal reset-precedence witness.
…ase: recheck version-only changes before commit and push atomically (#299)
Compare the selected row epoch and identity during replacement, and reselect after a stale write. Keep a mismatched account from falling back to an unconditional replacement by row ID.
Register each owned release during setup and use the same ordered cleanup on setup failure and shutdown. Give each release or drain its own five-second deadline and log only the failed step, then release the vault and heartbeat even if earlier work fails.
Refuse an explicit state override that points back to the tokenless vault left after a completed move. Validate layout markers and direct users to restore a marker for this config folder when state-home files might be the only surviving copies.

Use a state-only fixture for the atomic-temp override test so it still checks cleanup with a valid override; the old full-vault fixture would now hit the intentional startup refusal.
@ualtinok
ualtinok merged commit 27ec9c7 into main Nov 23, 2026
9 checks passed
@ualtinok
ualtinok deleted the check/issues-296-300 branch November 23, 2026 19:20
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