Repository navigation
test(agents): use neutral tool schema fixtures - #88491
vincentkoc wants to merge 1 commit into
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open: the useful neutral-fixture cleanup is already on current main and shipped via #88848, but this PR is maintainer-authored and has the protected Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Close this PR as superseded by #88848. So I’m closing this here and keeping the remaining discussion on #88848. Review detailsBest possible solution: Close this PR as superseded by #88848. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a test-only cleanup PR rather than a product bug report. The relevant check is source review of the fixture rename, current-main/release state, and the PR body’s targeted validation evidence. Is this the best way to solve the issue? Yes for the original cleanup, but current main and Security review: Security review cleared: The diff is test-only and does not change dependencies, workflows, package metadata, secrets handling, or production execution paths. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 6370f2023a03; fix evidence: release v2026.6.8, commit 91ca03671731. |
a5f928f to
f347075
Compare
f347075 to
12723ee
Compare
|
Closing as superseded by merged #88848 ( #88848 landed the neutral tool-schema fixtures across these same agent, protocol, doctor, and flow tests. This earlier branch no longer provides unique behavior or coverage. A specific provider-bound fixture still present on current |
Summary
fuzzplugin/mockpluginnames in tests and expected diagnosticsLanding note
This is hygiene, not the runtime fix. It can land before the schema-hardening PRs because it avoids their runtime-quarantine test files, but it should not block the critical behavior fixes if GitHub flakes again.
Verification
origin/maine1a9817 into head f347075, reducing the PR from +123/-127 across 14 files to +114/-118 across 11 filesgit merge-tree --write-treenode scripts/run-vitest.mjs extensions/codex/src/app-server/dynamic-tools.test.ts packages/gateway-protocol/src/schema/agents-models-skills.test.ts src/agents/agent-bundle-mcp-runtime.test.ts src/agents/agent-bundle-mcp-tools.materialize.test.ts src/agents/tools-effective-inventory.test.ts src/commands/doctor/repair-sequencing.test.ts src/commands/doctor/shared/active-tool-schema-warnings.test.ts src/commands/doctor/shared/preview-warnings.test.ts src/flows/doctor-core-checks.runtime.test.ts src/flows/doctor-core-checks.test.ts src/flows/doctor-health-contributions.test.ts: 6 routed shards, 197 tests passednode scripts/run-vitest.mjs src/agents/agent-bundle-mcp-runtime.test.ts: 27 tests passednode_modules/.bin/oxfmt --check src/agents/agent-bundle-mcp-runtime.test.tsnode scripts/run-oxlint.mjs src/agents/agent-bundle-mcp-runtime.test.tsgit diff --checkplus touched-file scrub for reported fixture names, private local paths, and install-error output: clean.agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main: clean, no accepted/actionable findingspnpm check:changed: passed on runrun_f749e4297816, leasecbx_812307f4af8c/silver-lobster(provider=aws, command 9m50s, total 12m27s)Real behavior proof
Behavior addressed: test fixtures no longer preserve report-specific plugin/tool names in reusable runtime-schema diagnostics.
Real environment tested: linked OpenClaw
gwtworktree based on currentorigin/maine1a9817, plus AWS Crabbox Linux proof for the changed gate on head f347075.Exact steps or command run after this patch: rebuilt the PR as a reduced single commit, ran targeted fixture tests, formatter check, targeted lint check, diff check, scrub, autoreview, synthetic sequential merge proof, AWS Crabbox
pnpm check:changed, and watched GitHub CI to green.Evidence after fix: touched tests and expected diagnostics use neutral synthetic names, and the first-wave PR sequence no longer conflicts on runtime-quarantine test files.
Observed result after fix: the scrub PR stays test-only, avoids the overlapping runtime-quarantine files, and its MCP runtime log assertion no longer races CI log flushing.
What was not tested: no product runtime behavior; this is intentionally tests-only fixture cleanup.
Refresh 2026-05-31T10:47Z
Rebased onto current
origin/mainand pushed head12723ee25f2e. Verification:node scripts/run-vitest.mjs extensions/codex/src/app-server/dynamic-tools.test.ts packages/gateway-protocol/src/schema/agents-models-skills.test.ts src/agents/agent-bundle-mcp-runtime.test.ts src/agents/agent-bundle-mcp-tools.materialize.test.ts src/agents/tools-effective-inventory.test.ts src/commands/doctor/repair-sequencing.test.ts src/commands/doctor/shared/active-tool-schema-warnings.test.ts src/commands/doctor/shared/preview-warnings.test.ts src/flows/doctor-core-checks.runtime.test.ts src/flows/doctor-core-checks.test.ts src/flows/doctor-health-contributions.test.tspassed 6 shards in 32.35s;node_modules/.bin/oxfmt --check ...passed;git diff --checkand added-line scrub for reported fixture names/private paths/secrets passed.Refresh 2026-05-31T11:45Z
Live GitHub state on head
12723ee25f2e: mergeable,mergeStateStatus=CLEAN, active checks 0, actionable failed checks 0.Current non-mutating stack proof against
origin/mainfde87f475f7: this PR merges cleanly first, then #88368, #88410, and #88351 merge cleanly after it. Landing recommendation remains: land this neutral fixture cleanup first.