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: d414cb5
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
88260a5f-948b-4a3c-b8a5-fc2ea15a877c
External image Commits
Reviewing files that changed from the base of the PR and between a289d0133adae444599da13a6e020b04cdb196ff and c0d83d951efec254b034c0237158cb13656b8b06.
External image Files selected for processing: 2
apps/web/src/observability/clientTracing.tsapps/web/vite.config.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
Walkthrough
The shared package now classifies release channels and builds telemetry resource attributes. Server, desktop, web, and mobile tracing use those attributes. Preview build configuration and desktop WSL environment forwarding are updated, with related tests and documentation.
Changes: Release identity across telemetry
Layer / File(s) Summary Shared release attribute contract
packages/shared/src/releaseResource.ts,packages/shared/package.json,packages/shared/src/relayTracing.ts,packages/shared/src/releaseResource.test.ts,docs/operations/observability.mdThe shared package exports release-channel classification and resource-attribute helpers. Relay tracing accepts caller-provided attributes. Tests and documentation describe the mappings and configuration. Server and desktop resource attributes
apps/server/src/config.ts,apps/server/src/telemetry/AnalyticsService.ts,apps/desktop/src/app/DesktopObservability.ts,apps/desktop/src/backend/DesktopBackendConfiguration.ts,apps/desktop/src/backend/DesktopBackendConfiguration.test.tsServer and desktop telemetry resources use release attributes and configured resource attributes. Analytics uses the server configuration channel. Desktop forwards OTEL_RESOURCE_ATTRIBUTESto WSL, and the test checks the forwarded value.Web release channel inputs
apps/web/src/vite-env.d.ts,apps/web/vite.config.ts,apps/web/src/observability/clientTracing.ts,.github/workflows/web-preview.ymlVite exposes VITE_RELEASE_CHANNELto client code. Web tracing uses it to select release attributes, and the preview workflow sets it topreview.Mobile tracing resource attributes
apps/mobile/src/features/observability/tracing.tsMobile tracing maps recognized app variants to release channels and adds the resulting resource attributes. Priority: External image Low
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix
Possibly related issues
- pingdotgg/t3code#15616: Release attributes can identify Nightly and Alpha traces, but this change does not modify retry behavior.
- pingdotgg/t3code#22235: Process-specific release attributes can distinguish desktop and server telemetry from different release channels, but this change does not coordinate those processes.
Suggested reviewers:
t3dotgg
Merge Risk: External image Minimal · up to c0d83
The supported preview build preserves its release channel, so this change is mergeable.
Pre-merge checks: Passed 4
Check name Status Explanation Title check Passed The title is concise, conventional, and accurately summarizes the main observability change across the applications. Description check Passed The description includes the required Problem, Change, and Verification sections. It explains the cross-component implementation, documents verification results and limitations, and provides scope con… 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: Description check
Explanation
The description includes the required Problem, Change, and Verification sections. It explains the cross-component implementation, documents verification results and limitations, and provides scope context through the referenced discussion and maintainer takeover.
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.