Skip to content

Update submodule to latest master in microsoft/main#2273

Merged
bot-for-go[bot] merged 2 commits into
microsoft/mainfrom
dev/auto-sync/microsoft/main
May 12, 2026
Merged

Update submodule to latest master in microsoft/main#2273
bot-for-go[bot] merged 2 commits into
microsoft/mainfrom
dev/auto-sync/microsoft/main

Conversation

@bot-for-go
Copy link
Copy Markdown
Contributor

@bot-for-go bot-for-go Bot commented May 8, 2026

Hi! I'm a bot, and this is an automatically generated upstream sync PR. 🔃

After submitting the PR, I will attempt to enable auto-merge in the "merge commit" configuration.

For more information, visit sync documentation in microsoft/go-infra.

Copilot AI review requested due to automatic review settings May 8, 2026 16:03
Copy link
Copy Markdown

@review-bot-for-go review-bot-for-go Bot left a comment

Choose a reason for hiding this comment

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

Thanks! Auto-approving.

@bot-for-go bot-for-go Bot review requested due to automatic review settings May 8, 2026 16:03
@bot-for-go bot-for-go Bot enabled auto-merge May 8, 2026 16:03
@bot-for-go bot-for-go Bot force-pushed the dev/auto-sync/microsoft/main branch from f7e38f9 to a3e4b5b Compare May 11, 2026 16:07
@bot-for-go bot-for-go Bot requested review from Copilot and removed request for Copilot May 11, 2026 16:07
Copilot AI review requested due to automatic review settings May 12, 2026 09:57
@gdams gdams requested a review from a team as a code owner May 12, 2026 09:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This upstream sync updates the patch set to apply cleanly on the latest microsoft/main (submodule master), adjusting the crypto backend and vendoring patches to match upstream file movements and dependency rules.

Changes:

  • Refreshes the vendoring patch to newer dependency versions and updated deps_test.go/vendor_test.go rules for additional github.com/* vendored dependencies.
  • Updates the crypto backend implementation patch to match upstream internal/buildcfg/exp.go changes (notably moving system-crypto support detection to internal/platform and expanding dependency rules).
  • Minor patch metadata/hunk offset updates (indexes/line numbers/stat lines) to keep the series applying cleanly.
Show a summary per file
File Description
patches/0001-Vendor-external-dependencies.patch Updates external dependency versions and vendor-related rules, plus adjusts build import/deps tests to recognize new vendored module paths.
patches/0002-Add-crypto-backend-GOEXPERIMENTs.patch Rebases GOEXPERIMENT/system crypto baseline handling on top of the updated upstream.
patches/0003-Implement-crypto-internal-backend.patch Rebases the backend implementation and related deps/buildcfg changes to updated upstream structure.

Copilot's findings

Comments suppressed due to low confidence (1)

patches/0001-Vendor-external-dependencies.patch:2405

  • This vendor patch is modifying non-vendor Go source files (e.g., src/go/build/deps_test.go and src/go/build/vendor_test.go). Per the patch-series consistency rules, 0001-Vendor-external-dependencies.patch should be limited to vendor/ tree changes plus related module files (go.mod/go.sum/modules.txt) and src/crypto/internal/backend/deps_ignore.go. Please move these go/build test changes into the patch that introduces the crypto backend behavior (or another appropriately scoped patch) so the vendor patch remains vendor-only.
  • Files reviewed: 4/4 changed files
  • Comments generated: 1

Comment on lines 3397 to 3403

// Older versions (anything before V16) of dsymutil don't handle
// the .debug_rnglists section in DWARF5. See
@@ -111,7 +103,7 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
RandomizedHeapBase64: true,
GreenTeaGC: true,
GoroutineLeakProfile: true,
- SystemCrypto: systemCryptoSupported,
+ SystemCrypto: systemCryptoSupported, // if system crypto is supported, enable it by default
}
flags := &ExperimentFlags{
Flags: baseline,
@@ -160,6 +152,16 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
@@ -159,6 +151,16 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
if strings.HasPrefix(f, "no") {
f, val = f[2:], false
}
@bot-for-go bot-for-go Bot merged commit 823ef0e into microsoft/main May 12, 2026
62 checks passed
@bot-for-go bot-for-go Bot deleted the dev/auto-sync/microsoft/main branch May 12, 2026 11:15
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