Repository navigation
fix(ci): keep isolated Gateway tests out of methods inventory - #199304
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@clawsweeper review Please review the one-line inventory correction at |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR filters plugin tests through the canonical Gateway methods exclusions when constructing the CI inventory. Example: CI plans test/plugins/deep-research-recovery.gateway.test.ts.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep open: this PR makes the smallest complete correction to the Gateway methods inventory while preserving isolated research recovery coverage; no actionable patch defects were found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe CI inventory maps canonical test ownership into planner file selections, which are executed through the corresponding Vitest configs. flowchart LR
A[Canonical Gateway paths] --> B[Methods inventory]
A --> C[Isolated server inventory]
B --> D[CI planner]
C --> D
D --> E[Vitest configs]
E --> F[Test execution]
Technical reviewBest possible solution: Use the canonical methods exclusion list in the existing plugin filter and retain the isolated server owner unchanged. Do we have a high-confidence way to reproduce the issue? Source inspection establishes the extra methods entry and the existing full-inventory assertion that detects it; the supplied baseline reports 591 planned versus 590 executable entries, but no tests were run during this read-only review. Is this the best way to solve the issue? The one-line change fixes the inventory producer using its existing canonical owner, preserves the intentional isolation boundary, and needs no additional machinery or tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 67ecf6bf352d. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceOther 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 14, 2026, 6:08 PM ET / 23:08 UTC. |
|
Merged via squash.
|
What Problem This Solves
Fixes inherited main CI failures in “gates Gateway method workers without changing complete coverage”: the planner selects 591 entries while the executable Gateway methods configs select 590.
Why
Commit
55b5905ff83aed24f81dee5657e1ed39ac261b2bmovedtest/plugins/deep-research-recovery.gateway.test.tsfrom database workers into isolated Gateway server tests. It updated the executable methods exclusions, but the planner's plugin filter still excluded only database workers. The recovery file became an extra, non-executable methods entry while retaining its legitimate isolated owner.Use the existing canonical
gatewayMethodsTestExcludein that filter. The methods inventory now exactly matches its executable configs, and recovery remains once under the isolated server owner. Existing coverage and worker assertions are unchanged. This is the same one-line correction already included in pending #198943; this focused repair excludes that PR's separate test consolidation.User Impact
No product behavior changes. Complete test coverage and the research test's required process isolation remain intact. No new cache, configuration, schema, runner, timeout or test skip. CI tooling +1/−1; product and test LOC delta zero.
The separately reported Activity failures are already repaired on current main. #199157 (
a4fb1430366739903cdd037516b927e846b64a06) intentionally removed Activity image galleries but left remote-image E2E assertions behind. #199168 (a806af1be280ea36b593eee9ccaf9f8002371e00) removed those obsolete cases/fixtures while retaining desktop/mobile recap and pull-request-preview checks. Both retained cases pass on this PR's main parent; no additional UI change is justified. The Usage removals in #199161 and #199170 are unrelated.Evidence
Pinned main parent:
7f7b16cdc243309cc9d78e3aa2c961b68739ff6c.pnpm test test/scripts/ci-node-test-plan.test.ts: baseline 159 passed / 2 failed with exactly the reported 591-versus-590 mismatch; fixed 161/161 passed. Existing failing regression assertions are untouched. Wall time 104.47s before / 98.69s after; no speedup claim.node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/activity-polish.e2e.test.ts: current main 2/2 passed at 1440 and 390 px (21.31s wall).git diff --checkand the required tooling-test typecheck pass. The changed-check outcome is recorded below.A/A/B cold inventory measurements over the 65,076-file source checkout: wall 1217.1/1215.8/1169.5 ms, process CPU 1100.8/1079.1/1044.6 ms, V8 sampled allocations 240.5/237.1/243.3 MB. These are diagnostic samples, not a performance benefit claim. This CI owner reads source-test inventory; runtime database/workspace benchmarks do not exercise the changed path.
node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.test.root.tooling.json --incrementalpasses.pnpm check:changedcompleted with all selected gates passing except the full-tree unused-export scan:scrollRemainderinui/src/e2e/activity-assertions.test-support.tsandcreateActivityGatewayStubinui/src/pages/activity/activity-page.test-support.ts. #199168 removes both final external consumers; the second helper retains a same-file caller. These are additional main regressions, not planner failures or dismissed noise. The exact-parent reproduction is recorded below.Exact-parent attribution is now verified: with the sole planner change temporarily reversed, clean main
7f7b16cdc243309cc9d78e3aa2c961b68739ff6cfails the same full-tree Knip command on exactly those two exports. #199168's parent has both external consumers; its diff removes them. The identical reviewed planner patch was restored afterward. This separate regression is recorded for follow-up; no check is represented as green.Final-head CI run 43651375339 passed on its original ready-PR attempt: 35 successful jobs, no failures, including all ten selected Node shards. ClawSweeper final review covers
4d2dfa4d15163bd11473677437bf42c1a0b605d8: no findings, no before-merge items, zero open checkboxes. Native preparation retained the reviewed head without rebasing or another push. Ordinary landing; no admin CI exception needed. The local full-tree export failure above remains explicitly recorded and is not covered by a selected hosted dead-export job.