Repository navigation
fix(ci): run PostgreSQL checks when its shard planner changes - #191963
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. What this changesUpdate PostgreSQL CI selection to watch the shard planner its runner currently imports. Example: A PR changes only scripts/lib/postgres-conformance-shards.mts.
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 This PR makes a focused, correct repair that current main still needs; no actionable introduced defects were found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherCI preflight reads changed paths, emits the PostgreSQL selection flag, and feeds the existing conformance jobs and aggregate gate. flowchart LR
A[Changed PR paths] --> B[CI manifest planner]
B --> C[PostgreSQL selection flag]
C --> D[Three conformance shards]
D --> E[Aggregate CI gate]
Technical reviewBest possible solution: Keep the existing selection owner and replace its obsolete planner dependency together with the existing behavioral fixture. Do we have a high-confidence way to reproduce the issue? Current-main source shows that a changed-path list containing only scripts/lib/postgres-conformance-shards.mts misses the PostgreSQL selection rules; the author additionally records a failing-base and passing-fix replay. Is this the best way to solve the issue? This is the smallest complete repair: the selection dependency must follow the runner's actual import, and both changed lines serve that invariant without adding machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against eee9925e84f3. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests 0, Other 0. Total 0 across 2 files. Added test files: 0. View PR surface stats
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 HistoryReview history (1 earlier review cycle)
Reviewed November 3, 2026, 7:16 PM ET / November 4, 2026, 00:16 UTC (Revision 2). |
|
@clawsweeper re-review Please review current head |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* commit 'b4ebd3673fea4932296b92bbc07b7abc4bdc792d': fix(ci): allow serial SDK API reports to finish (#192196) fix(ci): run PostgreSQL checks when its shard planner changes (#191963) fix(ci): model native Linux updater asset entry improve(test): speed up config and device binding browser tests (#192404) improve(ui): show arrivals top right with a contextual session status (#192016) improve(ui): mark error toasts and split two-sentence copy (#192015) fix(sandbox): give dependency builders a writable home (#192390) fix(worktrees): keep archive manifest checks off the main thread (#192358) fix(cron): preserve admitted runs and pacing across unrelated MCP reloads (#192399) improve(ui): stack toasts in a center lane and an arrivals lane (#192014) fix: reclaim abandoned read-only database snapshots (#192368) improve(ui): rebuild the toast on one component with variants and a hover dismiss (#192013) docs: consolidate team server and team setup into one Multiplayer page fix(ci): reconcile remaining unallocated test lines feat: run admitted MCP tools on the worker node that hosts them (#191387)
What Problem This Solves
Changes to the PostgreSQL shard planner do not select PostgreSQL conformance in PR CI.
User Impact
Planner-only changes now run the PostgreSQL checks they affect. Runtime behavior and database schemas are unchanged.
Why This Change Was Made
The runner switched to postgres-conformance-shards.mts, but CI still watched its former weighted-test-shards.mts dependency. Update the existing path rule and behavioral fixture together.
Evidence
cfb24daced03891b6202c968ad3159ea99416e3a, Blacksmith Testbox passed all 655 tests in the workflow-planning file, script and root-tooling test type checks, lint, and formatting.Regression replay
On the unpatched frozen base, the new shard-planner path selected
run_postgres_conformance=falseand failed the expectedtrueassertion. It passes at this PR head. Replayed with test-only overlays and unchanged production on the recorded base through Blacksmith Testbox.Landing refresh — 2026-11-04
Current head:
09de4643d7fc769d4061eae02399db68ae2f2088. Integrated frozen maind27139b2b220327d6f65b659c6fba0b0110fad97; independent integration review found no new source defect. Earlier exact-head evidence above remains explicitly attributed and is reused only for unchanged inputs. Maintainer landing is now authorized; GitHub checks and native landing guards remain enforced.Combined Track A candidate tree
6059134c361ed8602271261ddb940c9b9d1b413e: 1,183 tests passed, 12 intentional skips across tooling, sessions, plugin workers and Matrix. The repository transaction-boundary guard passed. Test-line total and ceiling both equal 6,447,876; allocations credit only each change’s literal added test lines. Real PostgreSQL integration recheck is in progress and is not counted as passed here.No DDL, schema-version/fingerprint, persisted representation, retention/durability, identity, or recovery-authority changes are introduced by this PR. This is scoped functional proof, not a global PostgreSQL or performance qualification.