Skip to content

ci: peel pgtest into its own peer job (RIG-2696) - #607

Merged
mattwilkinsonn merged 2 commits into
mainfrom
compass-runner/2696-ci-pgtest-peer-job
Aug 25, 2026
Merged

ci: peel pgtest into its own peer job (RIG-2696)#607
mattwilkinsonn merged 2 commits into
mainfrom
compass-runner/2696-ci-pgtest-peer-job

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

This PR is part of a stack containing 5 PRs:

  1. main
  2. "ci: peel pgtest into its own peer job (RIG-2696)" (this PR)
  3. ci: peel the microVM boot suite into its own peer job (RIG-2697) #608
  4. ci: peel the forge live-contract oracle into its own peer job (RIG-2698 T3) #610
  5. ci: peel the gtk3 multi-window e2e gate into its own job #611
  6. ci: moon concern matrix; dissolve gates; gate every leg (RIG-2700 T5) #621

Move the real-Postgres suites out of the monolithic gates job into a
dedicated pgtest peer job behind the single CI rollup, so a
Postgres-service flake or the slow -race suite no longer serializes
behind the whole moon battery — the two lanes now fail independently and a
service-container flake reds only pgtest, not the hermetic gate.

The postgres service block and both Real-Postgres steps (the suite and its
assert-ran guard) move verbatim; the checkout + install-nix + phase-one
toolchain bootstrap is reproduced (go on PATH is all pgtest needs). The
gates job loses its service and two steps and is renamed Gates (moon);
nothing else in it changes. The CI rollup gains pgtest in needs and
a third result assertion, so the single required check is unchanged.

pgtest runs unconditionally on every gate event at this step; a later task
gates it on the Go affected-closure so an unaffected PR pays zero.

First task (T1) of the CI job-decomposition plan frozen in
docs/designs/infra/ci/compass-ci-job-decomposition/design.md.

Refs RIG-2696
Co-authored-by: Matt Wilkinson matt@rigel.build

Move the real-Postgres suites out of the monolithic `gates` job into a
dedicated `pgtest` peer job behind the single `CI` rollup, so a
Postgres-service flake or the slow `-race` suite no longer serializes
behind the whole moon battery — the two lanes now fail independently and a
service-container flake reds only `pgtest`, not the hermetic gate.

The postgres service block and both Real-Postgres steps (the suite and its
assert-ran guard) move verbatim; the checkout + install-nix + phase-one
toolchain bootstrap is reproduced (go on PATH is all pgtest needs). The
`gates` job loses its service and two steps and is renamed `Gates (moon)`;
nothing else in it changes. The `CI` rollup gains `pgtest` in `needs` and
a third result assertion, so the single required check is unchanged.

pgtest runs unconditionally on every gate event at this step; a later task
gates it on the Go affected-closure so an unaffected PR pays zero.

First task (T1) of the CI job-decomposition plan frozen in
docs/designs/infra/ci/compass-ci-job-decomposition/design.md.

Refs RIG-2696
Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Aug 25, 2026

Copy link
Copy Markdown

RIG-2696

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-runner-2696-ci-pgtes.compass-eng-docs.pages.dev

Deployed from compass-runner/2696-ci-pgtest-peer-job at 232bdc5.

Review follow-up: the peeled pgtest job copied the phase-one bootstrap
comment verbatim, which still justified an ordering constraint against a
phase-two step this job does not have. Trim it to describe pgtest's
single-phase (language-toolchains-only) bootstrap accurately.

Refs RIG-2696
Co-authored-by: Matt Wilkinson <matt@rigel.build>
@mattwilkinsonn
mattwilkinsonn merged commit 45c78b4 into main Aug 25, 2026
26 checks passed
@mattwilkinsonn
mattwilkinsonn deleted the compass-runner/2696-ci-pgtest-peer-job branch August 25, 2026 19:54
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.

2 participants