Repository navigation
test(codex): remove duplicate terminal inventory fixture case - #149349
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 3:08 PM ET / 19:08 UTC. ClawSweeper reviewWhat this changesRemoves an unreachable duplicate response case from the Codex model-attribution test fixture. Merge readiness✅ Ready for maintainer review The cleanup remains useful on current main and introduces no actionable defect. The retained case preserves identical behavior and all existing assertions; this maintainer-associated PR should proceed through normal review. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s Codex plugin runs agent turns through the Codex app server. This fixture simulates server responses while checking model attribution, completion, and timeout cleanup. flowchart LR
A[Registered harness test] --> B[Codex plugin]
B --> C[Simulated server requests]
C --> D[Single terminal inventory response]
D --> E[Completion and timeout assertions]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -3. Total -3 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep one native terminal-inventory response in the fixture while preserving both attribution scenarios and their assertions. Do we have a high-confidence way to reproduce the issue? Not applicable to a runtime bug: source inspection directly confirms the duplicate unreachable case on fetched main. Is this the best way to solve the issue? Yes. Deleting only the unreachable branch is the smallest repair and preserves the existing protocol response and regression coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fcb4d12acda7. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
(cherry picked from commit 60deb0d)
Bring in the mainline duplicate-case repair from #149349 without changing the reviewed model repair. Preserve the catalog fixture and the recorded focused, review, and live evidence. Co-authored-by: Vincent Koc <[email protected]>
* improve(startup): reduce Gateway readiness work * perf(startup): defer migration imports and reuse snapshot fingerprints * fix(build): retain shared SQLite schema import * fix(startup): defer maintenance until startup settles * test(gateway): split post-ready startup coverage * test(codex): remove duplicate terminal inventory fixture case (#149349) (cherry picked from commit 60deb0d) * fix(test): unblock managed update fixture lint (#149423) (cherry picked from commit 6c28739) * test(pr): sync alias fixture dependencies Reuse the canonical fixture helper from Vincent Koc's #149193 (7450a11) and the alias setup from #149477 (bb1451c60785853ab3d0380ef825ec143f11233c). Keep supervisor delegation and refusal assertions intact when current main materializes missing linked-worktree dependencies. * test(pr): drop superseded alias fixture backport Revert 0045dc7 so main owns the canonical PR wrapper dependency setup. This avoids reintroducing a second setup call after the upstream fixture repair. Startup production and package inputs are unchanged.
…48988) * fix: keep environment inventory responsive during pairing cleanup * test: include pairing snapshot in isolated gateway expectations * fix: let profiler help drain pending cleanup * test: preserve process events in runtime identity fixtures * test: avoid loading QA runtime in receipt producers * fix: repair native PR repository identity fixtures (#149294) (cherry picked from commit 7dc8a1e) * fix: keep Codex model attribution fixture focused (#149301) (cherry picked from commit 273b6c5) * test: align canonical model attribution fixture Adopt the complete fixture from #149349 and #149261 so merging the inventory branch retains one terminal-list response. Preserve the controlled completion/timeout cases and the original runtime budget. * test: provide dependencies for PR alias fixtures Keep alias delegation cases on their intended supervisor boundary after code-only linked checkouts gained dependency materialization. Preserve exact arguments, exit status, and trust refusals; retain separate materializer coverage. * test: retire superseded PR alias fixture setup Canonical main already owns linked dependency setup before checkout. Remove the branch-local later setup so the merged fixture matches #149477 exactly, without changing the inventory or lifecycle implementation.
* improve(startup): reduce Gateway readiness work * perf(startup): defer migration imports and reuse snapshot fingerprints * fix(build): retain shared SQLite schema import * fix(startup): defer maintenance until startup settles * test(gateway): split post-ready startup coverage * test(codex): remove duplicate terminal inventory fixture case (openclaw#149349) (cherry picked from commit df50b7d) * fix(test): unblock managed update fixture lint (openclaw#149423) (cherry picked from commit a41881e) * test(pr): sync alias fixture dependencies Reuse the canonical fixture helper from Vincent Koc's openclaw#149193 (9078929) and the alias setup from openclaw#149477 (bb1451c60785853ab3d0380ef825ec143f11233c). Keep supervisor delegation and refusal assertions intact when current main materializes missing linked-worktree dependencies. * test(pr): drop superseded alias fixture backport Revert 0045dc7 so main owns the canonical PR wrapper dependency setup. This avoids reintroducing a second setup call after the upstream fixture repair. Startup production and package inputs are unchanged.
…enclaw#148988) * fix: keep environment inventory responsive during pairing cleanup * test: include pairing snapshot in isolated gateway expectations * fix: let profiler help drain pending cleanup * test: preserve process events in runtime identity fixtures * test: avoid loading QA runtime in receipt producers * fix: repair native PR repository identity fixtures (openclaw#149294) (cherry picked from commit 3df0afa) * fix: keep Codex model attribution fixture focused (openclaw#149301) (cherry picked from commit f778132) * test: align canonical model attribution fixture Adopt the complete fixture from openclaw#149349 and openclaw#149261 so merging the inventory branch retains one terminal-list response. Preserve the controlled completion/timeout cases and the original runtime budget. * test: provide dependencies for PR alias fixtures Keep alias delegation cases on their intended supervisor boundary after code-only linked checkouts gained dependency materialization. Preserve exact arguments, exit status, and trust refusals; retain separate materializer coverage. * test: retire superseded PR alias fixture setup Canonical main already owns linked dependency setup before checkout. Remove the branch-local later setup so the merged fixture matches openclaw#149477 exactly, without changing the inventory or lifecycle implementation.
Concurrent merges of #149261 and #149301 left two identical
thread/backgroundTerminals/listcases in the Codex model-attribution fixture. Remove the unreachable second case; the native response, completion/timeout assertions, and production behavior stay unchanged.Validation: the original Gateway/SQLite yielded-task regression and both registered Codex attribution cases passed (3 tests). Scoped
check-changedand independent P2 review passed. This is a three-line test-only deletion; no new test or documentation change is needed.Hosted CI passed on the exact PR head. A prospective merge with current main retains exactly one terminal inventory response case.