Skip to content

feat: add TraceSift - #13

Merged
hurali97 merged 8 commits into
mainfrom
hur/add-tracesift
Oct 16, 2026
Merged

hurali97 merged 8 commits into
mainfrom
hur/add-tracesift

Conversation

@hurali97

@hurali97 hurali97 commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This adds TraceSift to the mobile dev plugin.

Currently supported features:

  • All features from TraceSift
  • Additional Investigate button

Planned features:

  • Select frame(s)/functions and send those to Investigation

Test Plan

  • Verified locally

@hurali97
hurali97 marked this pull request as ready for review October 15, 2026 06:50
@hurali97
hurali97 requested a lite review from Copilot October 15, 2026 06:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved service lifecycle, retry, UI capability, rendering, typing, telemetry, and restore-flow issues remain.

6 open findings
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.

Comment thread src/server/tracesift-client.ts Outdated
Comment thread src/ui/components/tracesift/explore-tree.ts Outdated
Comment thread src/ui/telemetry.ts Outdated
Comment thread src/ui/tracesift-controller.ts
Comment thread src/ui/tracesift-controller.ts
Comment thread skills/mobile-dev/SKILL.md Outdated
@hurali97
hurali97 merged commit 72198f0 into main Oct 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants