Update to version 0.88.5, adding PostHog integration for startup failure reporting and updating dependencies. Enhance error handling in runExtension to capture startup failures with relevant metadata. Update README with PostHog configuration details. - #65
Conversation
…ure reporting and updating dependencies. Enhance error handling in runExtension to capture startup failures with relevant metadata. Update README with PostHog configuration details.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 15e31e5d83
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const isProductionBrowserBuild = | ||
| process.env.NODE_ENV === "production" && options.platform !== "node"; | ||
| if (!isProductionBrowserBuild || !options.outdir) { | ||
| return originalBuild(options); |
There was a problem hiding this comment.
Gate source-map generation on PostHog configuration
When a browser build runs with NODE_ENV=production but any PostHog CLI variable is missing, this condition still takes the wrapped path and forces sourcemap: "linked"; only the later upload function checks hasPostHogSourceMapConfig() and returns early. Consequently ordinary production releases that have not enabled PostHog start emitting and deploying linked .map artifacts, overriding the caller's prior source-map setting. Include the configuration check before replacing the build options.
Useful? React with 👍 / 👎.
WIP
needs testing and inspection