Repository navigation
Split telemetry event schema responsibilities - #17235
Conversation
Greptile SummaryThe PR reorganizes the shared telemetry schema monolith without intentionally changing its public contract.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| src/shared/telemetry-events.ts | Replaces the schema monolith with a compatibility-oriented re-export facade. |
| src/shared/telemetry-event-registry.ts | Centralizes the ordered event-name-to-schema registry using schemas imported from the new focused modules. |
| src/shared/telemetry-event-classification.ts | Derives event types and cohort classification sets from the centralized registry. |
| src/shared/telemetry-property-schemas.ts | Houses reusable telemetry property enums, schemas, and associated public types. |
| src/shared/telemetry-onboarding-event-schemas.ts | Moves onboarding, activation, and smart-sort event schemas into a dedicated module. |
| src/shared/telemetry-repository-event-schemas.ts | Moves repository, workspace-creation, nested-repository, and setup-script event schemas into a dedicated module. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
Producers[Telemetry producers] --> Facade[telemetry-events.ts facade]
Facade --> Properties[Property schemas]
Facade --> Registry[Event registry]
Facade --> Classification[Event classification]
Registry --> App[App schemas]
Registry --> Daemon[Daemon schemas]
Registry --> Repository[Repository schemas]
Registry --> Onboarding[Onboarding schemas]
Registry --> Native[Native feature schemas]
Registry --> Education[Feature education schemas]
Registry --> Classification
Classification --> Validator[Validator and IPC cohort injection]
Reviews (3): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile
…om-3-mobile-browser
…-bottom-4-prune-resolved
…-bottom-5-pane-tree-ops
…bottom-6-mobile-troubleshoot
…lines-bottom-7-external-manager
…es-bottom-8-attach-services
…s-bottom-9-hosted-review-creation
…ax-lines-bottom-10-automation-dispatch-events
… ra/max-lines-bottom-11-settings-navigation
…-lines-bottom-12-daemon-init
…ottom-13-gitlab-item-dialog
…lines-bottom-14-relay-dispatcher
…nes-bottom-15-mobile-host-screen
…lines-bottom-16-runtime-file-client
…-lines-bottom-17-ports-panel
…ottom-18-runtime-environments-pane
…ra/max-lines-bottom-19-local-pty-provider
…lines-bottom-20-cdp-bridge # Conflicts: # src/main/browser/cdp-bridge.ts
…ttom-21-git-handler
…ottom-22-linear-item-drawer
…lines-bottom-23-telemetry-events
…3-telemetry-events # Conflicts: # src/renderer/src/hooks/automation-dispatch-completion.ts
|
Warning Review limit reachedNext included review available in 14 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (12)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
* Split speech session lifecycle * Split terminal output scheduler pipeline * Split mobile browser pane modules * Prune resolved max-lines suppressions * Split pane tree equalization logic * Extract mobile troubleshoot screen styles * Split external automation manager * Split main window service attachments * Split hosted review creation checks * Split automation dispatch event handling * Split settings navigation metadata * Split daemon initialization lifecycle * Split GitLab item dialog * Split relay dispatcher layers * Split mobile host screen * Retarget mobile view settings source test * Split runtime file client layers * Split ports panel layers * Split runtime environments pane layers * Split local PTY provider responsibilities * Split CDP bridge responsibilities * Split relay Git handler responsibilities * Track moved relay Git fetch audit * Split Linear item drawer responsibilities * Split telemetry event schema responsibilities * Fix F3-speech for stablyai#17123 * Fix F1-cycle for stablyai#17131 * Fix F4-navtest for stablyai#17157 * Fix F2-allowlist for stablyai#17161
Summary
Stacked on #17231.
Validation
pnpm tc--deny-warningspnpm run check:code-quality:changedpnpm check:max-lines-ratchetpnpm check:runtime-electron-ratchetpnpm formatgit diff --checkElectron validation is not applicable because this is shared telemetry schema plumbing with no rendered UI change.