Skip to content

feat: reenable buildvcs#49365

Merged
rdner merged 1 commit intoelastic:mainfrom
kruskall:patch-1
Mar 11, 2026
Merged

feat: reenable buildvcs#49365
rdner merged 1 commit intoelastic:mainfrom
kruskall:patch-1

Conversation

@kruskall
Copy link
Copy Markdown
Member

@kruskall kruskall commented Mar 9, 2026

Proposed commit message

buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it

See golang/go#65339

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works. Where relevant, I have used the stresstest.sh script to run them under stress conditions and race detector to verify their stability.
  • I have added an entry in ./changelog/fragments using the changelog tool.

Disruptive User Impact

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Alternative fix for #49360

Use cases

Screenshots

Logs

buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it
@kruskall kruskall requested a review from a team as a code owner March 9, 2026 17:47
@kruskall kruskall requested review from AndersonQ and rdner March 9, 2026 17:48
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 9, 2026

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 9, 2026

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @kruskall? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 9, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 9, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f76cb762-b2c4-498f-b90d-af985fd90513

📥 Commits

Reviewing files that changed from the base of the PR and between 8ae8d12 and aafc30e.

📒 Files selected for processing (1)
  • dev-tools/mage/crossbuild.go

📝 Walkthrough

Walkthrough

A modification was made to the containerized build environment configuration in GolangCrossBuilder. The -buildvcs=false flag was removed from the GOFLAGS environment variable within the docker run invocation for the Build path. This change alters the VCS check behavior during module resolution, allowing VCS checks to proceed based on Go's default settings rather than being explicitly disabled. The modification affects only build environment configuration with no changes to function signatures, interfaces, or exported types.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • 🛠️ Update Documentation: Commit on current branch
  • 🛠️ Update Documentation: Create PR

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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

@kruskall kruskall added the backport-active-all Automated backport with mergify to all the active branches label Mar 9, 2026
@cmacknz cmacknz added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Mar 9, 2026
@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Mar 9, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic Bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Mar 9, 2026
Copy link
Copy Markdown
Member

@mauri870 mauri870 left a comment

Choose a reason for hiding this comment

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

LGTM, confirmed binaries have vcs information now.

@rdner rdner merged commit acec49c into elastic:main Mar 11, 2026
220 of 221 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

@Mergifyio backport 8.19 9.2 9.3

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 11, 2026

backport 8.19 9.2 9.3

✅ Backports have been created

Details

mergify Bot pushed a commit that referenced this pull request Mar 11, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it

(cherry picked from commit acec49c)
mergify Bot pushed a commit that referenced this pull request Mar 11, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it

(cherry picked from commit acec49c)
mergify Bot pushed a commit that referenced this pull request Mar 11, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it

(cherry picked from commit acec49c)
@kruskall kruskall deleted the patch-1 branch March 11, 2026 16:46
strawgate pushed a commit that referenced this pull request Mar 11, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it
rdner pushed a commit that referenced this pull request Mar 11, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it

(cherry picked from commit acec49c)

Co-authored-by: kruskall <99559985+kruskall@users.noreply.github.com>
rdner pushed a commit that referenced this pull request Mar 11, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it

(cherry picked from commit acec49c)

Co-authored-by: kruskall <99559985+kruskall@users.noreply.github.com>
rdner pushed a commit that referenced this pull request Mar 11, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it

(cherry picked from commit acec49c)

Co-authored-by: kruskall <99559985+kruskall@users.noreply.github.com>
belimawr pushed a commit to belimawr/beats that referenced this pull request Mar 12, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it
belimawr pushed a commit to belimawr/beats that referenced this pull request Mar 12, 2026
buildvcs was disabled a few years ago because of compile errors due to missing git objects. This has been resolved so we should reenable it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-all Automated backport with mergify to all the active branches skip-changelog Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[9.4.0-SNAPSHOT] Commit and build information missing from version output

6 participants