Repository navigation
fix(ci): cover core-driven extension impact in PR fallback - #124579
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 16, 2026, 9:04 AM ET / 13:04 UTC. ClawSweeper reviewWhat this changesThe PR makes the pull-request CI fallback schedule all extension test configurations when core changes can affect extension consumers, while preserving scoped extension-only plans. Merge readinessKeep open: the prior P1 blocker remains on the unchanged head, so an edit to the extension inventory can still bypass all-extension fallback coverage. Priority: P2 Review scores
Verification
How this fits togetherThe changed-test planner turns pull-request paths into bounded CI test shards. When precise planning cannot prove coverage, its fallback must add extension configurations whose tests may be affected. flowchart LR
A[Pull request paths] --> B[Changed-test planner]
B --> C{Core extension impact}
C -->|No| D[Scoped extension configs]
C -->|Yes| E[All extension configs]
D --> F[Bounded CI shards]
E --> F
F --> G[Pull request CI]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +54, Other +29. Total +83 across 2 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Make the canonical core-impact predicate cover the complete direct fallback-input surface, at minimum the extension inventory, and add a regression that proves an inventory-only change selects all extension configurations. Do we have a high-confidence way to reproduce the issue? Yes—source establishes the path: an inventory-only change is classified as tooling, can receive a precise planner-test target, and therefore never reaches the fallback branch that schedules extension configs. Is this the best way to solve the issue? No—the shared predicate is the right owner, but its explicit gate surface omits a direct dependency that determines the fallback roots. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1787fd6e0add. LabelsLabel 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
HistoryReview history (1 earlier review cycle)
|
|
Applied ClawSweeper's Rank-up move in 374dab8: the extension inventory owner now self-gates the all-extension fallback, with a focused inventory-only regression. Proof: 38/38 focused planner tests, targeted oxlint/oxfmt, |
|
Merged via squash.
|
…124579) * fix(ci): cover core-driven extension impact in the PR fallback plan Fixes openclaw#124412 * fix(ci): self-gate extension inventory changes
Fixes #124412
What Problem This Solves
Fixes an issue where pull requests with core changes that can affect plugin tests could pass the changed-test planner without scheduling the affected plugin configurations. PR #118579 demonstrated the gap: its 89-file diff triggered the precise-plan fail-safe, but PR fallback coverage included only configurations for directly changed plugins and omitted Codex.
Maintainer sampling found the core-to-plugin impact predicate fires on only 2 of 25 recent
origin/mainfirst-parent merges, and it also fires on #118579 itself, so this broader coverage remains concentrated on the PRs that need it.Why This Change Was Made
The planner now gives the existing core-impact predicate one named owner and reuses it for both precise-plan fallback and plugin fallback expansion. When it fires, fallback planning routes every canonical plugin root through the existing configuration resolver and preserves the existing config grouping, naming, and process bounds. Direct plugin-only changes retain their current scoped behavior, and docs-only changes still schedule nothing.
The fallback planner, extension inventory owner, and chunk-policy owner self-select the gated lane, matching the existing QA and prompt-snapshot gate precedent.
ci.ymlis intentionally unchanged because it already appends the fallback shards returned by this planner. PR #124553 (merged437a4a4b49) already bounded the Codex lane that these shards exercise.User Impact
No end-user behavior changes. Pull requests whose core changes can affect plugin consumers now receive the missing plugin regression coverage before merge.
Evidence
node scripts/run-vitest.mjs test/scripts/ci-changed-node-test-plan.test.ts— 38/38 passed.git diff-tree 8668aeb9698): 89 files, core impacttrue, 54 bounded shards, 26 configs, Codex present in 5 shards.NODE_FAST_CI_ROUTING_SCOPE_RE; this PR's exact-head CI ran the extended planner suites through the greenchecks-fast-ci-routinglane.CI=1 node scripts/check-changed.mjs— passed.--mode uncommitted) — clean, no accepted/actionable findings.