8000 ci: fail on pending Ash code generation by mwoods79 · Pull Request #684 · huddlz-hq/huddlz · GitHub
[go: up one dir, main page]

Skip to content

ci: fail on pending Ash code generation - #684

Merged
mwoods79 merged 2 commits into
mainfrom
micah/ci-codegen-check
Oct 13, 2026
Merged

mwoods79 merged 2 commits into
mainfrom
micah/ci-codegen-check

Conversation

@mwoods79
Copy link
Copy Markdown
Contributor

CI now runs mix ash.codegen --check in the test job, right after compile, so resources that have drifted from their checked-in migrations, snapshots or generated code fail the build.

Nothing caught that #682 (ash_postgres 2.14) needed a new ash_functions v7 migration; tests still passed because nothing exercised the broken path. The check passes on main and on the current head of #682.

It runs inside the existing test job, so the CI gate's needs list is unchanged.

The test job never ran `mix ash.codegen --check`, so a dependency bump
that needs a migration (ash_postgres 2.14's ash_functions v7) passed CI
with the migration missing.
@mwoods79
mwoods79 merged commit 352ac6e into main Oct 13, 2026
5 checks passed
@mwoods79
mwoods79 deleted the micah/ci-codegen-check branch October 13, 2026 21:06
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

0