No actionable comments were generated in the recent review.
External image Recent review info
External image Run configuration
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: main
- File: .coderabbit.config.ts
- Commit: e3592ef
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
34537d63-96c9-4d7f-b6cf-673e921dc3b5
External image Commits
Reviewing files that changed from the base of the PR and between e3592efe7f5dbd3a869e46e608d8f6815e1bb7f6 and 0c547bae59c6a8f172784ee41a0a80315d57b78b.
External image Files selected for processing: 4
apps/server/src/cli/triage.test.tsapps/server/src/cli/triage.tsapps/server/src/cloud/bootService.test.tsapps/server/src/cloud/bootService.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.
Walkthrough
The boot service now resolves its log path by platform. On macOS, it uses the account’s
Library/Logs/T3Codedirectory when a home directory is available, and otherwise falls back to the configured logs directory. Installation creates the resolved path’s parent directory, and triage uses the same resolver.Changes: Boot-service log paths
Layer / File(s) Summary Resolve and install the log path
apps/server/src/cloud/bootService.ts,apps/server/src/cloud/bootService.test.tsresolveBootServiceLogPathselects the log path. Installation creates the resolved path’s parent directory. Tests cover Linux paths, macOS paths, and repair of a legacy plist path.Use the resolved path in triage
apps/server/src/cli/triage.ts,apps/server/src/cli/triage.test.tsTriage now uses the boot-service log path resolver. Tests cover missing and empty HOMEvalues, with and without an account home directory.Priority: External image Normal
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix · Severity of issue fixed: Medium
Suggested reviewers:
juliusmarminge,t3dotgg,macroscopeapp
Merge Risk: External image Minimal · up to 0c547
The service and triage log-path changes are consistent, and no issue remains that warrants delaying merge beyond normal checks.
Pre-merge checks: Passed 4
Check name Status Explanation Title check Passed The title clearly and concisely describes the main change: keeping macOS service logs in the Library directory. Description check Passed The description includes the problem, implementation, scope and approval rationale, verification results, reproduction evidence, and the migration behavior for existing plists. It satisfies the requir… Linked Issues check Passed The changes implement the coding requirements in #24910. On macOS,resolveBootServiceLogPathselects~/Library/Logs/T3Code/boot-service.loginstead of a path belowT3CODE_HOME. Installation crea…Out of Scope Changes check Passed The changes stay within #24910. The Linux log-path assertion protects unchanged platform behavior. The triage change keeps diagnostics aligned with the repaired macOS service path. The added tests ver…Full details: Description check
Explanation
The description includes the problem, implementation, scope and approval rationale, verification results, reproduction evidence, and the migration behavior for existing plists. It satisfies the required template sections.
Full details: Linked Issues check
Explanation
The changes implement the coding requirements in
#24910. On macOS,resolveBootServiceLogPathselects~/Library/Logs/T3Code/boot-service.loginstead of a path belowT3CODE_HOME. Installation creates the resolved log directory beforelaunchctl bootstrap. The generated plist uses the resolved path for both standard streams. Existing legacy plists become out of date and are repaired during installation, as covered bybootService.test.ts.triageCommanduses the same resolved path, with an absolute fallback whenHOMEis missing. The focused tests cover external T3 homes, legacy repair, log placement, and missingHOME.
Full details: Out of Scope Changes check
Explanation
The changes stay within
#24910. The Linux log-path assertion protects unchanged platform behavior. The triage change keeps diagnostics aligned with the repaired macOS service path. The added tests verify the startup fix and its fallback behavior. No unrelated product behavior is changed.
Finishing Touches
🧪 Generate unit tests (beta)
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.