ci: eliminate duplicate build_runner run in CheckGenerated #514

Merged
guettlibot merged 4 commits from issue-492-eliminate-duplicate-build-runner into main 2026-06-07 03:30:44 +00:00
guettlibot commented 2026-06-07 00:24:01 +00:00 (Migrated from codeberg.org)

Summary

How it works

Previously ran independently, so Dagger could not share its cache with . Now it:

  1. Calls to get freshly generated files (reusing the cached Dagger layer)
  2. Mounts committed source at and fresh output at
  3. Runs to detect staleness

Test plan

  • runs without error when generated files are up to date
  • fails with a clear message when a file is stale
  • CI pipeline shows only one execution in the Dagger trace

Generated with Claude Code

## Summary - Closes #492 - Replaces the git-snapshot + second run in with a direct file comparison against the output of - compares committed generated files against the freshly built ones from the already-shared layer - Removes ~3 min from every CI pipeline run ## How it works Previously ran independently, so Dagger could not share its cache with . Now it: 1. Calls to get freshly generated files (reusing the cached Dagger layer) 2. Mounts committed source at and fresh output at 3. Runs to detect staleness ## Test plan - [ ] runs without error when generated files are up to date - [ ] fails with a clear message when a file is stale - [ ] CI pipeline shows only one execution in the Dagger trace Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.