Repository navigation
fix(qa): align auth and Workshop proofs with runtime contracts - #142280
Conversation
Backport the remaining release QA corrections without changing runtime code. Advertise the supported model through the fake app-server catalog and assert its Gateway visibility before revoking the selected credential. Reject every non-handshake RPC after missing-profile recovery without demanding that the app-server initialize first. Expect manual proposal targets in the agent-owned workshop-skills directory so the proof reaches stale-state persistence and apply rejection. Preserve all current logout, account, and thread lifecycle fixture behavior. Related: #141974
|
🦞👀 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 8, 2026, 11:41 AM ET / 15:41 UTC. ClawSweeper reviewWhat this changesUpdates QA fixtures and assertions to exercise explicit model discovery, credential-removal recovery, and agent-owned Workshop skill targets. Merge readiness✅ Ready for maintainer review Keep open: these focused QA corrections remain absent from fetched main and preserve meaningful recovery and stale-proposal coverage. No introduced correctness defect was found; the maintainer-protected PR is not eligible for cleanup closure. Priority: P2 Review scores
Verification
How this fits togetherThese QA tests drive OpenClaw’s Gateway through model discovery, credential removal, and skill proposal operations. They check the resulting catalog, recovery messages, persisted proposal state, and outbound Codex requests. flowchart TD
A[Isolated QA setup] --> B[Gateway requests]
B --> C[Model discovery and credential owner]
C --> D[Fake Codex server]
C --> E[Recovery and request assertions]
B --> F[Agent Workshop owner]
F --> G[Stale proposal and apply rejection]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +28. Total +28 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep these proofs aligned with the existing catalog-publication and agent-ownership contracts while retaining terminal recovery, zero operational RPC, and stale-apply assertions. Do we have a high-confidence way to reproduce the issue? Yes, from source: fetched main expects a workspace Workshop target that contradicts the current owner and supplies no valid model-list response. The focused E2E cases were inspected but not run here. Is this the best way to solve the issue? Yes. Updating the existing fixture and assertions follows current runtime contracts without adding production seams, retries, or longer timeouts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against aafe0878fd73. 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.
|
* commit '04869ae4899ad0524c3287759798362b0d62fef8': (677 commits) fix(release): pin Kova census refresh (#142104) fix: doctor read-only database inspections time out on large agent databases (#142179) docs: align v2026.9.3 framing with release announcement (#142307) fix(ui): discover models when default-model pickers open (#142105) fix(ci): keep Docker upgrade seed baseline older than target (#142273) refactor(tests): reuse named OAuth credential fixtures (#142272) fix(ci): keep mobile release helpers out of source checks (#142115) chore(ui): refresh control ui locales (#142147) fix(active-memory): explain why recall was skipped (#138658) fix(media): preserve converted images with HEIC filenames (#142263) docs: add v2026.9.3 release notes (#142277) fix(ui): retire picker focus listeners together (#142258) fix(ui): keep menu hover colors consistent across themes (#142243) fix(release): keep changelog credits within verified history (#142261) fix: keep tool-finalizer placeholders private in message-only groups (#138645) perf(tui): carry prepared URL membership through rendering (#142262) test(ui): await activity cache imports before teardown (#142282) fix(qa): align auth and Workshop proofs with runtime contracts (#142280) feat(xai): use one curated catalog and concrete setup default (#142136) refactor(outbound): reuse prepared sendability facts (#142252) ...
…law#142280) * fix(qa): align auth and Workshop proofs with current owners Backport the remaining release QA corrections without changing runtime code. Advertise the supported model through the fake app-server catalog and assert its Gateway visibility before revoking the selected credential. Reject every non-handshake RPC after missing-profile recovery without demanding that the app-server initialize first. Expect manual proposal targets in the agent-owned workshop-skills directory so the proof reaches stale-state persistence and apply rejection. Preserve all current logout, account, and thread lifecycle fixture behavior. Related: openclaw#141974 * fix(qa): refresh model discovery before catalog proof
Related: #141974
What Problem This Solves
Release QA still expects Workshop proposals beneath the session workspace and requires app-server initialization even when a missing selected credential is rejected earlier. Its fake app-server also returns an invalid empty object for model discovery. These stale assumptions keep the proofs from exercising the current ownership contracts reliably.
Why This Change Was Made
Carry the remaining QA corrections from release preparation: advertise the supported model and verify its catalog visibility through explicit refresh, require zero non-handshake RPCs after credential removal, and assert the agent-owned Workshop target before proving manual-install staleness and apply rejection. The logout path and current account/thread fixtures from main are preserved.
User Impact
No runtime behavior changes. Maintainers regain coverage of auth recovery and Workshop proposal ownership without prescribing when the app-server must initialize.
Evidence
models.listrefresh: truepublication boundary after a passive-read readiness failure; no polling or timeout increase.