Skip to content

fix(build): avoid invalidating Cargo on generated OUT_DIR inputs - #318

Merged
davidabram merged 2 commits into
perf/ci-stack-6-dependency-debug-infofrom
perf/ci-stack-7-build-rerun-tracking
Oct 11, 2026
Merged

davidabram merged 2 commits into
perf/ci-stack-6-dependency-debug-infofrom
perf/ci-stack-7-build-rerun-tracking

Conversation

@davidabram

Copy link
Copy Markdown
Member

Stack

Step 8/8, parent #317, following #316, #315 and #311.

Cargo build.rs previously passed generated Codex staging paths under OUT_DIR to rerun-if-changed, making the build script stale on subsequent local Cargo invocations. Pass track_sources=false when copying generated Codex stage inputs; preserve tracking for actual repository and pre-generated external inputs. Stage and embed the same bytes as before.

Validate two successive Cargo test --no-run invocations with a fixed SCE_CLI_GENERATED_INPUT_DIR; second invocation should avoid compiling shared-context-engineering. Run nix flake check on Linux/macOS. Draft pending CI.

@davidabram
davidabram force-pushed the perf/ci-stack-7-build-rerun-tracking branch from de305d3 to fa0ac65 Compare October 10, 2026 21:22
@davidabram
davidabram removed this pull request from stack #319 October 10, 2026 22:48
@davidabram
davidabram added this pull request to stack #320 October 10, 2026 22:50
@davidabram
davidabram marked this pull request as ready for review October 10, 2026 22:51
@davidabram
davidabram merged commit 670ab9d into remove-tokio-db-runtimes Oct 11, 2026
12 checks passed
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