Skip to content

ci/test: Clean up unnecessary/dead steps - #2476

Merged
mmlb merged 3 commits into
developfrom
push-zwkssxrpwstm
Sep 22, 2026
Merged

mmlb merged 3 commits into
developfrom
push-zwkssxrpwstm

Conversation

@mmlb

@mmlb mmlb commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

What kind of change does this PR introduce?

CI Maintenance

What is the current behavior?

We have pretty bad names for jobs/steps since they share long redundant prefixes thus causing GHA UI to truncate the more useful information. For example nix-build-packages-aarch.... There's no real useful information from nix-build- prefix.

Also the test workflow is a bit of a misnomer, its only testing the post migration dump schema matches what is in git. So I renamed it to a better one.

Ditto the docker-image-test workflow step, its more building container images.

What is the new behavior?

Better names:
nix-build-packages-aarch64-linux becomes
builds-aarch64-linux

nix-build-checks-aarch64-linux becomes
checks-aarch64-linux

So any truncation will be minimal.

@mmlb
mmlb requested review from a team as code owners September 21, 2026 18:20
@mmlb
mmlb force-pushed the push-zwkssxrpwstm branch 4 times, most recently from 4185000 to 4caff50 Compare September 21, 2026 18:35
I noticed that there was a bunch of dead code here so delete it.
dbmate-tool doesn't need hcl files nor ARGS/result so those go away.

The steps creating POSTGRES_MAJOR_VERSION and PGMAJOR were also
completely unnecessary as the output from prepare step/matrix value is
usable as is, I decided to rename it so it uses the common named used
throughout the repo for consistency.
No point running this on its own *and* as part of nix-build so lets drop
the non-workflow-call cases.
@mmlb
mmlb force-pushed the push-zwkssxrpwstm branch from 4caff50 to 2f98c43 Compare September 21, 2026 18:58
@mmlb
mmlb enabled auto-merge September 21, 2026 22:09
All these names have a long common prefix which means the GHA UI
truncates the most interesting information. So I'm renaming these so the
Summary view is more informative at a glance.

I also tweaked some `needs` that didn't really need to be explicit.
@mmlb
mmlb force-pushed the push-zwkssxrpwstm branch from 2f98c43 to 8be299d Compare September 21, 2026 22:13
@mmlb
mmlb disabled auto-merge September 22, 2026 12:30
- nix-build-checks-aarch64-darwin
- nix-build-checks-aarch64-linux
- nix-build-checks-x86_64-linux
- checks-aarch64-darwin

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.

Is Darwin run; Thought it was excluded in the previous PR? 🤔

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.

darwin is also excluded from the amis list below

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

checks-aarch64-darwin is for the nix checks, which we do run for all 3 flavors. This is stuff like linters, formatters, nixosVMTests etc. If you are referring to #2477, whats being skipped there is nixos-tests for aarch64-darwin which are the qemu based nixos vm tests. No point doing those I guess.

Darwin being excluded from amis is correct too, we don't build darwin AMIs. The needs was dropped because there's no reason to depend on darwin binaries if they aren't going to be used in the AMIs.

@mmlb

mmlb commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator Author

Will merge once develop is green

@mmlb
mmlb enabled auto-merge September 22, 2026 14:08
@mmlb
mmlb disabled auto-merge September 22, 2026 14:12
@mmlb
mmlb added this pull request to the merge queue Sep 22, 2026
Merged via the queue into develop with commit 46af354 Sep 22, 2026
43 checks passed
@mmlb
mmlb deleted the push-zwkssxrpwstm branch September 22, 2026 14:34
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