Skip to content

ci: build atomic-saas against every push (downstream job, paired-branch rule) - #1374

Merged
joepio merged 2 commits into
developfrom
ci/drop-server-pin
Sep 6, 2026
Merged

ci: build atomic-saas against every push (downstream job, paired-branch rule)#1374
joepio merged 2 commits into
developfrom
ci/drop-server-pin

Conversation

@joepio

@joepio joepio commented Sep 6, 2026

Copy link
Copy Markdown
Member

Pairs with ontola/atomic-saas ci/drop-server-pin, which drops its ATOMIC_SERVER_REF pin and builds against develop head instead.

What

A downstream-saas job in the main pipeline, Mancave only and never on PR events: check out ontola/atomic-saas beside this checkout (a branch named like this one if it exists, else main), build both frontend embeds, and run cargo check, clippy -D warnings and cargo test against this commit. The Main result job fails when it fails.

Uses the existing ATOMIC_SAAS_DISPATCH_TOKEN secret for the private checkout.

Why

With the pin gone, an incompatible change to atomic_lib or the server crate would otherwise surface in atomic-saas CI days later. This way it fails on the push that made it, and a coordinated change lands as two PRs on one branch name that each side's CI tests together.

Testing the convention on itself

The atomic-saas branch has the same name, so this push's downstream job should report paired branch 'ci/drop-server-pin'.

…ch rule)

atomic-saas depends on ../atomic-server/lib and ../atomic-server/server by
path and used to pin the commit it built against, bumping the pin in a PR of
its own after every change here. Its CI now builds against develop head, so a
lib rename nobody carried over would surface there days later. This job moves
that failure to the push that made it: on Mancave, for non-PR events, check
out ontola/atomic-saas (a branch named like this one if it exists, else main)
beside this checkout and run cargo check, clippy and test against it. The
Main result job fails when it fails.

Pairs with ontola/atomic-saas ci/drop-server-pin.
@joepio
joepio merged commit 053150b into develop Sep 6, 2026
7 checks passed
@joepio
joepio deleted the ci/drop-server-pin branch September 6, 2026 07:00
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