Skip to content

ci: Build the local-gate probe crate outside the repo's target/ (#969) - #970

Closed
zackees wants to merge 1 commit into
masterfrom
ci/lint-probe-scratch
Closed

zackees wants to merge 1 commit into
masterfrom
ci/lint-probe-scratch

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #969.

The Local Gate (lint) step fails on every PR and in the merge queue at test_changed_source_fails_the_rust_test_lane: the windows-gnu --no-run link exits 101. This started when runs began restoring the 842 MB soldrv0.9.33 cook cache. The probe built its scratch crate inside <repo>/target/, which is exactly where that cache is restored.

Change: one line. The probe's scratch crate now uses tempfile.TemporaryDirectory() in the system temp directory instead of <repo>/target/.

Evidence:

CI restores a large cargo cache into target/; the probe crate built
inside it failed the windows-gnu link (exit 101) on every run that
restored the cache, which turned Local Gate (lint) red on every PR and
in the merge queue. A system temp directory keeps the probe independent
of that cache.

Fixes #969
@zackees

zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

#972 (merged 02:17 UTC, "The local-gate probe runs only the lane's host") also addresses #969. Is this PR still needed on top of it, or can it close?

@zackees

zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

Superseded by #972, which fixed the root cause: the scratch crate had no windows-gnu std (can't find crate for std), and the probe now skips the cross step. Closing so this does not take up a merge-queue slot during the CI refactor (#985).

@zackees zackees closed this Oct 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a manual request Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ci: Local Gate (lint) fails on every PR: local-gate probe's windows-gnu link exits 101

1 participant