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 — fix(server): preserve Unicode spaces in checkpoint LFS storage by Lucenx9 · Pull Request #42555 · pingdotgg/t3code Conversation
Contributor
ProblemCheckpoint capture can write an LFS pointer that Git LFS cannot restore when the configured cache directory begins or ends with a non-ASCII space. The publisher trims the space off the directory name and moves the object into a sibling directory. ChangeUse the same ASCII whitespace helper used for other Git command output. The existing capture and publication paths can now keep non-ASCII spaces in ScopeSmall fix to checkpoint publication. The issue and PR search found no overlapping fix. This is limited to non-ASCII whitespace. This patch keeps T3's previous ASCII trimming. The native replay's trailing ASCII space and tab controls reproduce the same pre-existing mismatch before and after. VerificationWith Git LFS 3.6.1 and a disposable local repository, I set
The leading NBSP case also passed after the fix. The default and ordinary relative paths passed before and after. I extended the existing checkpoint test to exercise both default and NBSP storage. It failed with a missing object on base. V8 coverage executed the changed statement in both cases, including the default fallback. Dependency Cruiser found the same 55 direct resolved edges and zero findings in the scoped rule on base and fix. Fallow and CodeScene passed on a two-file snapshot. Fallow had limited dependency resolution in that snapshot. A source-derived copy of the path expression passed 200 fast-check cases and 300 bounded Jazzer.js runs. Stryker killed all four mutants. Tools and artifacts were kept outside the tracked patch. Verification ran on Linux. The first changed-file check timed out before typecheck returned (exit 124). The serial retry passed with 162 tests, format, lint, both Knip steps, GraphQL and affected-package typecheck. The same check passed after rebasing to 31d95f8, with 162 tests. Normal commit hooks passed. Independent review: Gemini 4 Neon (Antigravity) approved at medium effort. Opus 5.5 approved at high effort. Reviewed with sol-loop: 1 round with GPT-6.2 Sol on high. Sol verdict: approved. Created with GPT-6.2 Sol in Codex through T3 Code.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Storage path resolution and verification apps/server/src/vcs/GitVcsDriver.ts, apps/server/src/vcs/GitVcsDriver.test.ts |
The driver trims ASCII whitespace from the configured lfs.storage value before resolving it. An empty trimmed value still defaults to lfs. The test checks object placement and absence of the corresponding tmp directory for default and configured storage paths. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: juliusmarminge
4bec5This change preserves non-ASCII spaces in configured Git LFS storage paths for checkpoints. It is narrow, has test coverage for the changed behavior, and shows no remaining merge-blocking risk.
Explanation
The title names the main change: checkpoint LFS storage now keeps non-ASCII spaces, which matches the trimming fix in GitVcsDriver.ts and the test extension. It uses the conventional commit format and is specific, so a teammate scanning history can identify the change.
Explanation
The description follows the template. It includes Problem, Change, Scope, and Verification sections, and it covers the expected behavior, the fix, the reason for the limit to non-ASCII whitespace, and the Git LFS 3.6.1 reproduction with before and after results. It also names the model and harness, as the template asks. The Problem section gives no explicit expected-behavior statement, and the Scope section does not link an issue. Its claim that no overlapping issue exists is not backed by a link, so a maintainer cannot check it directly.
7c23f7f5-d869-4fb3-80ac-d62554b6e0f0apps/server/src/vcs/GitVcsDriver.test.tsapps/server/src/vcs/GitVcsDriver.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
EvidenceCreated Git LFS repositories with trailing NBSP, leading NBSP, and default storage; added unstaged weights.bin; completed one Replay turn; read checkpoint ordinal/1 and piped its pointer into git lfs smudge. Checked restoration before opening the thread view. Captures show the real web app with a diagnostic overlay of actual runtime command results. Linux web, 1280×800, light theme, fresh synthetic state on each commit.
Scenario driver. scenarios:prove exited 0: failed on base and passed on head. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.