Skip to content

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

Open
mdroidian wants to merge 1 commit into
mainfrom
codex/roa-32-send-roamjs-extension-startup-failures-to-posthog

Conversation

@mdroidian

Copy link
Copy Markdown
Collaborator

WIP
needs testing and inspection

…ure reporting and updating dependencies. Enhance error handling in runExtension to capture startup failures with relevant metadata. Update README with PostHog configuration details.
@linear

linear Bot commented Aug 24, 2026

Copy link
Copy Markdown

ROA-32

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 7fc07ab5-7502-4aca-9ed0-8349f21be39a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/scripts/index.ts
Comment on lines +89 to +92
const isProductionBrowserBuild =
process.env.NODE_ENV === "production" && options.platform !== "node";
if (!isProductionBrowserBuild || !options.outdir) {
return originalBuild(options);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

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