Skip to content

ci: track and auto-merge @akalforge/pg-conformance updates - #198

Merged
jasdeepkhalsa merged 1 commit into
masterfrom
claude/dependabot-conformance
Aug 31, 2026
Merged

jasdeepkhalsa merged 1 commit into
masterfrom
claude/dependabot-conformance

Conversation

@jasdeepkhalsa

Copy link
Copy Markdown
Member

Closes the loop on the shared conformance data introduced in #196.

Why this is needed

npm ci installs strictly from the lockfile and ignores the range in package.json. So the shared package auto-publishing patches, plus ~0.0.1 here, achieves nothing on its own — the release succeeds and reaches nobody. Something has to move the lockfile, and dropping npm ci would trade reproducible installs for it.

Dependabot, not Renovate

Renovate needs a GitHub App installed against the org. Dependabot is already available and does the same job here. Allow auto-merge also had to be enabled on the repo — that is a permission that lets a PR be marked merge-on-green, not a behaviour that merges anything by itself.

Scoped twice, deliberately

dependabot.yml allows only @akalforge/pg-conformance — the sole npm dependency in what is otherwise a Composer project — and the workflow independently refuses anything else that reaches it.

Only patch updates auto-merge. A minor or major means the fingerprint changed shape, which is exactly when a human should look.

Nothing merges blind

--auto waits for every required check, including the conformance matrix across PostgreSQL 16, 17 and 18. An update that broke this harness leaves the PR open and red rather than landing — and the upstream package already tests itself against PostgreSQL 14–18 before publishing, so a bad patch has to get past both.

🤖 Generated with Claude Code

The Postgres conformance harness now takes its schema fingerprint and corpus
from a shared package that publishes a patch on every merge to its own
repository. `npm ci` installs strictly from the lockfile and ignores the range
in package.json, so a published release reaches this repository only when
something moves the lockfile.

Dependabot rather than Renovate because Renovate needs a GitHub App installed
against the org.

Scoped twice over: dependabot.yml allows only this one dependency — the sole
npm dependency in what is otherwise a Composer project — and the workflow
independently refuses anything else. Only patch updates auto-merge; a minor or
major means the fingerprint changed shape, which is when a human should look.

`--auto` waits for every required check, including the conformance matrix
across PostgreSQL 16, 17 and 18, so an update that broke this harness leaves
the pull request open and red rather than landing.

Co-Authored-By: Claude <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@github-actions github-actions Bot added the postgres Related to Postgres label Aug 25, 2026
@jasdeepkhalsa
jasdeepkhalsa merged commit e6a8467 into master Aug 31, 2026
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

postgres Related to Postgres

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant