Repository navigation
fix(ci): restore deterministic main checks - #120501
Merged
Merged
Conversation
steipete
force-pushed
the
codex/fix-current-main-ci
branch
from
August 8, 2026 08:00
095e909 to
c6d3843
Compare
steipete
added a commit
that referenced
this pull request
Aug 8, 2026
…ss retries Repairs the two #120497 regressions still red on main: - attempt-normalization: carried lastRunPromptUsage from an earlier attempt outranked the session's unavailable-context sentinel, reviving a stale context-size fact across retries; the sentinel now acts as a barrier while numeric carried ordering stays unchanged. Fixes the shipped-red 'keeps the unavailable sentinel across a retry' test. - commands-status fixtures: stamp totalTokensFresh/totalTokensVersion provenance on Codex context-override entries (hunks adopted from #120501).
Finish the canonical token-provenance fixtures while preserving the latest maintainer-owned unavailable-usage ordering. Limit the diff-base GitHub token to manual non-release comparisons and guard that fork isolation invariant in the existing workflow regression test. Co-authored-by: Sarah Fortune <[email protected]>
Consume the immutable diff base already resolved and validated by preflight for every CI event. Remove the dead duplicate manual GitHub lookup and unreachable fallbacks, and guard the single authoritative path without changing fork credential isolation.
steipete
force-pushed
the
codex/fix-current-main-ci
branch
from
August 8, 2026 09:00
dd435d5 to
3053cf0
Compare
Contributor
Author
|
@clawsweeper re-review |
Contributor
|
🦞👀 Command router queued. I will update this comment with the next step. |
Contributor
Author
|
@clawsweeper re-review |
Contributor
|
🦞🧹 I asked ClawSweeper to review this item again. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 9, 2026
* fix(plugin-sdk): stabilize session catalog baseline * test(doctor): isolate bind persistence inventory * fix(ci): prepare max-lines base during checkout * test(sessions): align freshness regression fixtures * style(tests): format context usage fixture * fix(ci): preserve token provenance and isolate fork credentials Finish the canonical token-provenance fixtures while preserving the latest maintainer-owned unavailable-usage ordering. Limit the diff-base GitHub token to manual non-release comparisons and guard that fork isolation invariant in the existing workflow regression test. Co-authored-by: Sarah Fortune <[email protected]> * test(ui): identify actual managed image eviction * fix(ci): reuse the validated protocol comparison base Consume the immutable diff base already resolved and validated by preflight for every CI event. Remove the dead duplicate manual GitHub lookup and unreachable fallbacks, and guard the single authoritative path without changing fork credential isolation. * test(sessions): preserve stale total expectation * test(ui): arm reconnect deferral before disconnect --------- Co-authored-by: Sarah Fortune <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Repairs the CI owner boundaries that remained unique after current
mainabsorbed the overlapping protocol, token-provenance, and QA process fixes:sessions.listresponse after closing the socket, allowing the reconnect request to race ahead of the test hook.Why This Change Was Made
Session Catalog now owns an explicit
{ sessionKey, entry: SessionEntry }interface. The API baseline test locks that declaration, removing graph-order-dependent alias selection.The Doctor regression still exercises the real migration and atomic config writer, but under the supported empty bundled-plugin inventory because plugin discovery is unrelated to the core bind-persistence contract.
Preflight is now the single owner of immutable comparison-base resolution. The max-lines checkout co-fetches that base with the target, while bundled-protocol reuses the same validated base instead of performing a second manual GitHub lookup and fallback stack. PR merge-tree validation, release-gate behavior, and fork credential isolation remain intact.
The unavailable-context compaction assertion moved from the oversized loop integration file into the focused context-usage suite without changing behavior. The browser cache proof now derives the evicted URL from the actual revoked set and verifies that it was created, so concurrent fetch completion order cannot select the wrong image.
The sidebar reconnect proof now registers the deferred
sessions.listresponse before disconnecting, matching the sibling route-reconnect flow and guaranteeing the reconnect request cannot escape the proof boundary.Provenance: #120475 exposed the graph-derived SDK declaration and added the slow Doctor regression. Run 31241160655 showed the duplicate max-lines base fetch consuming the lane budget before the ratchet ran. The Blob-order assumption was carried forward by #115654 despite its comment acknowledging concurrent creation order. Main run 31249100164 exposed the sidebar deferral-order race.
User Impact
No product behavior changes. CI is deterministic, uses one authoritative comparison base, and keeps its focused regressions below the line budget.
Production/workflow LOC: +43/-91 (net -48) | Tests: +136/-136 (net 0) | Generated artifacts: +1/-1.
Evidence
oxfmt --check, targetedoxlint, max-lines ratchet, andgit diff --checkpassed.3053cf0fd3a0and focused reconnect-fix autoreview at24dad0bb5dare clean with no accepted/actionable findings.24dad0bb5d46passed CI run 31250535162 (65/65) after the reconnect-order follow-up.