Repository navigation
test(plugins): align Copilot auth-choice registry expectations - #148981
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, 5:57 AM ET / 09:57 UTC. ClawSweeper reviewWhat this changesUpdates the Copilot registry test to expect the credential-only and chat-login metadata already declared by the plugin. Merge readiness✅ Ready for maintainer review Keep open: this is a correct, focused repair for an assertion that remains stale on current main. No actionable patch defects were found, and the member-authored, protected PR is not eligible for cleanup closure. Priority: P3 Review scores
Verification
How this fits togetherPlugin manifests describe sign-in capabilities before provider runtime loads. The manifest registry normalizes and exposes those declarations to setup consumers, while this contract test checks the resulting Copilot metadata. flowchart LR
A[Copilot manifest] --> B[Metadata normalization]
B --> C[Plugin manifest registry]
C --> D[Setup sign-in choices]
C --> E[Registry contract assertion]
F[Expected Copilot metadata] --> E
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +3. Total +3 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the existing manifest contract and assert its complete normalized Copilot metadata without weakening equality. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main compares complete Copilot metadata against objects missing three properties preserved by normalization. Supplied CI reports corroborate the mismatch; this read-only review did not execute tests. Is this the best way to solve the issue? Yes. Updating the existing expected objects matches the authoritative manifest and preserves all prior checks without changing production behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5594775538a3. 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.
|
|
Additional proof for reviewed head
These are pre-merge test receipts for the reviewed head. |
|
Heads-up: this merge left
Removing the duplicated lines clears it. I'd open the one-line fix myself, but I'm at the repo's 20-open-PR limit, so flagging it here instead — it currently makes unrelated PRs look red. |
* commit '1226eecf4ff909de172a6837422cfa64723fade8': (39 commits) test: align model auth and setup fixtures with current behavior (#149023) refactor: reuse web search request context (#148949) fix(ci): remove duplicate Copilot auth metadata (#149016) test(agents): align auth fixtures with runtime store reads (#149004) improve: reduce data fetched during reminder maintenance (#148996) fix(cron): skip availability checks when session pruning is idle (#148920) fix(auth): guard GitHub Copilot device flow authority (#148999) fix(agents): prevent early recovery aborts of foreground exec (#148959) fix(github-copilot): remove retired Raptor mini (#116505) improve(feishu): reduce preparation work for documents with tables (#148997) improve: reduce database work when recording participants (#148841) test: accept Bun error labels in plugin assertions (#148955) fix(models): clarify saved account health and catalog status (#148987) test(plugins): align Copilot auth-choice registry expectations (#148981) fix(channels): reject blank integer channel add options (#145534) fix(ui): preserve archive undo after chat navigation (#148831) feat: show cited source previews in macOS and iOS chat (#148906) fix: avoid redundant tab updates while chats stream (#148865) test(qa): run Discord through Crabline (#116446) perf(crabbox): prepare project runtimes during worker download (#148952) ...
(cherry picked from commit 2b8c9f1)
* commit '84114b5a2711764e2ca333e327e808fd88316063': (40 commits) improve(sessions): reuse compiled transcript metadata queries (#148773) fix(ci): repair Copilot contracts and config failure diagnostics (#149001) test: align model auth and setup fixtures with current behavior (#149023) refactor: reuse web search request context (#148949) fix(ci): remove duplicate Copilot auth metadata (#149016) test(agents): align auth fixtures with runtime store reads (#149004) improve: reduce data fetched during reminder maintenance (#148996) fix(cron): skip availability checks when session pruning is idle (#148920) fix(auth): guard GitHub Copilot device flow authority (#148999) fix(agents): prevent early recovery aborts of foreground exec (#148959) fix(github-copilot): remove retired Raptor mini (#116505) improve(feishu): reduce preparation work for documents with tables (#148997) improve: reduce database work when recording participants (#148841) test: accept Bun error labels in plugin assertions (#148955) fix(models): clarify saved account health and catalog status (#148987) test(plugins): align Copilot auth-choice registry expectations (#148981) fix(channels): reject blank integer channel add options (#145534) fix(ui): preserve archive undo after chat navigation (#148831) feat: show cited source previews in macOS and iOS chat (#148906) fix: avoid redundant tab updates while chats stream (#148865) ...
) * feat(qa): retain invocation evidence and explicit proof ownership * test(qa): require evidence in maturity attestation guard * refactor(qa): document evidence assertion invariants * fix(qa): preserve typed scenario grouping and nested evidence * test(qa): use canonical direct conversation fixture * refactor(qa): keep internal evidence definitions private * refactor(qa): split evidence validation and command planning * test(qa): remove unused planning mock import * refactor(qa): preserve matrix evidence with explicit copying * fix(qa): preserve invocation ownership across retained child evidence * fix(qa): preserve immutable publication and artifact bases * fix(qa): preserve continuation artifacts and selected outcomes * fix(qa): retry observed outcomes while retaining selected evidence * fix(qa): frame source evidence and preserve artifact test boundaries * fix(qa): separate diagnostics from scenario proof * fix(qa): evaluate rowless retry proof by selection * fix(qa): retain unresolved maturity evidence * fix(qa): preserve child coverage and repeated Docker lanes * refactor(qa): keep evidence schemas independent of consumers * test(qa): isolate matrix interruption from the test runner * test(qa): pass the signal name to the interruption listener * test(plugins): align Copilot auth-choice registry expectations (#148981) (cherry picked from commit 2b8c9f1)
…claw#147756) * feat(qa): retain invocation evidence and explicit proof ownership * test(qa): require evidence in maturity attestation guard * refactor(qa): document evidence assertion invariants * fix(qa): preserve typed scenario grouping and nested evidence * test(qa): use canonical direct conversation fixture * refactor(qa): keep internal evidence definitions private * refactor(qa): split evidence validation and command planning * test(qa): remove unused planning mock import * refactor(qa): preserve matrix evidence with explicit copying * fix(qa): preserve invocation ownership across retained child evidence * fix(qa): preserve immutable publication and artifact bases * fix(qa): preserve continuation artifacts and selected outcomes * fix(qa): retry observed outcomes while retaining selected evidence * fix(qa): frame source evidence and preserve artifact test boundaries * fix(qa): separate diagnostics from scenario proof * fix(qa): evaluate rowless retry proof by selection * fix(qa): retain unresolved maturity evidence * fix(qa): preserve child coverage and repeated Docker lanes * refactor(qa): keep evidence schemas independent of consumers * test(qa): isolate matrix interruption from the test runner * test(qa): pass the signal name to the interruption listener * test(plugins): align Copilot auth-choice registry expectations (openclaw#148981) (cherry picked from commit 2a19a12)
* refactor(agents): centralize tool description exclusions * Merge main into refactor/tool-description-exclusions-20260915 * commit '84114b5a2711764e2ca333e327e808fd88316063': (40 commits) improve(sessions): reuse compiled transcript metadata queries (#148773) fix(ci): repair Copilot contracts and config failure diagnostics (#149001) test: align model auth and setup fixtures with current behavior (#149023) refactor: reuse web search request context (#148949) fix(ci): remove duplicate Copilot auth metadata (#149016) test(agents): align auth fixtures with runtime store reads (#149004) improve: reduce data fetched during reminder maintenance (#148996) fix(cron): skip availability checks when session pruning is idle (#148920) fix(auth): guard GitHub Copilot device flow authority (#148999) fix(agents): prevent early recovery aborts of foreground exec (#148959) fix(github-copilot): remove retired Raptor mini (#116505) improve(feishu): reduce preparation work for documents with tables (#148997) improve: reduce database work when recording participants (#148841) test: accept Bun error labels in plugin assertions (#148955) fix(models): clarify saved account health and catalog status (#148987) test(plugins): align Copilot auth-choice registry expectations (#148981) fix(channels): reject blank integer channel add options (#145534) fix(ui): preserve archive undo after chat navigation (#148831) feat: show cited source previews in macOS and iOS chat (#148906) fix: avoid redundant tab updates while chats stream (#148865) ... * refactor(agents): consolidate tool description exclusions * chore: merge main for tool summary validation * commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (1903 commits) refactor(matrix): reuse startup verification account key (#157310) perf(config): avoid repeated environment scans during publication (#156457) chore(i18n): refresh native locales (#157495) fix(update): show quiet step progress and date recorded outcomes (#153407) feat(gateway): preserve browser sign-in requirements before connecting (#157454) test(scripts): await CLI admission fixture lifetimes (#157424) fix(ci): preserve consumer selection across core type stripes (#157373) fix(wizard): preserve typed plugin enum values (#127577) (#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (#157458) test: prebuild run-node signal fixture (#157478) refactor(exec): reuse approval policy rule keys (#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (#157365) fix(config): apply Gateway writes without waiting for file events (#157372) fix: count recorded nested tool operations once (#157438) fix(telegram): stop leaking raw file:// markdown links in messages (#137810) refactor(claws): share resource capability changes (#154680) improve(channels): reduce redundant preparation for button messages (#157050) fix(build): package preparation fails on unrelated test types (#157318) refactor(claws): share bounded document reading (#157436) ... Co-authored-by: Vincent Koc <[email protected]>
…8966) * refactor(agents): centralize tool description exclusions * Merge main into refactor/tool-description-exclusions-20260915 * commit '4a994031abb1b54d51b76755a55ac8f6e918162d': (40 commits) improve(sessions): reuse compiled transcript metadata queries (openclaw#148773) fix(ci): repair Copilot contracts and config failure diagnostics (openclaw#149001) test: align model auth and setup fixtures with current behavior (openclaw#149023) refactor: reuse web search request context (openclaw#148949) fix(ci): remove duplicate Copilot auth metadata (openclaw#149016) test(agents): align auth fixtures with runtime store reads (openclaw#149004) improve: reduce data fetched during reminder maintenance (openclaw#148996) fix(cron): skip availability checks when session pruning is idle (openclaw#148920) fix(auth): guard GitHub Copilot device flow authority (openclaw#148999) fix(agents): prevent early recovery aborts of foreground exec (openclaw#148959) fix(github-copilot): remove retired Raptor mini (openclaw#116505) improve(feishu): reduce preparation work for documents with tables (openclaw#148997) improve: reduce database work when recording participants (openclaw#148841) test: accept Bun error labels in plugin assertions (openclaw#148955) fix(models): clarify saved account health and catalog status (openclaw#148987) test(plugins): align Copilot auth-choice registry expectations (openclaw#148981) fix(channels): reject blank integer channel add options (openclaw#145534) fix(ui): preserve archive undo after chat navigation (openclaw#148831) feat: show cited source previews in macOS and iOS chat (openclaw#148906) fix: avoid redundant tab updates while chats stream (openclaw#148865) ... * refactor(agents): consolidate tool description exclusions * chore: merge main for tool summary validation * commit 'e0f58a77476acbe382bff5e55cd520e9d228d478': (1903 commits) refactor(matrix): reuse startup verification account key (openclaw#157310) perf(config): avoid repeated environment scans during publication (openclaw#156457) chore(i18n): refresh native locales (openclaw#157495) fix(update): show quiet step progress and date recorded outcomes (openclaw#153407) feat(gateway): preserve browser sign-in requirements before connecting (openclaw#157454) test(scripts): await CLI admission fixture lifetimes (openclaw#157424) fix(ci): preserve consumer selection across core type stripes (openclaw#157373) fix(wizard): preserve typed plugin enum values (openclaw#127577) (openclaw#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (openclaw#157458) test: prebuild run-node signal fixture (openclaw#157478) refactor(exec): reuse approval policy rule keys (openclaw#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (openclaw#157365) fix(config): apply Gateway writes without waiting for file events (openclaw#157372) fix: count recorded nested tool operations once (openclaw#157438) fix(telegram): stop leaking raw file:// markdown links in messages (openclaw#137810) refactor(claws): share resource capability changes (openclaw#154680) improve(channels): reduce redundant preparation for button messages (openclaw#157050) fix(build): package preparation fails on unrelated test types (openclaw#157318) refactor(claws): share bounded document reading (openclaw#157436) ... Co-authored-by: Vincent Koc <[email protected]>
What Problem This Solves
The strict Copilot registry assertion still expects the manifest shape from before the shared account-connection change. The manifest now declares
credentialOnly: trueon both choices andchannelLogin: {}on the device choice.User Impact
No runtime behavior change. This updates the test to assert the existing manifest metadata without weakening equality or dropping any prior expectation.
Why This Change Was Made
The manifest normalizer preserves these fields, and the registry forwards them unchanged. Adding the three missing expected fields keeps the contract test aligned with its producer. Production delta is zero; tests add three lines.
Evidence
oxfmt 0.66.0,git diff --check, and isolated autoreview through P2 passed with no findings.ffacb4f5071af62e97e0f34ebab315857573e537, including the plugin contract lane and required checks. Dependency Guard passed on attempt 2 after a GitHub HTTP 500 in attempt 1. A fresh independent review through P2 found no actionable issues.