GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — test(opencode): driver update tests delete their temp dirs by only21mil · Pull Request #33714 · pingdotgg/t3code Conversation
|
| main (6c9adfb) | this branch | |
|---|---|---|
| Linux | 15 passed; 2 dirs left (t3-opencode-update-*, t3-opencode-driver-update-*), 5 files |
15 passed; 0 left |
| macOS 27.0.1, Apple silicon | 15 passed; 2 dirs left, 5 files | 15 passed; 0 left |
On macOS the temp dir sits under /var, a symlink to /private/var, so the realpathSync wrap is exercised. Lines from the macOS runs (Node 26.12.1):
# Before: main 6c9adfb273, macOS
$ echo "$TMPDIR" | cut -d/ -f1-3; readlink /var
/var/folders
private/var
Tests 15 passed (15)
$ ls -A "$TMPDIR" | wc -l
2
# After: branch c56801eb59, macOS
Tests 15 passed (15)
$ ls -A "$TMPDIR" | wc -l
0
On Linux the whole package suite on this branch (16 files, 172 tests) also leaves TMPDIR empty, so these were the package's only leftover directories.
vp run check:changed passes. No new test: the problem shows only as files left in the temp dir, so the counts above are the proof.
Not checked:
Prior PRs: #23445, above. No open or closed PR removes these two directories. #22839 (open) edits the fresh-read update test's body but keeps its mkdtempSync root.
Generated with Claude Opus 5.5 in T3 Code Nightly
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The two OpenCode driver update tests created a temp root with mkdtempSync and never removed it, so every run left a t3-opencode-update-* and a t3-opencode-driver-update-* directory in the OS temp dir. Both now use makeTempDirectoryScoped, which removes the directory when the test's scope closes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The changes are confined entirely to repository-ignored paths. Within that instructed assessment scope, no material risk requiring human review is identified. Notes:
You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note 🤖 Opus 5.5 replying on behalf of Victor. Closing this to bring my open PRs down under the new limit. The branch stays on my fork if it is useful. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.