Skip to content

fix(remote): persist Web terminal custom titles - #17644

Closed
JasonJarvan wants to merge 3 commits into
stablyai:mainfrom
JasonJarvan:JasonJarvan/web-tab-title-persistence
Closed

JasonJarvan wants to merge 3 commits into
stablyai:mainfrom
JasonJarvan:JasonJarvan/web-tab-title-persistence

Conversation

@JasonJarvan

@JasonJarvan JasonJarvan commented Aug 31, 2026 •

Copy link
Copy Markdown

ELI5

Renaming a terminal tab in Remote Web UI now saves the name on the Orca host, so every connected Web client sees the same title and it remains after refresh or host restart.

What Changed

  • Extended the existing session.tabs.setTabProps RPC with optional nullable customTitle set, clear, and unchanged semantics.
  • Persisted custom titles in host-owned workspace-session tab state and included the authoritative value in subscription snapshots.
  • Added a short-lived client intent guard so stale echo snapshots cannot undo an optimistic rename, while third-party client renames still propagate.
  • Applied a shared 256-character maximum at both the rename input and untrusted RPC boundary.
  • Kept fallback title numbering consistent with persisted tab ordering when a custom title is cleared.
  • Added regression coverage for two Web clients, refresh, host restart, clear, reordered tabs, rapid renames, intent expiry, and older-host compatibility.

Why

Remote Web terminal renames previously lived only in one renderer, so the next host snapshot, browser refresh, or host restart restored the old title. Extending the existing tab-props mutation and snapshot flow keeps the host authoritative without introducing a parallel RPC or stream opcode.

Linked Issue

Fixes #17640

Visual Proof

N/A

No layout or visual styling changed; this fixes persistence and synchronization of the existing inline rename behavior, which is covered by the rendered Playwright check below.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

Current head bf895ebd916ccc0d6f891bf3878434bcf6f558e6 after rebase onto current main:

  • Targeted Vitest: 6 files, 43 tests passed.
  • pnpm tc passed.
  • pnpm run check:code-quality:changed passed with zero findings across 17 changed files.

On the pre-rebase implementation head, pnpm exec electron-vite build --mode e2e passed with only existing warnings, and the Playwright CDP rendered smoke passed 1/1. These heavier checks were not repeated after the conflict resolution; the current-head focused tests, typecheck, and changed-code quality passed.

  • Manual/rendered validation was performed on macOS. Linux, Windows, and a live SSH host were not manually exercised.

AI Disclosure

OpenAI Codex from the GPT-5 family was used for implementation, test creation, review follow-up, and PR description updates. The resulting changes and reviewer findings were inspected and validated with the checks listed above.

Review

  • Addressed the fallback ordering finding by using the same sortOrder and createdAt comparator as snapshot construction.
  • Addressed overlapping title-length findings with one shared UI and RPC limit plus boundary tests.
  • Addressed the echo-window finding with per-environment, per-worktree, per-tab intent reconciliation and rapid-rename coverage.

Agent skill upstream boundary

  • Not applicable; this change modifies no agent skill installer source, tests, fixtures, registries, path tables, comments, or documentation.

Notes

  • Remote wire compatibility: customTitle is an optional field. Updated hosts publish string or null; updated clients retain the local value when an older host omits it. No new stream opcode or required RPC field was added.
  • SSH: execution remains host-owned through the existing runtime RPC and workspace-session persistence path. No local-process inference, SSH command, or disconnect verdict behavior changed.
  • Folder workspaces: no Git-worktree-only lookup, Git command, or path assumption was introduced; the existing session/workspace identifiers and routing are reused.
  • Cross-platform: production changes are platform-neutral TypeScript and add no filesystem separators, child processes, shortcuts, or OS-specific APIs. Only macOS was manually exercised; automated type and unit coverage is platform-neutral.
  • Security: customTitle is validated as nullable text and capped at 256 characters before persistence and fan-out. The change adds no HTML execution, privilege, capability, filesystem, or process surface.
  • Performance: title payloads are bounded; intent entries are cleared on acknowledgement, third-party divergence, expiry, and worktree cleanup. Fallback ordering sorts only the small persisted tab list during a title mutation, not on the terminal render hot path.
  • Mobile and backwards compatibility: older clients ignore the optional snapshot member and continue receiving the resolved title; no mobile-only interaction or required contract field changed.

Checklist

  • This PR is small and focused
  • I explained what changed and why (including ELI5)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • Full pnpm lint, full pnpm test, and default pnpm build were not run locally; the scope-focused quality, typecheck, targeted tests, E2E build, and rendered smoke above passed.

@greptile-apps

greptile-apps Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Greptile Summary

The PR persists custom Web terminal titles on headless remote hosts and reconciles them across clients, refreshes, and host restarts while retaining compatibility with older hosts.

  • Extends the session-tab RPC and snapshot contracts with an optional nullable customTitle.
  • Persists title updates in host-owned workspace-session state and republishes updated snapshots.
  • Adds optimistic client intent reconciliation so stale snapshots do not immediately undo local renames.
  • Uses one shared 256-character limit at both the rename input and RPC validation boundary.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
src/main/runtime/rpc/methods/session-tabs-schemas.ts Adds optional nullable custom-title validation with the shared 256-character persistence boundary.
src/main/runtime/orca-runtime.ts Persists remote terminal titles into host session state and republishes resolved titles in headless snapshots.
src/renderer/src/runtime/web-session-custom-title-intent.ts Tracks optimistic rename intent so stale snapshots do not overwrite an in-flight local title.
src/renderer/src/runtime/web-session-tabs-sync.ts Reconciles authoritative title values while preserving local titles when older hosts omit the new field.
src/renderer/src/components/tab-bar/SortableTab.tsx Applies the same shared title-length limit to the interactive rename field.
tests/e2e/session-tabs-custom-title-persistence.unit.test.ts Covers multi-client propagation, compatibility, persistence, restart, and title clearing.

Sequence Diagram

sequenceDiagram
  participant W1 as Web client 1
  participant H as Remote host
  participant S as Workspace session
  participant W2 as Web client 2
  W1->>H: session.tabs.setTabProps(customTitle)
  H->>H: Validate title length
  H->>S: Persist customTitle
  H-->>W1: Publish updated snapshot
  H-->>W2: Publish updated snapshot
  W1->>W1: Reconcile optimistic intent
  W2->>W2: Adopt authoritative title
Loading

Reviews (2): Last reviewed commit: "fix(remote): harden terminal title synch..." | Re-trigger Greptile

@coderabbitai

coderabbitai Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

📝 Walkthrough

Walkthrough

The change adds nullable custom titles to the session-tab RPC contract and headless runtime persistence. Renderer title changes are mirrored to the runtime, and incoming snapshots reconcile with temporary local title intents. The change also sets a shared 256-character limit and adds tests for title updates, clearing, persistence, and synchronization.

Priority: ➖ Normal

Estimated code review effort:

Severity of issue fixed: Medium

Merge Risk: 🟡 Moderate · up to b4ddd

Remote Web renames may be acknowledged without reaching the owning window, allowing a later snapshot to restore the old title. Confirm or correct that path before merging.

Security Architecture Review

Security architecture risk: 🟡 Moderate · up to b4ddd

The existing tab-visibility check and title-length limit constrain the new field. However, the host can share a changed title even when the backing session was not updated, so clients may see a name that disappears after restart. Remote authorization and storage-failure behavior remain incompletely established.

Retained concerns

  • Medium · reliability · inferred: A headless title mutation can be published to other clients after persistence skips a missing session or stored tab. If snapshot and stored membership differ, the published title is not durable and can revert on recovery or restart. The reachability of that condition remains uncertain.
Security review details

Security Blast Radius

  • inferred — The examined new data path exposes a client-supplied terminal label through host session state and snapshots to clients of that session. The inspected path does not establish a command, credential, or filesystem sink; authorization beyond projected-tab visibility remains unverified.

Trust Boundaries and Controls

  • observed — The untrusted RPC field is length-bounded, and identified remote-client mutations pass through the existing projected-tab visibility guard. That guard does not itself demonstrate transport identity binding or authorization to select a different worktree.

Resilience and Maintainability Implications

  • inferred — Publishing a title after a skipped persistence write can make the host snapshot appear authoritative without a matching durable owner record. This is a conditional state-integrity issue, not an established unauthorized access path.

Hardening Proposals

  • proposed — Confirm that the matching host-owned record accepted the title before publishing it, and define how a failed or rebased write is reported or recovered.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 8.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 25 functions across 22 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: persisting custom titles for remote Web terminals.
Description check ✅ Passed The description covers the required sections, explains the user impact and implementation, links issue #17640, states why visual proof is not applicable, documents testing and limitations, and address…
Linked Issues check ✅ Passed The PR addresses the coding requirements in #17640. SetTabProps now supports optional nullable customTitle with a shared 256-character limit. The renderer forwards rename and clear actions to the …
Out of Scope Changes check ✅ Passed The changes remain within #17640. The shared title-length constant, UI and RPC validation, optimistic intent guard, compatibility handling, projection updates, and added tests directly support reliabl…
  • Fix all pre-merge checks with AI

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4f6fb77a-d8c7-4c83-a01c-7a951cc00808

📥 Commits

Reviewing files that changed from the base of the PR and between ca516a4 and 41419d41afb6f12a07e70317bebe5d7775deee66.

📒 Files selected for processing (12)
  • src/main/runtime/orca-runtime.ts
  • src/main/runtime/rpc/methods/session-tab-agent-capability-mutations.test.ts
  • src/main/runtime/rpc/methods/session-tab-mutation-methods.ts
  • src/main/runtime/rpc/methods/session-tabs-schemas.test.ts
  • src/main/runtime/rpc/methods/session-tabs-schemas.ts
  • src/renderer/src/runtime/web-runtime-session-tab-props.test.ts
  • src/renderer/src/runtime/web-runtime-terminal-actions.ts
  • src/renderer/src/runtime/web-session-tabs-sync.ts
  • src/renderer/src/store/terminals/terminal-tab-attention.ts
  • src/renderer/src/store/terminals/terminal-tab-title-runtime-mirror.test.ts
  • src/shared/runtime-mobile-session-tab-contracts.ts
  • tests/e2e/session-tabs-custom-title-persistence.unit.test.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Comment thread src/main/runtime/orca-runtime.ts Resolved

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one rough edge worth a look, plus a small wire-schema nit.

Reviewed changes

  • customTitle on the session-tabs wire contract — RuntimeMobileSessionTerminalTab gains an optional customTitle?: string | null, and SetTabProps accepts a nullable customTitle alongside color/isPinned/viewMode.
  • Host-side persistence & snapshot fan-out — setMobileSessionTabProps persists customTitle into the workspace session (terminal tab customTitle, unified tab customLabel) and republishes incremental snapshots, resolving the display title through the same fallback chain the full rebuild uses.
  • Client-side mirror & adoption — setTabCustomTitle mirrors renames/clears through the extracted mirrorTerminalTabPropsToRuntime; buildMirroredTerminalTabs adopts the host's customTitle while keeping local titles when an older host omits the field.
  • Test coverage — schema tri-state (set/clear/absent), RPC forwarding, renderer mirror calls, and an end-to-end unit test covering two clients, refresh, host restart, clear, and old-host compatibility.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Length-bounded customTitle — added CUSTOM_TAB_TITLE_MAX_LENGTH = 256, shared by the SetTabProps schema (z.string().max(...)) and the tab rename input (maxLength), so untrusted host input is capped before it reaches persisted session state.
  • Optimistic rename intent tracking — new web-session-custom-title-intent module records each client rename's previous/intended titles and reconciles them against host snapshots: a stale echo keeps the optimistic title, host acknowledgement and third-party values stay authoritative, with a 30s TTL fallback.
  • RPC plumbing for previousCustomTitle — setTabCustomTitle captures the pre-rename title and threads it through setWebRuntimeTabProps via the extracted WebRuntimeTabPropsMutation type; intents are retargeted to the resolved host tab id and cancelled on failure.
  • Sorted host-side fallback title — resolvePersistedHeadlessTerminalTitle now sorts tabs before deriving Terminal N, matching the full-rebuild fallback chain.
  • Test coverage — schema bound, intent reconciliation (stale echo, rapid rename, third-party, expiry), mirror rename/clear calls, and e2e stale-snapshot and sorted-fallback cases.

ℹ️ Minor note

On an older host that omits customTitle from snapshots, each rename records an intent that is never reconciled (reconciliation is gated on the host publishing customTitle), so entries accumulate in the module-level map until worktree teardown. Bounded and negligible in practice — no action required.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@JasonJarvan
JasonJarvan force-pushed the JasonJarvan/web-tab-title-persistence branch from dbf5222 to bf895eb Compare September 2, 2026 14:49
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Relocated host-side customTitle persistence into the mixin chain — persistHeadlessSessionTabProps / applyHeadlessSessionTabPropsToSnapshot / resolvePersistedHeadlessTerminalTitle moved out of the monolithic orca-runtime.ts into orca-runtime-persist-headless-session-tab-props.ts (now protected), with setMobileSessionTabProps in orca-runtime-close-headless-mobile-terminal-tab.ts accepting customTitle.
  • Projected customTitle in the canonical build — buildHeadlessMobileSessionTerminalTabs now emits customTitle on the snapshot terminal tab.
  • Split the renderer sync changes — the buildMirroredTerminalTabs host customTitle reconciliation now lives in web-session-tabs-sync/terminal-build.ts, and intent teardown moved to tracking-lifecycle.ts.

This is a behavior-preserving refactor of the previously approved changes: the same length-bound schema, intent-based echo guard, and sorted fallback title are relocated into the codebase's established mechanically-split mixin files. No new behavior introduced.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@JasonJarvan

Copy link
Copy Markdown
Author

@nwparker This is rebased and ready for maintainer review at bf895ebd91. The current head passes 6 focused files / 43 tests, pnpm tc, and changed-code quality; there are no unresolved review threads. The PR body now distinguishes current-head validation from the earlier pre-rebase E2E/rendered smoke.

Sheng Zhao and others added 3 commits September 25, 2026 15:40
The changed-line casting gate rejects the partial store doubles used by
title persistence unless each assertion carries a SAFETY rationale.
@JasonJarvan
JasonJarvan force-pushed the JasonJarvan/web-tab-title-persistence branch from bf895eb to b4ddda6 Compare September 25, 2026 07:46
@JasonJarvan

Copy link
Copy Markdown
Author

Rebased onto latest origin/main and resolved merge conflicts. Verified typecheck, session tabs schemas/custom title unit tests, and code quality checks pass cleanly.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: deecea92-32ba-4f96-9a50-2a021aecd61a

📥 Commits

Reviewing files that changed from the base of the PR and between bf895ebd916ccc0d6f891bf3878434bcf6f558e6 and b4ddda6.

📒 Files selected for processing (12)
  • src/main/runtime/orca-runtime-close-headless-mobile-terminal-tab.ts
  • src/main/runtime/orca-runtime-persist-headless-session-tab-props.ts
  • src/main/runtime/rpc/methods/session-tab-agent-capability-mutations.test.ts
  • src/main/runtime/rpc/methods/session-tab-mutation-methods.ts
  • src/renderer/src/components/tab-bar/SortableTab.tsx
  • src/renderer/src/runtime/web-session-tabs-sync/terminal-build.ts
  • src/renderer/src/runtime/web-session-tabs-sync/tracking-lifecycle.ts
  • src/renderer/src/store/terminals/terminal-tab-attention.ts
  • src/renderer/src/store/terminals/terminal-tab-title-runtime-mirror.test.ts
  • src/shared/rpc-contract/session-tabs-schemas-params.ts
  • src/shared/runtime-mobile-session-tab-contracts.ts
  • tests/e2e/session-tabs-custom-title-persistence.unit.test.ts

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

args: {
tabId: string
color?: string | null
customTitle?: string | null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

git diff --unified=80 67fc894c8eb94d82f7e44f7789f09039027fb893 b4ddda6f32f9647a7260e7b661544acf3e1489f0 -- src/main/runtime/orca-runtime-close-headless-mobile-terminal-tab.ts
printf '%s\n' '--- target method ---'
rg -n -C 35 'setMobileSessionTabProps|getAvailableAuthoritativeWindow|customTitle' src/main/runtime/orca-runtime-close-headless-mobile-terminal-tab.ts
printf '%s\n' '--- RPC references ---'
rg -n -C 20 'setMobileSessionTabProps' src/main/runtime
printf '%s\n' '--- title references ---'
rg -n -C 12 'customTitle|set.*Title|title.*tab|tab.*title' src/main/runtime src/main

Repository: stablyai/orca

Length of output: 45662


🏁 Script executed:

printf '%s\n' '--- RPC mutation method ---'
sed -n '1,240p' src/main/runtime/rpc/methods/session-tab-mutation-methods.ts
printf '%s\n' '--- authoritative-window references ---'
rg -n -C 18 'getAvailableAuthoritativeWindow' src/main/runtime
printf '%s\n' '--- focused customTitle references ---'
rg -n -C 10 'customTitle' src/main/runtime --glob '*.ts' --glob '!**/*.test.ts'
printf '%s\n' '--- mobile tab prop method references ---'
rg -n -C 12 'persistHeadlessSessionTabProps|applyHeadlessSessionTabPropsToSnapshot|setMobileSessionTabProps' src/main --glob '*.ts'

Repository: stablyai/orca

Length of output: 45665


🏁 Script executed:

printf '%s\n' '--- customTitle source files ---'
rg -l 'customTitle' src --glob '*.ts' --glob '*.tsx' | sort
printf '%s\n' '--- setTabProps and client-kind routing ---'
rg -n -C 12 'session\.tabs\.setTabProps|clientKind|Remote Web|remote web|remoteWeb' src/main src/renderer src/shared --glob '*.ts' --glob '*.tsx' --glob '!**/*.test.ts' | head -n 500
printf '%s\n' '--- renderer/runtime title and tab-prop handlers ---'
rg -n -C 15 'customTitle|setTabProps|tabProps|sessionTabs' src/renderer src/main --glob '*.tsx' --glob '*.ts' --glob '!**/*.test.ts' | head -n 600

Repository: stablyai/orca

Length of output: 42483


🏁 Script executed:

printf '%s\n' '--- web tab-props mutation ---'
sed -n '1,260p' src/renderer/src/runtime/web-runtime-tab-props-mutation.ts
printf '%s\n' '--- web terminal actions ---'
sed -n '1,280p' src/renderer/src/runtime/web-runtime-terminal-actions.ts
printf '%s\n' '--- renderer mirror helper ---'
sed -n '1,190p' src/renderer/src/store/terminals/terminal-tab-attention.ts
printf '%s\n' '--- remote session tab sync handlers ---'
rg -n -C 20 'setTabCustomTitle|customTitle|session\.tabs\.setTabProps|setTabProps' src/renderer/src/runtime src/renderer/src/store --glob '*.ts' --glob '*.tsx' --glob '!**/*.test.ts' | head -n 500

Repository: stablyai/orca

Length of output: 42334


🏁 Script executed:

printf '%s\n' '--- web runtime environment routing ---'
sed -n '1,300p' src/renderer/src/runtime/web-runtime-session-environment.ts
printf '%s\n' '--- web tab props tests ---'
sed -n '1,320p' src/renderer/src/runtime/web-runtime-session-tab-props.test.ts
printf '%s\n' '--- host snapshot title handling ---'
rg -n -C 25 'customTitle|reconcileWebSessionCustomTitleIntent' src/renderer/src/runtime/web-session-tabs-sync/terminal-build.ts src/renderer/src/runtime/web-session-custom-title-intent.ts
printf '%s\n' '--- runtime environment call bindings ---'
rg -n -C 20 'runtimeEnvironments.*call|callEnvironment|runtimeEnvironment.*call' src/main src/renderer/src --glob '*.ts' --glob '*.tsx' --glob '!**/*.test.ts' | head -n 500

Repository: stablyai/orca

Length of output: 42358


Apply Remote Web title writes when an authoritative window exists.

setWebRuntimeTabProps sends customTitle to session.tabs.setTabProps. When getAvailableAuthoritativeWindow() returns a live window, setMobileSessionTabProps returns { updated: true } before persisting the props or notifying the renderer. The authoritative renderer therefore keeps the old title, and a later snapshot can restore it after the optimistic client intent expires. Forward the title write to the authoritative renderer, or report that the write was not applied.

@batonsky

batonsky commented Oct 8, 2026

Copy link
Copy Markdown

I prepared a follow-up for this PR's desktop-to-desktop Remote path (related to #22543), based on your current head b4ddda6.

Commit: 963be7f6f.

It preserves optional customTitle through desktop renderer publication and the final main-process projection, including null clears. Paired-client renames now use the existing host renderer rename bridge; headless persistence stays unchanged.

Six regression checks failed before the fix. The final focused run passed 30 tests, including 11 added checks for publication, clear/legacy behavior, split title isolation, desktop mutation routing and a missing rename bridge. An independent reviewer found no remaining blocking issues.

Full Node/Web typechecks, the expanded original PR suites and the type-aware quality stage did not complete; I stopped those processes. Ordinary/casting/focused-plugin scans found zero new findings. A live Windows-to-Mac session has not been tested. Renderer acknowledgement retains the existing CLI rename semantics.

Please feel free to cherry-pick the commit into this PR. I have not opened a competing PR.

@batonsky

batonsky commented Oct 8, 2026

Copy link
Copy Markdown

I updated the same contribution branch with this PR, the desktop Remote follow-up, and upstream main at 79a8cff.

Ready-to-integrate branch: batonsky/remote-tab-titles-fix, head 56e6af3. This is a forward-only update containing your current PR head; it does not rewrite your commits. Please merge the branch into this PR rather than cherry-picking the integration merge alone.

The single conflict is resolved while preserving both title and customTitle. Review also caught an interaction with main's provisioning title path: it now publishes the same customTitle it persists, so a Remote client receives the provisioned name immediately.

Validation: 75 tests passed across eight files, including new live-snapshot/client/restart coverage and title-only/rename/clear checks. Independent review found no remaining blocking issues. All changed-code quality stages except the type-aware scan passed with zero new findings; git diff --check passed.

Full Node/Web typechecks and the type-aware scan did not complete and were stopped. One test retry hit temporary ENOSPC; the final corrected suite passed. Live Windows-to-Mac testing remains outstanding. No competing PR was opened.

@JasonJarvan

Copy link
Copy Markdown
Author

Closing as superseded: linked issue #17640 was fixed on main by #30037 and shipped in v1.4.261.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote Web UI terminal custom titles revert after snapshot, refresh, or restart

2 participants