Repository navigation
ci: qualify PostgreSQL 16 and 18 weekly - #178034
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. |
2235954 to
aee0ba5
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aee0ba5578
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Codex review: needs maintainer review before merge. What this changesAdds sequential weekly PostgreSQL 16 and 18 conformance runs using an action shared with the existing PostgreSQL 17 CI shards. Example: Monday's scheduled PostgreSQL qualification
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR adds useful recurring coverage absent from main. The prior selection finding is fixed, and no remaining actionable defect was found; exact-head CI is still running. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherGitHub Actions selects database conformance work, starts disposable PostgreSQL containers, invokes the existing test runner, reports failures, and removes the containers. flowchart TD
A[PR path selection] --> B[Three PostgreSQL 17 shards]
C[Weekly or manual main run] --> D[Sequential PostgreSQL 16 and 18 jobs]
B --> E[Shared conformance action]
D --> E
E --> F[Existing database conformance runner]
F --> G[Job results and container cleanup]
Technical reviewBest possible solution: Retain the shared execution action and sequential weekly endpoint coverage while preserving the existing PostgreSQL 17 PR gate. Do we have a high-confidence way to reproduce the issue? This is CI maintenance rather than a reported runtime bug; source confirms that recurring coverage on fetched main exercises PostgreSQL 17. Is this the best way to solve the issue? The smallest complete change is a separate sequential endpoint workflow consuming the existing execution logic through one shared action, with that action included in PR selection. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 555c0182e4d0. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +39, Docs +7, Config +73, Other +1. Total +120 across 6 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 October 20, 2026, 1:44 AM ET / 05:44 UTC (Revision 2). |
aee0ba5 to
e99011c
Compare
|
Fixed the shared-action selection gap in 9a18e3a. An action-only change now selects the existing three pg17 shards. The added regression failed before the fix and all 33 PostgreSQL workflow guards pass afterward; focused lint, root typecheck, formatting, and independent review pass. The complete conformance run on e99011c passed 957 tests with 37 expected skips. This follow-up changes only CI selection and its guard; the current head is also selecting PostgreSQL conformance in CI. Endpoint dispatch remains the requested post-merge proof. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* ci: qualify PostgreSQL 16 and 18 weekly * test: follow immutable workflow key sorting convention * ci: select PostgreSQL conformance for shared action changes
What Problem This Solves
PostgreSQL 16–18 is supported, but recurring conformance currently covers only PostgreSQL 17. Related: #178005.
User Impact
The supported PostgreSQL endpoints receive weekly full conformance coverage without adding PR jobs or changing the three existing pg17 shards.
Why This Change Was Made
A shared composite action owns service startup, extension setup, conformance execution, and cleanup. Changes to that action select the existing PostgreSQL 17 conformance shards, so the extracted execution owner cannot bypass PR coverage. The existing CI job retains its graph, runner routing, setup, pg17 digest, three shards, and 30-minute budgets. A main-only weekly/manual workflow runs full pg16 and pg18 suites sequentially on hosted Ubuntu, with 60-minute budgets and no failure suppression. Both images are registry-resolved immutable digests (PostgreSQL 16.15 and 18.6). Service startup sets
max_locks_per_transaction=512, required by PG18.The weekly workflow uses ordinary failed-job reporting like other standalone scheduled audits. The existing PR failure classifier continues to use matching hourly pg17 main CI evidence; weekly version failures cannot grant a PR exemption.
Evidence
pnpm check:workflows: passed, including pinned actionlint, zizmor, generated workflow owner, and composite input validation.pnpm tsgo:test:root), focused lint, formatting, and independent review: passed.a860374eedepassed all 957 tests (37 expected skips), including all four cases, in 1423.97 seconds. The PR was rebased onto that main revision. Final heade99011c400cec75464ac18db5b9f68dec096f630then passed all 957 tests (37 expected skips) in 1159.33 seconds, with no concurrent task-owned Git/review preparation. No conformance tests or timeouts were changed; the initial failures remain recorded rather than claimed as a code fix.e1dad1bd0288ce34eac7ada4dbcefb9f711f44c9, passed on its first attempt. PostgreSQL 16.15: 957 passed, 37 expected skips, eight groups (45m 15s). PostgreSQL 18.6: 957 passed, 37 expected skips, eight groups (28m 5s). The jobs ran sequentially; setup, conformance, and cleanup succeeded for both versions.No conformance test behavior changed. The new workflow guards cover main-only admission, sequential execution, pinned endpoint images, and shared execution. The shared action avoids duplicate database setup and cleanup implementations.