Skip to content

The sandbox's /tmp is separate from the host's, not fresh each time - #17

Merged
Sunrisepeak merged 1 commit into
mainfrom
fix/the-sandbox-tmp-is-separate-not-fresh
Aug 27, 2026
Merged

The sandbox's /tmp is separate from the host's, not fresh each time#17
Sunrisepeak merged 1 commit into
mainfrom
fix/the-sandbox-tmp-is-separate-not-fresh

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

The head of tools/sandbox-closure.sh said --sandbox gives "a fresh /tmp".

Measured 2026-08-27: two invocations of the same environment, and the second found the directory the first had made; the host's /tmp had neither.

Both halves matter and they are different claims:

  • separate is what makes staging from outside impossible, and is why the sandbox is used at all — that half is true;
  • fresh is what a check that must not read its own last answer would need, and it is not true.

The script already removed the project directory before writing it. It now says why, and the comment states what was observed rather than what was assumed.

⚠️ The head of this file said `--sandbox' gives "a fresh /tmp". Measured
2026-08-27: two invocations of the same environment, and the second found
the directory the first had made; the host's `/tmp' had neither.

Both halves matter and they are different claims. SEPARATE is what makes
staging from outside impossible, which is why the sandbox is used at all.
FRESH is what a check that must not read its own last answer would need,
and it is not true --- so the project directory is removed before it is
written, which this script already did and now says why.
@Sunrisepeak
Sunrisepeak merged commit 8ed32a6 into main Aug 27, 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.

2 participants