No actionable comments were generated in the recent review.
Walkthrough
-
The boot service now resolves its log path by platform. On macOS, it uses
~/Library/Logs/T3Codewhen an account home is available. The installer creates the resolved path’s parent directory, and triage context uses the same resolver.Changes: Boot-service log path
Layer / File(s) Summary Resolve and install the service log path
apps/server/src/cloud/bootService.ts,apps/server/src/cloud/bootService.test.tsThe service resolves a macOS log path under ~/Library/Logs/T3Codewhen an account home is available. Otherwise, it uses the supplied logs directory. Installation creates the resolved path’s parent directory. Tests cover the path, plist output streams, and repair of a legacy plist path.Use the resolved path in triage
apps/server/src/triage/triageSession.ts,apps/server/src/triage/triageSession.test.tsTriage context uses the shared log-path resolver. Tests cover available and unavailable account home paths. Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Medium
Suggested reviewers:
juliusmarminge,t3dotgg
Merge Risk: External image Minimal · up to b6f59
-
The macOS service is configured to write logs under Library, while Linux retains its existing path. No actionable merge-blocking issue was established; native macOS validation remains prudent.
Pre-merge checks: Passed 4
-
Check name Status Explanation Title check Passed The title clearly and concisely describes the main change: moving macOS service logs to the Library directory. Description check Passed The description explains the problem, implementation, scope, verification results, unverified macOS checks, issue reference, and approval consideration. It omits the template headings and does not inc… Linked Issues check Passed Issue #24910requires a usable macOS launchd log path when T3CODE_HOME is external and a successful service restart after installation or update.resolveBootServiceLogPathselects `~/Library/Logs/T3…Out of Scope Changes check Passed The changes remain within issue #24910. The resolver, launchd plist repair, directory creation, boot-service tests, and triage path reporting all support consistent and usable service-log handling. Li…Full details: Description check
-
Explanation
The description explains the problem, implementation, scope, verification results, unverified macOS checks, issue reference, and approval consideration. It omits the template headings and does not include explicit maintainer approval, but it is otherwise mostly complete.
Full details: Linked Issues check
-
Explanation
Issue
#24910requires a usable macOS launchd log path when T3CODE_HOME is external and a successful service restart after installation or update.resolveBootServiceLogPathselects~/Library/Logs/T3Code/boot-service.logon macOS and preserves the existinglogsDirpath on non-macOS systems.makecreates the selected parent directory before loading the service. Reinstallation rewrites legacy plist paths. The added boot-service tests cover the external-home path, directory creation, and legacy plist repair. Triage uses the same resolver. The issue's post-bootstrap health check is a suggested fix, not a stated acceptance requirement. Native launchd behavior remains unverified, but the reviewable implementation and regression tests support the required coding behavior.
Full details: Out of Scope Changes check
-
Explanation
The changes remain within issue
#24910. The resolver, launchd plist repair, directory creation, boot-service tests, and triage path reporting all support consistent and usable service-log handling. Linux retains its prior log-path behavior. No unrelated change is demonstrated.
-
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
External image Recent review info
-
External image Run configuration
-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: maria/takeover-pr-25013
- File: .coderabbit.config.ts
- Commit: b6f5949
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
4202ab80-3c33-4ba7-9934-c6cc07bfc566
External image Commits
-
Reviewing files that changed from the base of the PR and between 30f3dae15280ccbd77c822c11038cd21940d1786 and b6f594945d89425db083b895f8b5a08452a24667.
External image Files selected for processing: 3
-
apps/server/src/cloud/bootService.test.tsapps/server/src/cloud/bootService.tsapps/server/src/triage/triageSession.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
External image Recent review info
-
External image Run configuration
-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: maria/takeover-pr-25013
- File: .coderabbit.config.ts
- Commit: b6f5949
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
4202ab80-3c33-4ba7-9934-c6cc07bfc566
External image Commits
-
Reviewing files that changed from the base of the PR and between 30f3dae15280ccbd77c822c11038cd21940d1786 and b6f594945d89425db083b895f8b5a08452a24667.
External image Files selected for processing: 3
-
apps/server/src/cloud/bootService.test.tsapps/server/src/cloud/bootService.tsapps/server/src/triage/triageSession.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
-