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(cli): t3 service restart no longer calls an installed service not installed by shivamhwp · Pull Request #45014 · pingdotgg/t3code

Conversation

@shivamhwp

@shivamhwp shivamhwp commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Problem

When the installed service unit names a T3 home that T3 Code can't read, t3 service restart skips the restart and prints "T3 Code service is not installed." A service is installed. The message sends people to t3 service install, which rewrites the unit.

One real way to get there: edit the unit with systemctl --user edit --full and quote the whole assignment, Environment="T3CODE_HOME=/path". That's systemd's documented form, and systemd still runs the service with the right home, but T3 Code's unit parser doesn't read it.

Change

When restart skips and the status read says a unit is installed but names no home, it now says so and points at the unit file:

A T3 Code service definition was found, but its T3 home could not be determined, so it was not restarted. Check ~/.config/systemd/user/t3code.service.

It still says "not installed" when there's no unit. The other-home case from #29848 is already on main (status.otherBaseDir), so this carries the remaining piece from that PR.

Scope

Supersedes #29848 by @saphid (rebased onto current main, which already has the other-home message), keeping the unknown-home fix from its second commit. Both are credited as co-authors.

Verification

On a fresh Ubuntu 24.04 VM with a real per-user systemd service, commit 3b20b6b2000:

  1. t3 service install --base-dir ~/t3-proof-home, service active.
  2. systemctl --user edit --full t3code.service, quoting the assignment to Environment="T3CODE_HOME=/home/user/t3-proof-home". After a restart, systemctl --user show -p Environment still shows T3CODE_HOME=/home/user/t3-proof-home.
  3. t3 service restart --base-dir ~/t3-proof-home:
# origin/main 29886e21597
T3 Code service is not installed.

# this branch
A T3 Code service definition was found, but its T3 home could not be determined, so it was not restarted. Check /home/user/.config/systemd/user/t3code.service.

In both runs, the service's MainPID and start time were unchanged, so the service was not restarted, as before.

  • vp test run apps/server/src/cli/service.test.ts: the new case fails on main (restart says a service whose home it cannot determine was not restarted) and 19/19 pass on this branch.
  • vp run check:changed passes.

Not shown: launchd on macOS. The message change is platform-neutral, but I only installed a real systemd unit.

Created with Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@saphid @maria-rcks
@claude @shivamhwp
fix(cli): t3 service restart no longer calls an installed service not…
3b20b6b
… installed

When the installed service unit names no T3 home that T3 Code can read,
`t3 service restart` skipped it and printed "T3 Code service is not
installed." It now says the service's home could not be determined and
points at the unit file.

Co-authored-by: Alex Southwell <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 28, 2026
@coderabbitai

coderabbitai Bot commented Nov 28, 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: 8844a69
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e54a5609-5270-438e-bdad-4045853d0c37
Commits

Reviewing files that changed from the base of the PR and between 3b20b6b and 4bd0055.

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

The restart command now reports when an installed service was not restarted because its T3 home could not be determined. The message includes the service unit path. A CLI test covers this outcome.

Changes: Service restart outcome

Layer / File(s) Summary
Report a skipped restart
apps/server/src/cli/service.ts, apps/server/src/cli/service.test.ts
The restart command reports the unit path when it skips restarting an installed service whose T3 home cannot be determined. The test helper accepts the "skipped" outcome, and a CLI test checks the message. The not-installed message remains the fallback.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Possibly related PRs

  • pingdotgg/t3code#29848: This PR also changes the restart skip message for services with an unknown T3 home.

Suggested labels: bugfix

Suggested reviewers: only21mil, macroscopeapp

Merge Risk: Minimal · previous review 3b20b

The restart command now reports clearly when an installed service is skipped because its home cannot be determined, instead of saying it is not installed. The change is small and tested, with no merge-blocking risk identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: restart no longer treats an installed service as not installed. It uses the conventional commit format and the fix(cli) scope. The raw summary and objectives both desc…
Description check Passed The description follows the template's main sections: Problem, Change, Scope, and Verification. The Problem section gives the reproduction steps and the expected behavior. The Change section explains …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: restart no longer treats an installed service as not installed. It uses the conventional commit format and the fix(cli) scope. The raw summary and objectives both describe the same change, which adds an unknown-home message that points to the unit file. The title is specific and accurate, so it passes.

Full details: Description check

Explanation

The description follows the template's main sections: Problem, Change, Scope, and Verification. The Problem section gives the reproduction steps and the expected behavior. The Change section explains the new message and the unchanged not-installed path. The Scope section links the superseded PR #29848 and credits its co-author. The Verification section gives concrete manual steps with before and after output, the focused test results, and the platform not tested (launchd). The description meets the template's requirements.

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: ddeb226
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 836fd640-b666-4f8f-abe4-3302eedfe853
Commits

Reviewing files that changed from the base of the PR and between ddeb226 and 3b20b6b.

Files selected for processing: 2

  • apps/server/src/cli/service.test.ts
  • apps/server/src/cli/service.ts

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

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 28, 2026
@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/service-restart-u…
4bd0055
…nknown-home
@juliusmarminge

juliusmarminge commented Nov 28, 2026

Copy link
Copy Markdown
Member

Evidence

Ran both built CLIs against a real, isolated Linux systemd user service. Installed [email protected], confirmed baseline restart, quoted the entire T3CODE_HOME assignment, reloaded/restarted through systemd, then ran CLI restart and status. Systemd accepted the assignment and reported the service active. The restart timestamp remained unchanged on both sides.

Before After
8844a69bc8 4bd0055244
Before: active service incorrectly reported as not installed After: found definition, unknown home, skipped restart, and unit path
Before recording After recording
Before transcript After transcript

Images and videos render actual timestamped subprocess output; private paths are anonymized. Reproduction driver · Capture renderer

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 28, 2026
@juliusmarminge
juliusmarminge merged commit ed54785 into pingdotgg:main Nov 28, 2026
60 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 28, 2026
@juliusmarminge juliusmarminge mentioned this pull request Nov 28, 2026
fix(cli): t3 service restart no longer says another home's service is not installed #29848
Closed
imetn added a commit to imetn/t4code that referenced this pull request Nov 28, 2026
@imetn
chore(upstream): port 42 high-value post-v0.1.13 PRs (mobile, web, se…
6008d4d
…rver)

Mobile (7 PRs):
- pingdotgg#44387 ProMotion 120Hz scroll stutter fix ([email protected] patch)
- pingdotgg#44161 iOS release status bar icons follow app theme
- pingdotgg#44939 Scroll to end no longer loses next tap
- pingdotgg#44937 image previews opened from composer chip stay closed
- pingdotgg#44660 center working glyph in Dynamic Island
- pingdotgg#44315 tapping image in html_render opens image viewer
- pingdotgg#30661 share a turn's final response from system share sheet (approved orthogonal graft in ThreadFeed.tsx)

Web & Desktop (17 PRs):
- pingdotgg#43101, pingdotgg#30027, pingdotgg#44935, pingdotgg#44900 Markdown code block & file tree preview, large preview Select-All Range copy, rendered table copy
- pingdotgg#44055, pingdotgg#44952, pingdotgg#44992 copy chat table as aligned text for chat apps (CJK & symbol width alignment)
- pingdotgg#33801 Mod+Alt+E maximizes right panel even when closed (T4 Tooltip preserved)
- pingdotgg#39122 snooze a thread indefinitely
- pingdotgg#44023 inline CLI update button in provider status section
- pingdotgg#33827 save files from preview panel to machine
- pingdotgg#44930, pingdotgg#44945, pingdotgg#44916, pingdotgg#44831, pingdotgg#44975, pingdotgg#45021 folder-add/draft/queue/HTML-reload/clear UX fixes

Server & Providers (18 PRs):
- pingdotgg#41726 Usage limits refresh skips full provider health checks (preserving T4 human-only manual Antigravity CLI probe and avoiding ACP health checks on limitsOnly)
- pingdotgg#32114, pingdotgg#43651 checkpoint capture baseline read & parallel source control discovery
- pingdotgg#44979 hung gh auth token no longer stalls MCP connect
- pingdotgg#44860, pingdotgg#44872 Claude main checkout settings/plugins & scratch folder cleanup
- pingdotgg#44902 send image attachments with actual byte magic MIME type (approved orthogonal graft in adapter.ts)
- pingdotgg#44994, pingdotgg#44399, pingdotgg#44406, pingdotgg#44418, pingdotgg#44448, pingdotgg#45014, pingdotgg#44827, pingdotgg#44913, pingdotgg#40454, pingdotgg#44863, pingdotgg#44926 terminal/git/Codex/ACP/CLI/desktop stability fixes

Verified:
- check:t4-locks main..HEAD: only the 2 user-approved orthogonal grafts (ThreadFeed.tsx, adapter.ts)
- Zero telemetry: 0 bytes changed in telemetry modules
- i18n:check pass across all 10 locales (0 untranslated zh.json keys)
- vp fmt --check pass across all 166 changed files
- Typecheck 0 new errors across all 13 touched packages
- Targeted unit tests + all 8 Web Chromium browser test suites (196/196) + independent GPT pre-merge review & fixes verified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

size:XS 0-9 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.

Uh oh!

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

3 participants

@shivamhwp @juliusmarminge @saphid
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.