Repository navigation
improve(qa): verify plugin tool ownership in gateway flow - #118958
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 5:03 PM ET / 21:03 UTC. ClawSweeper reviewWhat this changesThe PR makes the Tool Search gateway QA scenario prove that its selected fixture tool is reported as Merge readinessNo correctness finding: this focused QA-only patch queries the session-scoped effective-tool inventory after each real gateway lane and rejects any result that loses the fixture plugin attribution. Keep this maintainer-authored, Priority: P3 Review scores
Verification
How this fits togetherQA Lab stages an external fixture plugin, drives gateway response sessions in direct and Tool Search modes, and records regression evidence. The gateway’s flowchart LR
A[Fixture plugin catalog] --> B[Gateway response session]
B --> C[Direct or Tool Search lane]
C --> D[Session effective-tools inventory]
D --> E[Plugin ownership assertion]
E --> F[QA scenario evidence]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +46, Tests +59, Other +3. Total +108 across 3 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the ownership proof at the session-scoped Do we have a high-confidence way to reproduce the issue? Not applicable: this PR strengthens regression evidence for an existing QA scenario rather than reporting a user-facing failure. The supplied scenario and focused fixture test give a concrete validation path for the changed behavior. Is this the best way to solve the issue? Yes: the patch checks ownership through the gateway’s session-scoped effective-tool inventory, the authoritative boundary for AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 76cc60a452dc. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
ClawSweeper Rank-up move disposition:
No review-driven code change is needed. |
* origin/main: test(ui): add shell and PWA primary QA proof (#118788) test(qa): cover CLI distribution workflows (#118948) chore(i18n): refresh native locales (#118883) test(qa): prove plugin tool ownership in gateway flow (#118958) docs: correct onboarding risk flags and Google Chat credential shapes (#118936) fix(imessage): honor explicitly enabled accounts during startup (#118944) test(gateway): cover client transport defaults (#118798) fix(signal): normalize accounts during noninteractive setup (#118932) fix(msteams): enable channels for federated environment credentials (#118931) fix(openai): enforce final transcript bounds before callback delivery (#118928) test(tasks): cover plugin-managed flows (#118919) # Conflicts: # qa/scenarios/runtime/docker-package-install.yaml
…-worker-update-20260803 * origin/main: (48 commits) test(ui): add shell and PWA primary QA proof (#118788) test(qa): cover CLI distribution workflows (#118948) chore(i18n): refresh native locales (#118883) test(qa): prove plugin tool ownership in gateway flow (#118958) docs: correct onboarding risk flags and Google Chat credential shapes (#118936) fix(imessage): honor explicitly enabled accounts during startup (#118944) test(gateway): cover client transport defaults (#118798) fix(signal): normalize accounts during noninteractive setup (#118932) fix(msteams): enable channels for federated environment credentials (#118931) fix(openai): enforce final transcript bounds before callback delivery (#118928) test(tasks): cover plugin-managed flows (#118919) test(agents): prove process control roundtrip (#118843) test(qa): add memory redaction boundary coverage (#118916) fix(kilocode): model discovery overstates the usable context window (#118868) fix(media): isolate generated-provider text from delivery directives (#118780) test(gateway): add node control-plane QA coverage (#118784) fix(config): reject unsupported diagnostics otel grpc (#93087) fix(providers): recognize configured media credentials across provider boundaries (#118761) refactor: delete dead post-landing plugin/hooks scaffolding (#118920) fix(cron): deliver child results after heartbeat-only parent responses (#118743) ...
What Problem This Solves
The QA portfolio classified
plugins.plugin-toolsonly as secondary coverage, even though the existing Tool Search gateway scenario exercises a staged external plugin with a large tool catalog.Why This Change Was Made
The scenario now reads the real
tools.effectiveinventory after both direct and compact Tool Search lanes and requires the selected tool to be attributed tosource=pluginandpluginId=tool-search-e2e-fixture. With that ownership proof in the artifact, the scenario becomes the primary owner forplugins.plugin-tools.The change is confined to QA Lab fixture code, its focused tests, and scenario metadata. Production LOC delta is zero.
User Impact
No runtime behavior changes. Maintainers get stronger regression evidence that plugin-owned tools remain correctly attributed through both gateway execution modes.
Evidence
node scripts/run-vitest.mjs extensions/qa-lab/src/tool-search-gateway.fixture.test.ts- 19 tests passed.tbx_01kz4me39bmfj9zmvjb047tdc1.tool-search-gateway-e2escenario - passed 1/1 with mock OpenAI and qa-channel.qa-evidence.jsonrecordsplugins.plugin-toolsas primary.source=plugin,pluginId=tool-search-e2e-fixture.pnpm check:changed- passed in 14m22s, including project typecheck, all lint shards, and import-cycle checks.