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): Browser tab titles follow page title changes by StiensWout · Pull Request #36764 · pingdotgg/t3code Conversation
Contributor
Server-runtime Browser tabs kept their load-time label when a page changed 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
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
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 reactionsCo-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: GPT 6.1 Sol <[email protected]>
|
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Approved at 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 You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…le-updates Co-Authored-By: Claude Opus 5.5 <[email protected]>
90922f0 to
9d792b4
Compare
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 |
|---|---|
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
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
Suggested reviewers: juliusmarminge, yuruzuu
34ca8The 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.
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.
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.
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.
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.
ed9b20e4-fc2f-44d4-b445-02eddbf2b54aapps/server/src/preview/ServerBrowser.test.tsapps/server/src/preview/ServerBrowser.tsscripts/scenarios/browser-tab-follows-page-title.e2e.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
EvidenceLoad 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.
|
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.
[Bug]: Server Browser tabs retain old titles after document.title changes
There was an error while loading. Please reload this page.