Skip to content

Skip final build in stale path dep setup#2868

Closed
plajjan wants to merge 1 commit into
mainfrom
speed-stale-path-dep-test
Closed

Skip final build in stale path dep setup#2868
plajjan wants to merge 1 commit into
mainfrom
speed-stale-path-dep-test

Conversation

@plajjan
Copy link
Copy Markdown
Contributor

@plajjan plajjan commented Jun 3, 2026

The stale path dependency fixture only needs the first dependency build to leave behind the stale generated C output. The final Zig build is still needed for the app build, where the test verifies that stale dependency outputs are ignored.

This splits the helper so the setup dependency build uses --skip-build while the app build remains a full build. That keeps the behavioral coverage intact and avoids one expensive final build in a consistently slow test.

The stale path dependency fixture needs the final Zig build only for
the app build that checks stale dependency outputs are ignored.

Use --skip-build for the initial dependency build that only creates
the stale C output. Keep the app build as a full build so the test
still covers the final-build behavior it was added for.
@plajjan plajjan marked this pull request as ready for review June 4, 2026 03:38
@plajjan plajjan closed this Jun 5, 2026
@plajjan plajjan deleted the speed-stale-path-dep-test branch June 5, 2026 05:22
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