Skip to content

[glyphs-reader] Dump v2/v3 test output to temp_dir - #2231

Merged
cmyr merged 1 commit into
mainfrom
worktree-test-tmpdir
Oct 9, 2026
Merged

cmyr merged 1 commit into
mainfrom
worktree-test-tmpdir

Conversation

@cmyr

@cmyr cmyr commented Oct 9, 2026

Copy link
Copy Markdown
Member

the motivation of this patch is to stop agents from investigating test failures that result from their sandbox not letting them write directly to /tmp

The v2-vs-v3 tests write a debug dump of each parsed font to a hardcoded /tmp path, which fails outright when the sandbox only allows TMPDIR. The names were fixed too, so parallel tests clobbered each other's dumps.

With this patch we write to temp_dir under the fixture's name.

The v2-vs-v3 tests write a debug dump of each parsed font to a
hardcoded /tmp path, which fails outright when the sandbox only allows
TMPDIR. The names were fixed too, so parallel tests clobbered each
other's dumps.

With this patch we write to temp_dir under the fixture's name.
@cmyr
cmyr added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit 812ceb9 Oct 9, 2026
18 checks passed
@cmyr
cmyr deleted the worktree-test-tmpdir branch October 9, 2026 17:29
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