Repository navigation
feat: add TraceSift - #13
Merged
Merged
Conversation
…-plugin into hur/add-tracesift
hurali97
marked this pull request as ready for review
October 15, 2026 06:50
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved service lifecycle, retry, UI capability, rendering, typing, telemetry, and restore-flow issues remain.
6 open findings
Retries repeat timed-out TraceSift requests · New Unexported TraceSiftTreeNode breaks type checking · New TraceSift surface is attributed incorrectly on first paint · New Out-of-order analysis registration overwrites newer results · New Concurrent restore paths can populate stale analysis · New Explore instruction promises an unavailable inline view · New
What changed in this PR
Adds TraceSift profile analysis to the mobile dev plugin, including local service integration, inline results, handoffs, Explore, persistence, telemetry, packaging, and documentation.
Changes:
- Adds authenticated TraceSift client lifecycle and MCP tools.
- Adds CPU/React result cards, charts, and investigation actions.
- Adds telemetry, environment forwarding, tests, and plugin metadata.
| File | Description |
|---|---|
tests/tracesift-ui.test.ts |
Tests controller flows and handoffs. |
tests/tracesift-telemetry.test.ts |
Tests telemetry scrubbing and opt-out. |
tests/tracesift-client.test.ts |
Tests client lifecycle and persistence. |
tests/tracesift-cards.test.ts |
Tests card rendering and interactions. |
tests/plugin.test.ts |
Tests resources and tool metadata. |
tests/mcp-launch.test.ts |
Tests environment forwarding. |
src/ui/tracesift-controller.ts |
Controls TraceSift UI state and actions. |
src/ui/tracesift-app.tsx |
Initializes the TraceSift app. |
src/ui/telemetry.ts |
Registers TraceSift view telemetry. |
src/ui/style.css |
Adds TraceSift styling. |
src/ui/components/tracesift/task-contribution.tsx |
Renders CPU contribution details. |
src/ui/components/tracesift/react-contribution.tsx |
Renders React contribution details. |
src/ui/components/tracesift/explore-tree.ts |
Provides Explore layout helpers. |
src/ui/components/tracesift/contribution-chart.tsx |
Renders contribution charts. |
src/ui/components/tracesift-cards.tsx |
Renders analysis cards and actions. |
src/ui/app.tsx |
Routes the TraceSift surface. |
src/shared/tracesift.ts |
Defines TraceSift schemas and types. |
src/shared/tracesift-labels.ts |
Formats TraceSift labels. |
src/shared/tracesift-contribution.ts |
Computes chart contributions. |
src/shared/telemetry.ts |
Adds the TraceSift telemetry surface. |
src/server/tracesift-tools.ts |
Registers TraceSift MCP tools. |
src/server/tracesift-client.ts |
Manages TraceSift service operations. |
src/server/telemetry.ts |
Records TraceSift metrics. |
src/server/plugin.ts |
Integrates and closes the TraceSift service. |
skills/mobile-dev/SKILL.md |
Documents TraceSift workflows. |
scripts/smoke-package.mjs |
Verifies packaged environment settings. |
docs/telemetry.md |
Documents TraceSift telemetry. |
.mcp.json |
Forwards TraceSift environment variables. |
.codex-plugin/plugin.json |
Updates plugin metadata and prompts. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…-plugin into hur/add-tracesift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
This adds TraceSift to the mobile dev plugin.
Currently supported features:
Planned features:
Test Plan