Uh oh!
There was an error while loading. Please reload this page.
fix(telemetry): emit the pfc_ event prefix the ingest service routes on - #181
Conversation
The telemetry ingest service selects crash events by the exact name `pfc_crash` and its dashboards query `pfc_*`. The client was emitting `kfc_*`, so every crash report was dropped at ingest and ordinary events were invisible to the dashboards. Restore both outbound prefixes and lock them with JSDoc so a future edit has to acknowledge the wire contract.
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughTelemetry transport prefixes changed from ChangesTelemetry Prefix Restoration
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk:⚪ Minimal · up to This localized telemetry prefix correction is merge-ready after normal checks and review; no actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
commit: |
Uh oh!
There was an error while loading. Please reload this page.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @pymodel/pythinker-code@1.3.0 ### Minor Changes - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Add an experimental MCP management API enabled with `PYTHINKER_CODE_EXPERIMENTAL_MCP_MANAGEMENT=1`. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Add mobile bottom sheets for composer slash commands, mentions, and model selection. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Add multi-root file suggestions to `POST /api/v1/fs:suggest`. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Remove the built-in hosted provider and its sign-in, usage, feedback, model aliases, and SDK methods; configure a supported provider with its own API key or OAuth instead. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Remove the bundled Datasource plugin. ### Patch Changes - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Keep prompt activity and background-task notices consistent between live and reopened transcripts. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Add `[dynamic_workflow].timeout_ms` and `PYTHINKER_CODE_AGENT_DYNAMIC_WORKFLOW_TIMEOUT_MS` timeout settings. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Make skill activation turns editable and reversible without a separate activation card. - [#181](#181) [`199eaa9`](199eaa9) Thanks [@elkaix](https://github.com/elkaix)! - Restore telemetry events and active devices in observability dashboards. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Make Escape handling and focus behavior safe during IME composition. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Make `/tower` commands apply immediately when `PYTHINKER_CODE_EXPERIMENTAL_TOWER=1` is enabled. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Fit model and permission controls into narrow composer layouts. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Preserve the active session and model after provider logout. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Rank file and skill mention suggestions with path-aware matching and highlights. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Refresh provider sign-in state when the browser window regains focus. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Make pinned-session groups resizable and keep their scroll edges visible. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Honor the configured secondary-model thinking effort for subagents. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Steer the first queued prompt into an active session. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Hide button tooltips while their surrounding menu is open. - [#176](#176) [`496169d`](496169d) Thanks [@elkaix](https://github.com/elkaix)! - Keep the model picker inside the visible viewport. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added experimental MCP management, mobile composer sheets, multi-root file suggestions, dynamic workflow timeouts, and editable skill activations. - Improved transcript consistency, mention suggestions, model selection, responsive composer behavior, and session persistence. - Added immediate `/tower` commands and restored telemetry dashboard activity. - **Bug Fixes** - Improved IME-safe input handling, provider sign-in refresh, model picker positioning, and secondary-model settings. - Removed the built-in hosted provider and bundled Datasource plugin. - **Release** - Updated the application to version 1.3.0. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Related Issue
No issue — found while auditing the telemetry path before cutting a release.
Problem
The telemetry ingest service selects crash reports by an exact event name and its
dashboards query events by prefix. The client was emitting a different prefix than
the one the service routes on, so:
Nothing failed loudly — the ingest endpoint returns
200 {ok:true}regardless — sothe client looked healthy while reporting nothing usable.
What changed
packages/telemetry/src/transport.tsandpackages/agent-core-v2/src/app/telemetry/cloudTransport.tsemit the prefix theingest service actually routes on, for both the event name and the payload user id.
to acknowledge what depends on them.
assert the correct value and fail if either constant drifts again.
Verified:
packages/telemetry72/72 and thepackages/agent-core-v2telemetry suites39/39 pass; a repo-wide search finds no remaining use of the old prefix.
[skip changeset] — this fixes an internal reporting path with no user-visible behavior.
Checklist
/approve).gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.Summary by CodeRabbit
Bug Fixes
Tests
Release