GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(chat): load HTML reports when the filename limit splits an emoji by jadelike-wine · Pull Request #42478 · pingdotgg/t3code

Conversation

@jadelike-wine

@jadelike-wine jadelike-wine commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Problem

Publish an inline HTML report with html_render using a title of 119 ASCII letters followed by 🚀. Chat shows “Unable to load”. The 120-unit filename limit cuts the emoji in half, and the server throws URIError when it encodes that filename in the attachment URL.

Change

Drop a trailing lone surrogate after truncating the filename stem. A whole emoji that fits stays in the name. The report keeps its original title.

Scope

This is a small, reproducible bug in the shared HTML filename helper used by Web and mobile, so there is no separate issue. Only that helper and its regression test change.

Verification

  • vp test run packages/shared/src/htmlRender.test.ts: the 119-letter case failed on main and passes with the fix. The 118-letter case preserves the complete rocket before .html. All 26 tests pass.
  • A local test agent called the real thread-scoped html_render tool. On main the Web client showed “Unable to load” and the server logged URIError: URI malformed. With the fix, the same report rendered in chat. I checked its heading both inline and in full screen. Native mobile was not run.
  • vp run check:changed upstream/main passed, including typechecking 37 packages and running 28 tests.
Before After
Chat shows Unable to load in place of the report. The same chat displays the November release checks report.

Model: GPT-6. Harness: Codex Desktop.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jadelike-wine
fix(chat): load HTML reports when the filename limit splits an emoji
504abd4
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

htmlRenderFileName removes a trailing unmatched high surrogate after truncation. A boundary test checks whether a rocket emoji is retained at the 120-character limit.

Changes: HTML filename truncation

Layer / File(s) Summary
Truncate filenames and verify emoji boundary
packages/shared/src/htmlRender.ts, packages/shared/src/htmlRender.test.ts
htmlRenderFileName removes a trailing unmatched high surrogate after truncation. The test checks that 118 preceding characters retain the rocket emoji, while 119 do not.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix · Severity of issue fixed: Low

Suggested reviewers: juliusmarminge

Merge Risk: Minimal · up to bb870

This fixes HTML reports failing to load when the filename limit splits an emoji. The change is small and covered by a regression test, with no remaining merge-blocking risk identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the HTML report filename helper now drops a split emoji after truncation, so chat loads the report. It is a conventional commit with a plain-language summary that matc…
Description check Passed The description follows the template. It has Problem, Change, Scope, and Verification sections. The problem, the one-line fix, and the reason no issue is linked are all stated. Verification lists focu…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the HTML report filename helper now drops a split emoji after truncation, so chat loads the report. It is a conventional commit with a plain-language summary that matches the raw summary and the objectives.

Full details: Description check

Explanation

The description follows the template. It has Problem, Change, Scope, and Verification sections. The problem, the one-line fix, and the reason no issue is linked are all stated. Verification lists focused test results, a manual check, and before/after screenshots. It also names the model and harness. It does not state that native mobile was tested, but it says so explicitly, which meets the template's request to state what was not checked.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 5d02075
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d8fdaab9-b0a3-4857-82ab-5b3f25e31db9
Commits

Reviewing files that changed from the base of the PR and between 504abd4 and bb8701e.

Files selected for processing: 1

  • packages/shared/src/htmlRender.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 24, 2026
juliusmarminge and others added 2 commits November 24, 2026 23:28
@juliusmarminge
Merge remote-tracking branch 'origin/main' into codex/fix-html-report…
ac3e91a
…-filename
@juliusmarminge @claude
test(shared): group the filename limit test under htmlRenderFileName
bb8701e
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge

juliusmarminge commented Nov 24, 2026

Copy link
Copy Markdown
Member

Evidence

Real web app, Chromium, 1280×800, light theme, fresh synthetic state on each commit. Publish the reported title ending plan for Q🚀 alongside the control ending plan for🚀, open the thread, and inspect inline rendering. On the fix, open the boundary report in full screen.

Proven: scenarios:prove exited 0. Base displays “Unable to load”; head renders the report inline and in full screen. The control loads on both.

Before After
Before: control loads but boundary report fails After: both reports load inline
5d02075446 bb8701e200
Full screen unavailable because the report never loads. After: boundary report loads in full screen

Before recording · After recording · Scenario driver

The browser font displays the rocket as a missing glyph; the scenario uses and locates the exact emoji-bearing titles.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added takeover:ready Takeover done; auto-lands when gates pass and removed takeover:in-progress A takeover lead is working on this PR labels Nov 24, 2026
@juliusmarminge
juliusmarminge merged commit eaa3f7d into pingdotgg:main Nov 24, 2026
55 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge removed the takeover:ready Takeover done; auto-lands when gates pass label Nov 24, 2026
@patroza patroza mentioned this pull request Nov 25, 2026
Merge upstream main through feecca53e4dc patroza/t3code#675
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jadelike-wine @juliusmarminge
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.