Skip to content

Conversation

JoshuaMoelans
Copy link
Member

@JoshuaMoelans JoshuaMoelans commented May 13, 2025

Vercel previews

DESCRIBE YOUR PR

(from Slack)

lots to clarify, crashpad behavior, min version needed, docker entry point script waiting for the handler etc.

We already have some pages that detail aspects of this, but we want to make sure this is as clear as possible:

Current changes/fixes

  • repositioning wait_for_upload line in backend tradeoffs; otherwise, search showed it under "When shouldn't I use the crashpad backend?". Also added new heading above for it to fall under.
    (note: search doesn't seem to update right away)

    before

    image

    after

    (this is where I'd put a screenshot of the search pointing to Why is crashpad the default (preview) instead, but seems to not update on Vercel 🤔 )

  • added min. version to wait_for_upload mention

  • add docker entry point script to wait for handler (for people below 0.8.3/non-linux)

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

Copy link

vercel bot commented May 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2025 1:21pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview May 20, 2025 1:21pm
develop-docs ⬜️ Ignored (Inspect) Visit Preview May 20, 2025 1:21pm

Copy link

codecov bot commented May 13, 2025

Bundle Report

Changes will increase total bundle size by 243 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 11.2MB 243 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
server/middleware-*.js -5.55kB 1.0kB -84.74%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.75MB -0.0%
../instrumentation.js -3 bytes 1.08MB -0.0%
9523.js -3 bytes 1.05MB -0.0%
../app/[[...path]]/page.js.nft.json 84 bytes 396.81kB 0.02%
../app/platform-redirect/page.js.nft.json 84 bytes 396.72kB 0.02%
../app/sitemap.xml/route.js.nft.json 84 bytes 394.69kB 0.02%

@JoshuaMoelans JoshuaMoelans requested a review from supervacuus May 15, 2025 13:26
@JoshuaMoelans JoshuaMoelans marked this pull request as ready for review May 15, 2025 13:26
@@ -26,6 +28,9 @@ Currently, `crashpad` is the default on all desktop platforms because it
* cooperation with Epic's Easy Anti-Cheat
* CMake build scripts (some users use our backend handler forks solely because of this reason)

<Alert>
When your deployment scenario should wait for the `crashpad_handler` to finish its work before a shutdown-after-crash (systemd, Docker), in Linux environments since SDK version [0.8.3](https://github.com/getsentry/sentry-native/releases/tag/0.8.3), you can enable the [option `crashpad_wait_for_upload`](/platforms/native/configuration/options/#crashpad-wait-for-upload) to delay application shutdown until the upload of the crash report is completed.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
When your deployment scenario should wait for the `crashpad_handler` to finish its work before a shutdown-after-crash (systemd, Docker), in Linux environments since SDK version [0.8.3](https://github.com/getsentry/sentry-native/releases/tag/0.8.3), you can enable the [option `crashpad_wait_for_upload`](/platforms/native/configuration/options/#crashpad-wait-for-upload) to delay application shutdown until the upload of the crash report is completed.
While your deployment scenario should wait for the `crashpad_handler` to finish its work before a shutdown-after-crash (systemd, Docker), in Linux environments since SDK version [0.8.3](https://github.com/getsentry/sentry-native/releases/tag/0.8.3), you can enable the [option `crashpad_wait_for_upload`](/platforms/native/configuration/options/#crashpad-wait-for-upload) to delay application shutdown until the upload of the crash report is completed.

Copy link
Member Author

@JoshuaMoelans JoshuaMoelans May 19, 2025

Choose a reason for hiding this comment

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

Not sure about this change, I meant when as in if, since not all apps run into this problem (only when they are running in a systemd/docker env.)

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

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

LGTM!

@JoshuaMoelans JoshuaMoelans removed request for a team May 19, 2025 10:55
@JoshuaMoelans JoshuaMoelans force-pushed the joshua/crashpad_docker_docs branch from fffffa2 to 9d2ff88 Compare May 20, 2025 13:03
@codeowner-assignment codeowner-assignment bot requested a review from a team May 20, 2025 13:04
@JoshuaMoelans JoshuaMoelans merged commit bfad3e0 into master May 20, 2025
13 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/crashpad_docker_docs branch May 20, 2025 14:04
@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants