Skip to content

Skip unsafeptr check for storage SDKs#25856

Merged
jhendrixMSFT merged 2 commits intoAzure:mainfrom
jhendrixMSFT:storage-disable-unsafeptr
Jan 12, 2026
Merged

Skip unsafeptr check for storage SDKs#25856
jhendrixMSFT merged 2 commits intoAzure:mainfrom
jhendrixMSFT:storage-disable-unsafeptr

Conversation

@jhendrixMSFT
Copy link
Copy Markdown
Member

It reports false positives on Windows.
Fix malformed module version string.

It reports false positives on Windows.
Fix malformed module version string.
Copilot AI review requested due to automatic review settings January 9, 2026 18:31
@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Jan 9, 2026
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 pull request addresses two issues: (1) disables the unsafeptr check in go vet for storage SDKs to avoid false positives on Windows related to memory-mapped file handling, and (2) corrects the module version string format by adding the "v" prefix to align with Go module versioning conventions.

  • Adds build script logic to conditionally disable unsafeptr check for storage SDKs on Windows
  • Updates comment documentation in mmf_windows.go to reference the relevant GitHub issue
  • Fixes malformed module version string in azblob from "1.6.3-beta.1" to "v1.6.3-beta.1"

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
sdk/storage/azblob/internal/shared/mmf_windows.go Replaces nolint directive with explanatory comment referencing GitHub issue #58625
sdk/storage/azblob/internal/exported/version.go Adds "v" prefix to module version string to match Go semantic versioning convention
eng/scripts/build.ps1 Adds conditional logic to disable unsafeptr check for storage SDKs on Windows

@jhendrixMSFT jhendrixMSFT enabled auto-merge (squash) January 9, 2026 20:28
@jhendrixMSFT jhendrixMSFT merged commit 35d6071 into Azure:main Jan 12, 2026
11 checks passed
@jhendrixMSFT jhendrixMSFT deleted the storage-disable-unsafeptr branch January 12, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants