Skip to content

Comments

Fix problem with Go snippet compilation#2144

Merged
abdonpijpelink merged 2 commits intomasterfrom
code-snippets-go-fix
Feb 20, 2026
Merged

Fix problem with Go snippet compilation#2144
abdonpijpelink merged 2 commits intomasterfrom
code-snippets-go-fix

Conversation

@abdonpijpelink
Copy link
Member

I've been running into a problem with running the code snippet build check for Go snippets. It's been returning this error:

error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.

This seems to be common in Docker containers (see for example https://www.sobyte.net/post/2023-02/go-buildvcs/) and can be resolved by adding the -buildvcs=false flag to the Go build command.

@abdonpijpelink abdonpijpelink requested a review from xzfc February 12, 2026 15:25
@netlify
Copy link

netlify bot commented Feb 12, 2026

Deploy Preview for condescending-goldwasser-91acf0 ready!

Name Link
🔨 Latest commit 952fbea
🔍 Latest deploy log https://app.netlify.com/projects/condescending-goldwasser-91acf0/deploys/699850c813f45f0008fe98dd
😎 Deploy Preview https://deploy-preview-2144--condescending-goldwasser-91acf0.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Co-authored-by: xzfc <5121426+xzfc@users.noreply.github.com>
@abdonpijpelink abdonpijpelink merged commit 598f672 into master Feb 20, 2026
7 checks passed
@abdonpijpelink abdonpijpelink deleted the code-snippets-go-fix branch February 20, 2026 12:41
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.

3 participants