Skip to content

ci: qualify PostgreSQL 16 and 18 weekly - #178034

Merged
steipete merged 3 commits into
mainfrom
pgprep/pgqual-weekly
Oct 20, 2026
Merged

steipete merged 3 commits into
mainfrom
pgprep/pgqual-weekly

Conversation

@steipete

@steipete steipete commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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.
  • Parsed before/after CI comparison: all 42 job definitions' graph properties, matrices, dependencies, routing, timeouts, and triggers are identical; all non-PostgreSQL jobs and PostgreSQL checkout/setup steps are identical.
  • Focused PostgreSQL workflow guards: 33 passed in 12.26 seconds; the new workflow and shared-action guards failed on the base; the action-only selection regression also failed before the selector fix.
  • Root test typecheck (pnpm tsgo:test:root), focused lint, formatting, and independent review: passed.
  • Rebased onto main and ran full local pg17 conformance: 570 passed, 4 failed across 93 files (799.37 seconds). Failures: PostgreSQL onboarding readiness timeout; missing-unaccent admission statement timeout; whole-archive all-family restore timeout; mixed-engine archive restore connection-selection error. A full clean-main run at a860374eede passed all 957 tests (37 expected skips), including all four cases, in 1423.97 seconds. The PR was rebased onto that main revision. Final head e99011c400cec75464ac18db5b9f68dec096f630 then 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.
  • Final-head CI: run 39376073491, including all three PostgreSQL 17 conformance shards, passed.
  • Post-merge manual qualification: run 39378151211, on main at merge commit 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.
  • Scope: six files, +138/-18 lines; no conformance implementation or conformance-test changes.

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.

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review October 20, 2026 04:19
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T05:13:37.347351Z e99011c New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: S labels Oct 20, 2026
@steipete
steipete force-pushed the pgprep/pgqual-weekly branch from 2235954 to aee0ba5 Compare October 20, 2026 04:24

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .github/workflows/ci.yml Resolved
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 20, 2026
@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Adds 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

  • Before: Recurring CI exercises PostgreSQL 17 only.
  • After: PostgreSQL 16 and 18 also run the full suite sequentially, while PR CI retains its three PostgreSQL 17 shards.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, focused maintenance with the previous defect repaired; confidence is limited by pending exact-head CI and deferred endpoint workflow execution.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored CI PR is outside the ordinary contributor proof gate; recorded local PostgreSQL 17 conformance and planner guards support it, while the new PostgreSQL 16/18 workflow has no completed run supplied.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Supported PostgreSQL 16 and 18 can develop version-specific regressions between manual qualification runs.
Reason: The maintainer-authored direction follows the merged qualification recommendation and adds bounded recurring coverage without increasing ordinary PR fanout.

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
Reviewed head: 9a18e3ad1a44108620d4101b4e90ca651f5c8c96

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: A completed PostgreSQL 16/18 weekly workflow run is not supplied; the maintainer explicitly plans initial endpoint dispatch after merge.
Agent review details

How this fits together

GitHub 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]
Loading

Technical review

Best 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

  • PostgreSQL CI execution and sharding keeps the original intent (7cfdcc6: Make PostgreSQL regressions fail selected storage PRs through the existing aggregate gate; later sharding retained coverage within job budgets.)
  • Pinned pgvector image and extensions keeps the original intent (bf46379: Search conformance requires unaccent, pg_trgm, and vector in a reproducible PostgreSQL environment.)
  • Conformance path selection keeps the original intent (e75c065: Select conformance for every reached owner rather than allowing relevant changes to bypass the PostgreSQL gate.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 7cfdcc6 adds scripts/ci-build-manifest.mjs:963 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 7cfdcc6e7590; files: scripts/ci-build-manifest.mjs)
  • Vincent Koc: Raw commit 94d0f30 adds scripts/ci-build-manifest.mjs:989 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 94d0f30e93fa; files: scripts/ci-build-manifest.mjs)

PR surface

Tests +39, Docs +7, Config +73, Other +1. Total +120 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 43 4 +39
Docs 1 7 0 +7
Config 3 87 14 +73
Generated 0 0 0 0
Other 1 1 0 +1
Total 6 138 18 +120

Labels

Label changes:

  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove merge-risk: 🚨 automation: Current PR review selected no merge-risk labels.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: Recurring qualification closes a supported-major coverage gap without changing production behavior or adding PR matrix jobs.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-20T04:39:42.521Z sha aee0ba557863e534ec6d3db17fd4731cbb86220d :: needs changes before merge. :: [P2] Select conformance when the shared action changes

Reviewed October 20, 2026, 1:44 AM ET / 05:44 UTC (Revision 2).

@steipete
steipete force-pushed the pgprep/pgqual-weekly branch from aee0ba5 to e99011c Compare October 20, 2026 05:09
@steipete

Copy link
Copy Markdown
Contributor Author

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

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Oct 20, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 20, 2026
@steipete
steipete merged commit e1dad1b into main Oct 20, 2026
147 of 150 checks passed
@steipete
steipete deleted the pgprep/pgqual-weekly branch October 20, 2026 06:01
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
* ci: qualify PostgreSQL 16 and 18 weekly

* test: follow immutable workflow key sorting convention

* ci: select PostgreSQL conformance for shared action changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant