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(server): Browser tab titles follow page title changes by StiensWout · Pull Request #36764 · pingdotgg/t3code

Conversation

@StiensWout

@StiensWout StiensWout commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Server-runtime Browser tabs kept their load-time label when a page changed document.title without navigating. Observe title changes in an isolated Chromium world and report through the existing session metadata path.

The watch survives head/root replacement and observes standalone SVG titles. Complete status and history flags are deduplicated, and late title/history reads preserve navigation failures. Server-runtime tabs drawn by desktop use the same watch; this does not change the separate desktop runtime.

Proof

  • Bughunt repro failed on 666631e94e: live Chromium title “Updated title”, session title “Original title”; navigation controls passed. Claude Opus 5.5 independently confirmed the finding on 740a7cc21f.
  • pnpm exec vp run scenarios:prove scripts/scenarios/browser-tab-follows-page-title.e2e.ts --base 616067de84 --head HEAD: failed on current main and passed on the final head.
  • Real Chromium behavior test covers successive title changes, replaced head/root, title plus SPA navigation with a single event, unchanged URL, and SVG title changes. Focused failure cases protect failed-navigation state across title/history reads.
  • Primary Browser pass in isolated development state confirmed the tab label changed to “Updated title” with its URL unchanged.
  • Final Node 26 pnpm exec vp run check:changed: passed (format, lint, knip, GraphQL, affected typechecks and tests). Forge runs Node 24, whose recording tests also fail on base because Uint8Array.fromBase64 is unavailable.
Before After
Original title remains Title follows the page

Scope: medium, one server behavior with focused tests and a paired web scenario; no storage, migration, wire contract or desktop-app edits. Web and mobile consume the shared server metadata. Provider adapters, agent permissions and documentation are unaffected. Native mobile and desktop-renderer interaction were not separately exercised.

Council review

Delegate Round 1 Round 2
Claude Opus 5.5 8/10 8/10
GPT 6.1 Sol 7/10 8/10

Round-one findings were fixed before round two. The final round found missing SVG title observation and an incorrect skip for desktop-rendered server tabs; both were corrected afterward and the proof rerun. These final corrections received no third council round, per the requested two-round limit, so the recorded scores remain below 9. Local cubic on the first trimmed head reported no findings; fork review context was unavailable. Deferred nits: the test uses a CDP readiness signal, and deduplication records the last report before the manager write (the observed failure path is a session already removed).

Found by Wout's bughunt and independently verified by Claude Opus 5.5. Built and simplified with Claude Opus 5.5 in T3 Code's Claude harness; coordinated, fixed and reviewed with GPT 6.1 Sol in T3 Code's Codex harness. Both models reviewed the change.

Closes #36763

Sorry, something went wrong.

Uh oh!

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

All reactions
@StiensWout @claude @codex
fix(server): Browser tab titles follow page title changes
34ca841
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: GPT 6.1 Sol <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Nov 14, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Nov 14, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Nov 14, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 34ca841

Macroscope's review found this PR approvable — Browser tab titles now track page-title changes without navigation, while duplicate and stale status updates are filtered. The change is limited to preview status synchronization and carries no obvious material risk requiring human judgment.

No code changes detected at 9d792b4. Prior analysis still applies.

You can add or adjust custom eligibility rules. Learn more.

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 14, 2026
@juliusmarminge @claude
Merge remote-tracking branch 'origin/main' into t3/server-browser-tit…
9d792b4
…le-updates

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge
juliusmarminge force-pushed the t3/server-browser-title-updates branch from 90922f0 to 9d792b4 Compare November 14, 2026 14:01
@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 9441a72
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dda28fa9-e874-4a5f-b061-613f0602a00d
Commits

Reviewing files that changed from the base of the PR and between 34ca841 and 9d792b4.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

ServerBrowser now detects page-title changes and reports updated status without requiring navigation. It also checks navigation state before reporting status. Tests cover title updates across document changes and navigation failures.

Changes: Server Browser title status

Layer / File(s) Summary
Title observation and status reporting
apps/server/src/preview/ServerBrowser.ts
ServerBrowser watches title changes in an isolated execution context. It checks navigation state before reporting and skips duplicate status reports.
Title reporting and navigation tests
apps/server/src/preview/ServerBrowser.test.ts, scripts/scenarios/browser-tab-follows-page-title.e2e.ts
Tests cover navigation failures during pending title reads, title changes across HTML and SVG documents, document replacements, URL changes, and the Browser B title display.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix · Severity of issue fixed: Low

Sequence Diagram(s)

sequenceDiagram
  participant Page as Page DOM
  participant Watcher as Isolated title watcher
  participant Browser as ServerBrowser
  Page->>Watcher: Mutate document title
  Watcher-->>Browser: Resolve title-change promise
  Browser->>Browser: Read title and report status
Loading

Suggested reviewers: juliusmarminge, yuruzuu

Merge Risk: Minimal · previous review 34ca8

The change makes server-runtime Browser tab titles follow page title changes without navigation. No concrete merge-blocking risk was found. The title watcher handles detach, close and navigation cleanly, and the added Chromium-based tests have their browser provisioned in CI.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: server-runtime Browser tab titles now follow page title changes. It uses the conventional commit form and matches the linked issue and the raw summary, which describes…
Description check Passed The description follows the template. It states the problem and the change, links issue #36763 under scope, and gives detailed verification with before/after screenshots and the test commands run. It …
Linked Issues check Passed Issue #36763 requires server-runtime Browser tabs to follow document.title changes that occur without navigation. The PR summary states that ServerBrowser.ts now starts a title watcher in an isola…
Out of Scope Changes check Passed The changed files are apps/server/src/preview/ServerBrowser.ts, its test ServerBrowser.test.ts, and the scenario scripts/scenarios/browser-tab-follows-page-title.e2e.ts. Each change supports the…
Full details: Title check

Explanation

The title names the main change: server-runtime Browser tab titles now follow page title changes. It uses the conventional commit form and matches the linked issue and the raw summary, which describes a title watcher in ServerBrowser.ts.

Full details: Description check

Explanation

The description follows the template. It states the problem and the change, links issue #36763 under scope, and gives detailed verification with before/after screenshots and the test commands run. It also discloses what was not checked (native mobile and desktop-renderer interaction). The Problem section is folded into the opening paragraph rather than a separate heading, and the Scope section reads more like a scope note than a bug-fix justification, but the required information is present.

Full details: Linked Issues check

Explanation

Issue #36763 requires server-runtime Browser tabs to follow document.title changes that occur without navigation. The PR summary states that ServerBrowser.ts now starts a title watcher in an isolated world after a successful page load. The watcher reports the updated page status when the title changes. It also observes head, root, and title-element replacement and standalone SVG titles. The reviewed head contains the titleWatch state on ServerTab and the lastReport deduplication field. The PR also adds a real Chromium behavior test in ServerBrowser.test.ts for successive title changes, head/root replacement, title plus SPA navigation, unchanged URLs, and SVG titles. The PR adds a paired scenario browser-tab-follows-page-title.e2e.ts that fails on base and passes on the final head, per the author's report. Limit: the diff hunks for ServerBrowser.ts were unreadable (changed blobs missing), and the head file read was truncated before the watcher body. The PASS rests on the PR summary, the head state fields, and the reported test runs, not on a direct read of the watcher logic.

Full details: Out of Scope Changes check

Explanation

The changed files are apps/server/src/preview/ServerBrowser.ts, its test ServerBrowser.test.ts, and the scenario scripts/scenarios/browser-tab-follows-page-title.e2e.ts. Each change supports the title-follow objective. The PR reports no storage, migration, wire contract, or desktop-app edits. The PR states that desktop-drawn server-runtime tabs use the same watch. This matches the issue scope because the issue excludes only the separate desktop runtime. The added deduplication and failed-navigation guards are part of the same status-report path. Limit: the watcher body in ServerBrowser.ts could not be fully read, so the scope judgment relies on the PR summary for its contents.

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: 12102c7
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ed9b20e4-fc2f-44d4-b445-02eddbf2b54a
Commits

Reviewing files that changed from the base of the PR and between 12102c7 and 34ca841.

Files selected for processing: 3

  • apps/server/src/preview/ServerBrowser.test.ts
  • apps/server/src/preview/ServerBrowser.ts
  • scripts/scenarios/browser-tab-follows-page-title.e2e.ts

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge

juliusmarminge commented Nov 14, 2026

Copy link
Copy Markdown
Member

Evidence

Load the served title-demo page in a thread’s server-runtime Browser. Once “Original title” appears, click the page button to set document.title to “Updated title” without navigating. Both runs used Chromium, 1280×800, light theme, fresh synthetic project/thread state and the replay provider.

Proven: the scenario failed on base and passed on head. Base retained the stale tab label; head updated it with the URL unchanged.

Before After
719042d942 9d792b496f
Before: stale Original title after click After: Updated title after click
Before recording After recording

Scenario source

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 14, 2026
@juliusmarminge
juliusmarminge merged commit 313f601 into pingdotgg:main Nov 14, 2026
53 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 14, 2026
@t3dotgg t3dotgg mentioned this pull request Nov 14, 2026
test(server): title change test ignores a probe pending at browser close #36818
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Server Browser tabs retain old titles after document.title changes

Uh oh!

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

2 participants

@StiensWout @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.