Skip to content

fix(cli): report the running server version from t3 triage - #42

Closed
macodev00 wants to merge 1 commit into
mainfrom
cursor/triage-server-version-redo2-f495
Closed

macodev00 wants to merge 1 commit into
mainfrom
cursor/triage-server-version-redo2-f495

Conversation

@macodev00

Copy link
Copy Markdown
Owner

What Changed

t3 triage now labels packageJson.version as the triage CLI version. When server-runtime.json has a live pid that still belongs to that server, it reads serverVersion from GET /.well-known/t3/environment and records it as the local server version.

The playbook tells the agent to ask which version, device, and surface the bug happened on, then check the probed server version against that answer.

A stalled response body, a reused pid, or a corrupt origin falls back to unavailable or not-running instead of hanging or aborting triage.

Why

npx t3 triage was presenting the CLI package version as the installed app version, so the agent cloned the wrong tree. The local server already publishes its build on the unauthenticated environment descriptor. The probe ignores a pid that no longer belongs to the recorded server, stops waiting when the body never finishes, and keeps writing context when origin is not a URL.

Fixes pingdotgg#13337
pingdotgg#13337

UI Changes

None.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Grok 4.7 via Cursor cloud agent.

Open in Web Open in Cursor 

npx t3 triage was labeling the CLI package version as the installed app version. Record that value as the triage CLI version, and when server-runtime.json still names the live server, read serverVersion from the environment descriptor.

A reused pid, a corrupt origin, or a body that never finishes stays unavailable or not-running so triage still writes its context.

Co-authored-by: maco <macodev00@users.noreply.github.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 24, 2026
@macodev00

Copy link
Copy Markdown
Owner Author

Superseded: upstream pingdotgg#13394 opened and closed after Macroscope Not approved (cap HIT).

@macodev00 macodev00 closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

t3 triage presents the CLI's version as the version the bug happened on

1 participant