Repository navigation
ci: shard weekly PostgreSQL qualification - #178223
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 SummaryThis 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. |
55fbb72 to
1ace3f2
Compare
|
Codex review: needs maintainer review before merge. What this changesSplits weekly PostgreSQL 16 and 18 qualification into three shards per version, with at most three jobs running concurrently. Example: Weekly PostgreSQL 16 and 18 qualification on main
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR makes a useful, focused CI improvement that main does not yet contain; no actionable correctness or security defect was found, and exact-head CI is green. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherGitHub Actions admits scheduled or manual main-branch qualification, starts disposable PostgreSQL containers through the shared action, passes shard arguments to the existing conformance runner, and reports job results. flowchart TD
A[Weekly or manual trigger] --> B[Main branch admission]
B --> C[Six version and shard jobs]
C --> D[Three concurrent hosted runners]
D --> E[Shared PostgreSQL action]
E --> F[Weighted conformance runner]
F --> G[Results and container cleanup]
Technical reviewBest possible solution: Reuse the existing three-shard conformance path for both weekly PostgreSQL versions with bounded hosted concurrency. Do we have a high-confidence way to reproduce the issue? This is CI maintenance rather than a runtime bug; the predecessor's completed qualification run independently confirms the long unsharded PostgreSQL 16 job. Is this the best way to solve the issue? The diff is the smallest complete workflow change: preserve complete inventory through the existing allocator, reuse the shared action, and update its existing guard and documentation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ce3f47b60a55. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +9, Docs +1, Config +3. Total +13 across 3 files. Added test files: 0. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 October 20, 2026, 3:40 AM ET / 07:40 UTC. |
|
Merged via squash.
|
What Problem This Solves
The first weekly qualification took 45m 15s on PostgreSQL 16, leaving too little headroom under its 60-minute job limit. Related: #178034.
User Impact
PostgreSQL 16 and 18 retain full weekly/manual conformance coverage with smaller jobs and bounded runner concurrency. PR CI remains unchanged.
Why This Change Was Made
The weekly workflow expands to six version × shard jobs, using the same three shard arguments, committed timing weights, shared action, and 30-minute job budget as PostgreSQL 17 PR CI. At most three jobs run at once. The image digests, main-only admission, schedule, failure behavior, and
max_locks_per_transaction=512remain unchanged. No scheduler or conformance-test changes.Evidence
1ace3f2d78fb5ae6b1a0f4efd5be632422ad480dpassed 569 tests, but had five test timeouts and two setup-hook timeouts across six infrastructure files (738.55 seconds). It stopped after the infrastructure group. These are not claimed as passes or fixed failures. The six affected files passed on clean main (36 tests, 261.86 seconds). A second full local attempt passed 573 tests but had a missing-unaccent SQL statement timeout and a memory cleanup-hook timeout. Full clean-main conformance then passed 959 tests with 37 expected skips across all eight groups in 618.40 seconds. No conformance tests, runtime policy, assertions, or timeouts were changed; these local timing failures remain recorded, not claimed fixed.2e750ba704a3026d396181ff157135162162f12c, attempt 1, without reruns. Whole-job durations (setup included; queue time excluded): pg16 shard 1/3 15m 05s, 2/3 24m 25s, 3/3 16m 00s; pg18 shard 1/3 14m 48s, 2/3 15m 13s, 3/3 16m 07s. Every shard finished under 25 minutes; the longest leaves 5m 35s under the 30-minute job limit.