mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
b3774eaefb
This includes the set of experimental flag states in events sent to the trace upload receiver when `--experimental-trace-upload` is set. It only includes a subset of experimental flags (so things like the trace upload flag itself isn't meaninglessly sent). Since reporting is often limited to the scope of a single span, the flag state attributes are denormalized and copied onto every descendent span. Limiting the set of flags prevents this from being unnecessarily large. Test Plan: Added `test/development` test and built an app and verified these tags are sent with `NEXT_TRACE_UPLOAD_DEBUG` --------- Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by: Luke Sandberg <lukesandberg@users.noreply.github.com>