Skip to content

fix: restore Codex qualification fixture contracts - #200450

Merged
RomneyDa merged 2 commits into
mainfrom
fix/codex-recorder-fixtures
Nov 17, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
fix/codex-recorder-fixtures

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Release qualification stops in Codex run-attempt and auth-bridge tests before exercising the intended contracts. Several test recorders omit required methods, one submission assertion predates #199695, and the OAuth callback fixture omits the original auth handoff and returns credentials inside the proactive refresh window.

User Impact

No runtime behavior changes. Maintainers can exercise existing prompt-persistence, context-engine, submission-order and OAuth callback contracts without incomplete or stale fixtures.

Why This Change Was Made

Reuse the existing complete typed recorder helper, preserving persisted-message and lazy-message scenarios. Assert no provider submission acknowledgment before acceptance, then exactly one after prompt persistence, matching #199695.

Model the real refresh callback's original auth handoff and use a rotation outside the proactive refresh window. Require one shared refresh, both startup handoffs, the compatible callback result, and refusal of incompatible workspaces whether ownership lookup reaches the rotation before or after settlement. Extract reused typed OAuth fixture builders to the adjacent test-support file without removing assertions.

No production code, auth policy, timeout, protocol or release gate changes.

Evidence

Original-main hooks reproduction fails with recorder?.isBlocked is not a function; original auth reproduction rejects without refreshed access. Repaired hooks: 18 passed. Context-engine/run-attempt: 148 passed. Auth-bridge after fixture extraction: 53 passed. All 219 focused tests pass across these runs. Canonical type-aware lint, extension-test typecheck, formatting and diff checks pass for the changed files.

Full exact-candidate release qualification remains required.

RomneyDa and others added 2 commits November 17, 2026 06:09
Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@RomneyDa
RomneyDa merged commit 8f0d03f into main Nov 17, 2026
96 of 97 checks passed
@RomneyDa
RomneyDa deleted the fix/codex-recorder-fixtures branch November 17, 2026 06:33
RomneyDa added a commit that referenced this pull request Nov 17, 2026
* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes.

Co-authored-by: RomneyDa <[email protected]>

* test: align Codex refresh callback fixtures

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8f0d03f)
RomneyDa added a commit that referenced this pull request Nov 18, 2026
* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes.

Co-authored-by: RomneyDa <[email protected]>

* test: align Codex refresh callback fixtures

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8f0d03f)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching openclaw#199695. No production behavior or timeout changes.

Co-authored-by: RomneyDa <[email protected]>

* test: align Codex refresh callback fixtures

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 18, 2026
* improve(ci): avoid duplicate release source guard scans

* fix(ci): classify recovery browser test server ownership (#200402)

(cherry picked from commit a62e4e1)

* fix(ci): restore package harness startup

Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules.

(cherry picked from commit 84262af)

* test(facetime): preserve child process exports in audio fixture (#200419)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 36549cb)

* test(browser): align fixtures with navigation and CLI contracts (#200428)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d0daf88)

* fix: restore Codex qualification fixture contracts (#200450)

* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes.

Co-authored-by: RomneyDa <[email protected]>

* test: align Codex refresh callback fixtures

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8f0d03f)

* fix(crabbox): join heartbeat command cleanup before retirement (#200466)

(cherry picked from commit 6247dc4)

* fix(agents): retain ambiguous completed-answer receipts

* fix(qa): ignore workspace context when detecting continuation

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
)

* improve(ci): avoid duplicate release source guard scans

* fix(ci): classify recovery browser test server ownership (openclaw#200402)

(cherry picked from commit 4a2270d)

* fix(ci): restore package harness startup

Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules.

(cherry picked from commit 7dfdaec)

* test(facetime): preserve child process exports in audio fixture (openclaw#200419)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit b12070e)

* test(browser): align fixtures with navigation and CLI contracts (openclaw#200428)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d623a9b)

* fix: restore Codex qualification fixture contracts (openclaw#200450)

* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching openclaw#199695. No production behavior or timeout changes.

Co-authored-by: RomneyDa <[email protected]>

* test: align Codex refresh callback fixtures

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d0d35ab)

* fix(crabbox): join heartbeat command cleanup before retirement (openclaw#200466)

(cherry picked from commit a823861)

* fix(agents): retain ambiguous completed-answer receipts

* fix(qa): ignore workspace context when detecting continuation

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* improve(ci): avoid duplicate release source guard scans

* fix(ci): classify recovery browser test server ownership (#200402)

(cherry picked from commit a62e4e1)

* fix(ci): restore package harness startup

Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules.

(cherry picked from commit 84262af)

* test(facetime): preserve child process exports in audio fixture (#200419)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 36549cb)

* test(browser): align fixtures with navigation and CLI contracts (#200428)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d0daf88)

* fix: restore Codex qualification fixture contracts (#200450)

* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes.

Co-authored-by: RomneyDa <[email protected]>

* test: align Codex refresh callback fixtures

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8f0d03f)

* fix(crabbox): join heartbeat command cleanup before retirement (#200466)

(cherry picked from commit 6247dc4)

* fix(agents): retain ambiguous completed-answer receipts

* fix(qa): ignore workspace context when detecting continuation

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 60e0e21)
Release adaptation: Preserve baseline authored-request continuation classifier and extractToolOutput import; newer #201244 behavior already exists. Apply runtime-context split and regression without downgrading it.:
Backport review: #201130 selected by sibling; #201331 and #198760 are independent package script changes. #201244 classifier already present-equivalent on baseline.:
(cherry picked from commit ad2ae0e0e2bf242ab0df9f9ca29f4f848caf478c)
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
)

* improve(ci): avoid duplicate release source guard scans

* fix(ci): classify recovery browser test server ownership (openclaw#200402)

(cherry picked from commit a62e4e1)

* fix(ci): restore package harness startup

Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules.

(cherry picked from commit 84262af)

* test(facetime): preserve child process exports in audio fixture (openclaw#200419)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 36549cb)

* test(browser): align fixtures with navigation and CLI contracts (openclaw#200428)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d0daf88)

* fix: restore Codex qualification fixture contracts (openclaw#200450)

* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching openclaw#199695. No production behavior or timeout changes.

Co-authored-by: RomneyDa <[email protected]>

* test: align Codex refresh callback fixtures

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8f0d03f)

* fix(crabbox): join heartbeat command cleanup before retirement (openclaw#200466)

(cherry picked from commit 6247dc4)

* fix(agents): retain ambiguous completed-answer receipts

* fix(qa): ignore workspace context when detecting continuation

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 60e0e21)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 90fc6d5fa4c9d0f348e83ae63fd63c3072e03433)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant