Skip to content

run scratch in temp - #2829

Merged
ehartford merged 1 commit into
mainfrom
run-scratch-in-temp
Oct 29, 2026
Merged

ehartford merged 1 commit into
mainfrom
run-scratch-in-temp

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Stack created with GitHub Stacks CLI • Give Feedback 💬

`with run` builds each invocation in a directory of its own (#1374) and
removes it after, but the directory was out/<the source's directory>
under the caller's directory, and only the run.<pid>.<ns> leaf was
removed. An absolute source left its whole path behind, empty: `with run
~/tools/x.w` from a project made ./out/Users/…/tools there, and every
checkout here carried out/Users/eric/.local/with-staging/… trees from the
gate's own runs (found by lldb on rt_mkdir: run_run_command, main.w:3988,
building to out/private/tmp/…/src/run.54525…/x).

The directory is scratch, so it is the system's temp directory
(runtime_temp_dir); out/ remains the fallback where none is set.

Evidence: behav_run_absolute_source_leaves_no_path failed on the installed
compiler (the mirrored directory existed) and passes on stage1;
behav_run_concurrent_same_program (#1374) passes.
@ehartford
ehartford added this pull request to stack #2831 October 29, 2026 21:38
@ehartford

Copy link
Copy Markdown
Contributor Author

Seed-driven battery GREEN on the stack top 9a2c179 (with run tools/battery.w, darwin-aarch64): tools/verdict.w out/battery/battery.log → rc=0 green. The Windows battery (win10) on the same commit is the evidence for runtime-generation-regression; running.

@ehartford

Copy link
Copy Markdown
Contributor Author

Windows battery (win10, windows-x86_64, pinned seed driving) on 9a2c179: tools/verdict.w out/battery/battery.log → rc=0 green, runtime-generation-regression included. Both platforms green on the stack top.

@ehartford
ehartford marked this pull request as ready for review October 29, 2026 22:02
@ehartford
ehartford merged commit 7bb3e01 into main Oct 29, 2026
@ehartford
ehartford deleted the run-scratch-in-temp branch October 29, 2026 22:02
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