Repository navigation
test(qa): remove selected auth through gateway - #141974
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 8, 2026, 3:46 AM ET / 07:46 UTC. ClawSweeper reviewWhat this changesThe QA test now removes its selected credential through the Gateway logout API before checking missing-credential recovery. Merge readiness✅ Ready for maintainer review The focused test repair remains useful on current main, and no blocking defects were found. The exact-head E2E completion reported in the new maintainer comment resolves the previous review’s validation concern. Priority: P2 Review scores
Verification
How this fits togetherQA Lab exercises credential migration, Gateway chat execution, and the Codex integration using an app-server fixture. This scenario checks that removing a selected credential produces bounded recovery guidance without starting another model turn. flowchart LR
A[Selected test credential] --> B[Gateway logout request]
B --> C[Credential owner stores]
C --> D[Refresh runtime credentials]
D --> E[Chat with selected profile]
E --> F[Recovery message]
E --> G[No model turn]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +8. Total +8 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep missing-credential coverage anchored to the supported credential-removal lifecycle while preserving recovery and no-model-turn assertions. Do we have a high-confidence way to reproduce the issue? Yes, the focused E2E provides a concrete reproduction path, and current main still uses the obsolete offline mutation sequence; this review established the path from source without executing it. Is this the best way to solve the issue? Yes. Using the existing logout owner is the narrow repair and retains the test’s independent observable recovery assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8ac88a1a335a. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
ClawSweeper proof gap resolved on exact head I replaced the shared/stale dependency and dist trees with isolated worktree-owned builds, used the repository-required Node 24.16.0 runtime, and ran the exact product E2E:
Result: 1 file passed, 2/2 tests passed. The repaired mixed-profile path completed doctor-to-SQLite-to-Gateway-to-Codex-App-Server in 41.1s; the bounded missing-profile recovery control passed in 10.0s. Full private-QA build prerequisites also completed from the exact head. Hosted exact-head CI is green, including @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
* 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: #141974 * fix(qa): refresh model discovery before catalog proof
…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
Summary
models.authLogoutRoot cause
The maturity proof edited
auth-profiles.jsonoffline and then calledsecrets.reload. That did not mutate the running auth owner, so its healthy snapshot remained active and the supposedly missing-profile turn correctly completed. The test now uses the supported atomic persistence/publication boundary.Maturity failure addressed
auth-profile-codex-mixed-profilesTesting
pnpm format:check -- test/e2e/qa-lab/runtime/codex-auth-product-proof.e2e.test.tsgit diff --checkWorked on by