Skip to content

fix(events): stop Turbopack tracing the whole project - #17

Merged
florianamette merged 1 commit into
mainfrom
fix/events-tracing
Nov 23, 2026
Merged

florianamette merged 1 commit into
mainfrom
fix/events-tracing

Conversation

@florianamette

Copy link
Copy Markdown
Member

Fixes the build warning:

./lib/events/load.ts:32:8
Warning: Dynamic filesystem access causes tracing of the whole project

EVENTS_DIR is built from process.cwd(), so Turbopack traced the whole project for every route that imports the loader. Marking the path /* turbopackIgnore: true */ stops that. The dataset is only read at build time: all event pages are statically generated, and the only routes rendered on request (the [lang] OG and Twitter images) don't use it. So nothing needs to be added back to the trace.

next build passes with no warnings.

🤖 Generated with Claude Code

https://claude.ai/code/session_01E7SxC2W368CjNq9H2oNu2x

…loader

`path.join(process.cwd(), "data/events")` made Turbopack trace every
file in the project ("Dynamic filesystem access causes tracing of the
whole project"). Mark it `turbopackIgnore`: the dataset is only read at
build time, since all event pages are statically generated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01E7SxC2W368CjNq9H2oNu2x
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
evtx-parser Ready Ready Preview Nov 23, 2026 8:30pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T20:29:41.005035Z ab6a0aa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@florianamette
florianamette merged commit ac661b5 into main Nov 23, 2026
3 checks passed
@florianamette
florianamette deleted the fix/events-tracing branch November 23, 2026 20:56

This branch was successfully deployed

1 active deployment
Preview — ab6a0aa6 Deployed Nov 23, 2026 by vercel[bot]
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.

1 participant