getsentry / getsentry/sentry-javascript

[Nuxt 5] Fix SWR tracing

オープン
#23,383 コメント 1 件 リアクション 0 件 担当者 1 名 @s1gr1d が担当を希望しています GitHub で見る
javascript
主要言語
TypeScript
スター
8.7k
フォーク
1.8k
平均マージ
1日 17時間
マージ済み PR(30日)
515

説明

Currently, the SWR tests are skipped.

The Nitro 3 runtime shows that route rules are now represented as middleware descriptors.
`event.context.routeRules.cache.options.swr === true` rather than `event.context.routeRules.swr === true`

Debugging ideas: Logging the `event.context.routeRules` value in the test assertions. A better long-term solution may be using Nitro's public route-rules lookup API rather than reading internal context shapes.

コントリビューションガイド

コントリビューションガイドを開く

評価

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

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

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