Skip to content

fix(.github/fork): pin the fork-ci postgres:16 image by digest - #262

Merged
ibetitsmike merged 2 commits into
mainfrom
mike/fork-ci-pin-pg-dump
Nov 13, 2026
Merged

ibetitsmike merged 2 commits into
mainfrom
mike/fork-ci-pin-pg-dump

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Xum opened this PR on behalf of @ibetitsmike.

Part of #4

Since about 23:40Z on 2026-11-12, fork-ci's schema job fails on every PR: the chatdmig equivalence tests report ALTER COLUMN ... SET (pg_attver=...) lines as drift (equivalence_test.go:275, for example job 131580752667 on #261). The cause is the postgres:16 tag, which was republished. Main's passing schema run 43308327388 used the same ubuntu-26.04 runner and pg_dump 18.6, but image sha256:f9a7b9eb.... The failing runs pulled sha256:63e83b5a....

.github/fork/start-postgres.sh is the only place fork-ci starts Postgres. It now pins postgres:16@sha256:f9a7b9ebf6f56201f949db745e47bc423c0f0f8294bafe991cc10bf74b029657, the last image that passed, with a comment saying why it is pinned. pg_dump and the comparisons are unchanged.

The first commit on this branch tried a different fix that ran pg_dump inside the container. The second commit reverts it, so the net diff is the pin alone.

The ubuntu-26.04 runner ships pg_dump 18.6, whose schema dumps add
pg_attver column options that the chatdmig comparisons read as drift.
The schema job now runs pg_dump inside the fork-ci Postgres 16
container, so the client major always matches the server, and the
check step asserts that pg_dump and major 16.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T00:01:42.724948Z fead334 Manual request
ℹ️ 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.

The postgres:16 tag was republished on 2026-11-12, and the new image's
schema dumps carry pg_attver column options that the chatdmig
comparisons read as drift. Pin the last image that passed and drop the
pg_dump shim from the previous commit.
@ibetitsmike ibetitsmike changed the title fix(.github): run fork-ci schema pg_dump from the server image fix(.github/fork): pin the fork-ci postgres:16 image by digest Nov 12, 2026
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum commented on behalf of @ibetitsmike.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: fead334743

ℹ️ 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".

@ibetitsmike
ibetitsmike merged commit f9fdadb into main Nov 13, 2026
10 checks passed
@ibetitsmike
ibetitsmike deleted the mike/fork-ci-pin-pg-dump branch November 13, 2026 00:10
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum merged this PR on behalf of @ibetitsmike.

Merged at head fead334743: fork-ci run 43333103611 green (schema, chat-tests, forkdb, graph, build, site, agent-sdk), Codex clean on fead334743, 0 unresolved threads, 0 commits behind main. CI-only change (postgres:16 pinned to the digest of the last passing image), so no UAT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant