Skip to content

Conversation

@hypr2771
Copy link
Contributor

@hypr2771 hypr2771 commented Nov 1, 2025

What does this PR do? What is the motivation?

I personally faced an issue when running an image following exactly instructions in the DataDog documentation.
I could not find my error on Google anywhere else, apart from the official DataDog documentation, which was mentioning it and suggesting an outdated fix (was not working).

I had to look at the underlying building library to search for open issues, which is not necessarily a simple task to anyone since the place to search for is not that straightforward.

I suggest we report the fix suggested in the related repository to official documentation to ease troubleshooting.

Merge instructions

Maybe check whether the issue is closed and the latest release is available. In such case, we should probably change wording to mention we simply need to update to latest version instead of providing a fix.

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

@hypr2771 hypr2771 requested a review from a team as a code owner November 1, 2025 11:20
@brett0000FF
Copy link
Contributor

@hypr2771 - Thanks for the detailed info and suggested content! I'm going to run this by engineering and do some light editing (e.g., I think we should still keep the info about the Paketo buildpack for versions older than 4.6.0, and then create a new section for this issue). Thanks!

@brett0000FF brett0000FF added the under_review Sent to someone outside of the docs team for review. label Nov 3, 2025
Adds a troubleshooting section for an `exec.d/toggle` error in
Spring Native builds. Documents the `BP_NATIVE_IMAGE=true` workaround.
Copy link
Contributor

@brett0000FF brett0000FF left a comment

Choose a reason for hiding this comment

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

@hypr2771 - Thanks again for this info! I validated it and did a quick edit to keep the "older than 4.6.0" section separate from this new one. Appreciate you contributing to our docs! 🚀

@brett0000FF brett0000FF merged commit dbd74f6 into DataDog:master Nov 7, 2025
13 checks passed
@hypr2771
Copy link
Contributor Author

hypr2771 commented Nov 8, 2025

@hypr2771 - Thanks for the detailed info and suggested content! I'm going to run this by engineering and do some light editing (e.g., I think we should still keep the info about the Paketo buildpack for versions older than 4.6.0, and then create a new section for this issue). Thanks!

Sure, it seemed pointless to me to indicate to upgrade to a version higher than 4.6.0 since it would have contained the same issue.
Anyway, glad it helped!

@hypr2771 hypr2771 deleted the add-details-on-graalvm-spring-native-image-run-error branch November 8, 2025 16:05
brett0000FF added a commit that referenced this pull request Nov 10, 2025
…ring Native (#32562)

* Add details on error upon starting GraalVM native image built with Spring Native

* Fix Paketo Spring Native build crash

Adds a troubleshooting section for an `exec.d/toggle` error in
Spring Native builds. Documents the `BP_NATIVE_IMAGE=true` workaround.

---------

Co-authored-by: Brett Blue <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

under_review Sent to someone outside of the docs team for review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants