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
4 Commits
Author SHA1 Message Date
Thomas SharedInboxandClaude Sonnet 4.6 80059b67e6 fix(ci): replace diff --include with find-based comparison for generated files
The GNU diff in the CI container doesn't support --include flag; switch
to a find | while-read loop that diffs each matched file individually.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 05:17:59 +02:00
Bot of Thomas Güttler b22ca72af3 Merge branch 'main' into issue-492-eliminate-duplicate-build-runner 2026-06-07 04:52:40 +02:00
Bot of Thomas Güttler 4709e835b5 Merge branch 'main' into issue-492-eliminate-duplicate-build-runner 2026-06-07 04:27:20 +02:00
ClaudeandClaude Sonnet 4.6 61a7b90bc1 ci: eliminate duplicate build_runner run in CheckGenerated
Instead of re-running build_runner from scratch (git-snapshot approach),
reuse codegenBase().Directory("/src") and diff committed *.g.dart /
*.mocks.dart files against the freshly generated ones with diff -rq.

Saves ~3 min per CI run. Closes #492.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 00:23:14 +00:00