Skip to content

ci: check sim_string_list.h stays in sync with string_list.h - #7720

Merged
pfeerick merged 3 commits into
mainfrom
ci/simstr-drift-check
Aug 28, 2026
Merged

pfeerick merged 3 commits into
mainfrom
ci/simstr-drift-check

Conversation

@pfeerick

@pfeerick pfeerick commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • radio/src/translations/sim_string_list.h is generated from string_list.h via m4 simstr.m4 string_list.h > sim_string_list.h, but nothing enforced that it stayed regenerated. chore: update sim_string_list.h to match string_list.h #7718 fixed drift that had crept in; this adds a CI check so that class of drift is caught automatically instead of relying on manual review.
  • Extends the existing codegen_drift workflow (used for fonts/cfn-sort/YAML parsers/radio list) with a new gen-simstr Justfile recipe and matching simstr job.
  • The edgetx-dev image now ships just and m4 (dev: add just and m4 build-edgetx#54), so the per-job just install/pin is dropped — only the changes job (which runs on a bare ubuntu-latest runner, not the container) still installs it.
  • Also changes all five codegen_drift jobs (cfn-sort, fonts, yaml, radios, simstr) to fail on drift instead of only posting a ::warning:: annotation. None of these are required status checks on main, so this doesn't block anyone without the local toolchain — it just makes real drift visible as a red ✗ on the PR instead of a warning buried in an otherwise-green run.

Test plan

🤖 Generated with Claude Code

pfeerick and others added 3 commits August 28, 2026 06:32
Extends the codegen drift workflow with a gen-simstr Justfile recipe
and matching CI job, so a stale sim_string_list.h (as fixed in #7718)
is caught automatically instead of relying on manual review.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The edgetx-dev image now ships just and m4 (EdgeTX/build-edgetx#54),
so the per-job install/pin in the codegen drift action is redundant
for anything running inside that image. The `changes` job keeps its
own install since it runs on a bare ubuntu-latest runner, not the
container.

Depends on EdgeTX/build-edgetx#54 reaching ghcr.io/edgetx/edgetx-dev:latest
before merging, or these jobs will fail with `just: command not found`.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
A ::warning:: annotation on an otherwise green job is easy to miss.
None of these jobs are required status checks on main, so failing
them is safe: it surfaces genuine drift on the PR without blocking a
contributor who lacks the local toolchain from merging.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@pfeerick pfeerick added this to the 3.0 milestone Aug 28, 2026
@pfeerick pfeerick added the ci/cd 🔧 Related to GitHub Actions and similar issues label Aug 28, 2026
@pfeerick
pfeerick merged commit 9f7f642 into main Aug 28, 2026
7 checks passed
@pfeerick
pfeerick deleted the ci/simstr-drift-check branch August 28, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd 🔧 Related to GitHub Actions and similar issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant