Skip to content

feat(runner): report a scratch directory that disappears mid-run - #1168

Merged
Chemaclass merged 1 commit into
mainfrom
feat/1167-warn-scratch-dir-vanished
Aug 13, 2026
Merged

Chemaclass merged 1 commit into
mainfrom
feat/1167-warn-scratch-dir-vanished

Conversation

@Chemaclass

Copy link
Copy Markdown
Member

🤔 Background

Related #1167

#1164 made a run survive its scratch directory going missing, so a valid test
file is no longer reported as unsourceable. But it recovers silently, and
#1137 is open precisely because that directory goes missing on CI and nobody
can say what removes it. No trace at all is worse for diagnosis than the
misleading error it replaced.

💡 Changes

Surviving the disappearance silently leaves no trace, which is worse for
diagnosis than the misleading 'failed to source' it replaced: #1137 is open
precisely because that directory goes missing on CI and nobody can say what
removes it.

Warn once per run on stderr, naming the directory. Once per run rather than
per file: a run that loses it early would otherwise repeat the warning for
every remaining file.

Closes #1167
@Chemaclass Chemaclass added the enhancement New feature or request label Aug 13, 2026
@Chemaclass Chemaclass self-assigned this Aug 13, 2026
@Chemaclass
Chemaclass merged commit bc68ebe into main Aug 13, 2026
37 checks passed
@Chemaclass
Chemaclass deleted the feat/1167-warn-scratch-dir-vanished branch August 13, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant