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): setup script output no longer shows half an emoji where a long line is cut by MarcoDotIO · Pull Request #32217 · pingdotgg/t3code Conversation
Contributor
ProblemA setup script's output line in the worktree setup card can show a replacement character ( Call path: To reproduce, give a project a setup action that runs on worktree creation and waits for it to finish, with the command The end-of-line cut has the same split, but on web the card truncates a 400-unit line with an ellipsis long before its end, so only the start-of-line case is visible there. The lone surrogate is still in the line's text either way. ChangeEach cut moves by one unit when it would split a pair. The head cut stops before a trailing high surrogate. The 4096-unit tail starts after a leading low surrogate. The code is inline, like the other merged emoji-cut fixes in the server (#29647, #29633, #29844). The repo has no shared helper for this. The shared Scope and approvalThis is a small, focused fix for an obvious bug, so CONTRIBUTING lets it go in without an issue. It belongs to the same family as #26070, #24255 and #29647: a length cap leaves half an emoji. Both cuts affect the same output line on the same path, so they are one problem. Open PR #31882 edits User-visible surfaces: the setup card output on web (app.t3.codes and Verification
On With the fix:
Web client, before and afterWeb dev server (empty state) with a scratch repo whose Setup action is the reproduction command above, set to run on worktree creation and wait for it to finish. Each shot is a new thread in a new worktree; "before" ran with the fix reverted. The zoomed shots are the same screen at 200% page zoom. Before: the third output line starts with After: the line starts with a whole emoji; in the DOM it starts and ends with Not checked: desktop and mobile setup cards (they show the same tracker snapshot). Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved Created with Claude Opus 5.5 in the Claude Code desktop app. 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…a long line is cut The worktree setup card shows at most 400 UTF-16 units of each setup script output line, and the runner keeps only the last 4096 units of newline-free output. Both cuts could land inside a surrogate pair, so the card showed a replacement character at the end or start of the line. Each cut now steps back or forward one unit to keep the pair whole. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
size:S
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |