Skip to content

feat(web): show server versions on remote connections - #7271

Open
omarcresp wants to merge 1 commit into
pingdotgg:mainfrom
omarcresp:t3code/show-connection-server-version
Open

feat(web): show server versions on remote connections#7271
omarcresp wants to merge 1 commit into
pingdotgg:mainfrom
omarcresp:t3code/show-connection-server-version

Conversation

@omarcresp

@omarcresp omarcresp commented Aug 16, 2026

Copy link
Copy Markdown

Hello, just added the version in the connections page because i just forgot in what version my remote machines are. This helps me to quickly see and identified which ones i should update
image
image

AI GENERATED FROM HERE

What Changed

Remote environment rows now show the connected server version alongside their existing metadata. The full package version is preserved, including nightly suffixes.

When a disconnected environment still has cached server configuration, the row labels that value as Last seen v…. Environments that have never reported a version remain unchanged.

Why

A client can connect to servers running different T3 Code versions, but Settings only surfaced the exact version when there was a mismatch. Showing the version on every known remote connection makes the environment state obvious without adding a new request or changing any wire contracts.

UI Changes

Before: remote connection metadata only showed the connection type, such as T3 Connect or an SSH target.

After: connected rows append the exact version, such as T3 Connect · v0.0.33-nightly.20260816; disconnected rows with cached configuration show Last seen v….

Screenshot pending attachment from the verified local fixture.

Verification

  • pnpm --filter @t3tools/web exec vp test run src/components/settings/ConnectionsSettings.logic.test.ts --project unit — 11 tests passed
  • pnpm --filter @t3tools/web typecheck
  • targeted lint and format checks passed
  • git diff --check

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for the UI change
  • No video is needed; there is no animation or interaction change

Model/harness: GPT-5.6 Sol via the Codex harness in T3 Code.


Note

Low Risk
Display-only change in settings UI, reusing cached server config with covered formatting logic and no auth or connection behavior changes.

Overview
Remote environment rows in Settings → Connections now include a server version in the metadata line (alongside SSH target and T3 Connect), using existing serverConfig.environment.serverVersion—no new API or contract changes.

A new remoteEnvironmentVersionLabel helper formats the string: connected backends show v{version} (full semver, including nightly suffixes); disconnected backends with cached config show Last seen v{version}; unknown versions add nothing. Unit tests cover those three cases.

Reviewed by Cursor Bugbot for commit 0ccd396. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

[!NOTE]

Show server version labels on remote connections in settings

Adds a remoteEnvironmentVersionLabel utility in ConnectionsSettings.logic.ts that formats a server version string as v{version} when connected or Last seen v{version} when disconnected, returning null when no version is available. Each saved backend row in ConnectionsSettings.tsx now includes this label in its metadata display.

Macroscope summarized 0ccd396.

@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b1df6146-4739-429c-86c3-23a9e47877a4

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

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.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Aug 16, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved 57c8e7d

This PR adds a simple, well-tested pure function to display server version information that already exists in the environment config. The change is purely cosmetic and self-contained with no runtime behavior changes beyond showing additional metadata text.

You can customize Macroscope's approvability policy. Learn more.

- Display connected server version (including nightly suffixes) in connection metadata
- Show "Last seen v…" when disconnected but a cached version is available
@omarcresp
omarcresp force-pushed the t3code/show-connection-server-version branch from 57c8e7d to 0ccd396 Compare August 16, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant