Skip to content

feat(redux-devtools-plugin): enable trace symbolication#302

Merged
V3RON merged 3 commits into
callstackincubator:mainfrom
draggie:feat/redux-devtools-trace-symbolication
Jun 12, 2026
Merged

feat(redux-devtools-plugin): enable trace symbolication#302
V3RON merged 3 commits into
callstackincubator:mainfrom
draggie:feat/redux-devtools-trace-symbolication

Conversation

@draggie

@draggie draggie commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

Adds Redux DevTools trace support to @rozenite/redux-devtools-plugin.

The enhancer now accepts trace, traceLimit, and traceSymbolication
options, captures action dispatch stacks, symbolicates React Native bundle
frames through Metro, and renders them in a Rozenite-specific Trace tab. Agent
action details also expose structured trace metadata.

Related Issue

Fixes #207

Context

Simply forwarding trace: true to Redux DevTools was not enough because the
upstream Trace tab tries to fetch source maps from the DevTools panel/browser
origin, which does not reliably match Metro in React Native. This
implementation performs symbolication from the runtime side using Metro’s / symbolicate endpoint, then passes the resolved trace data to the panel.

The Network Activity plugin has similar stack-frame concepts, but its trace
path is tied to request initiators and performs panel-side symbolication.
Redux needs a separate runtime-side flow because the Redux monitor is an
embedded third-party app with a hardcoded Trace tab.

Testing

  • pnpm --filter @rozenite/redux-devtools-plugin typecheck
  • pnpm --filter @rozenite/redux-devtools-plugin exec vitest run
  • pnpm --filter @rozenite/redux-devtools-plugin lint
  • Manual playground validation with trace: true

@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
rozenite Skipped Skipped Jun 9, 2026 11:00am

Request Review

draggie and others added 2 commits June 9, 2026 13:15
Integrate the latest main branch changes and preserve the current website work.
@V3RON V3RON merged commit e1e8761 into callstackincubator:main Jun 12, 2026
1 check 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.

Redux-devtools enable trace

2 participants