Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Run the orchestrion transform on browser modules

オープン
#24,677 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@chargome がすでに取り組んでいます。

2026年9月24日 から。

評価

この issue はまだ評価されていません。

説明

Remix

Run the orchestrion code transform on browser modules, through the asset server's loader chain, so client side instrumentation works without a bundler.

  • Add a loader that applies the transform to modules under node_modules, resolving the package name and version from the file path.
  • Point orchestrion's dcModule at our browser diagnostics_channel shim.
  • Patch run in @remix-run/ui so component render errors are captured with no application code.

This is the only compile time hook in the Remix 3 client pipeline. It also matters for remix/spa, where the same fetch-router runs in the browser and the Node module hook can never reach it.

Three things have to line up, and each one fails differently:

  • The shim must implement the low level channel API the injected code calls: ch.start.runStores, ch.error.publish, ch.end.publish. The traceSync helpers are not what it uses.
  • ModuleType must be lower case esm. Anything else silently emits a CommonJS require, which the asset server cannot serve.
  • The shim is referenced by public URL and must be in scripts.external, percent encoded exactly as the asset server encodes its own rewrites. A bare specifier does not resolve under pnpm. A mismatch loads two copies of the shim, giving two subscriber registries and no instrumentation, with no error anywhere.

Done when e2e confirms the transform is applied to a served browser module, the injected channel fires in the browser, and a component render error reaches Sentry with mechanism auto.ui.remix_v3.

主要言語
TypeScript
スター
8.7k
フォーク
1.9k
平均マージ
1日 17時間
マージ済み PR(30日)
543

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-javascript のほかの issue

getsentry/sentry-javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。