Skip to content

Add OpenTelemetry.PersistentStorage.FileSystem to source-build-assets#1741

Merged
baronfel merged 1 commit into
mainfrom
baronfel-add-otel-persistentstorage-filesystem
Jul 8, 2026
Merged

Add OpenTelemetry.PersistentStorage.FileSystem to source-build-assets#1741
baronfel merged 1 commit into
mainfrom
baronfel-add-otel-persistentstorage-filesystem

Conversation

@baronfel

@baronfel baronfel commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

Adds OpenTelemetry.PersistentStorage.FileSystem (and its required dependency OpenTelemetry.PersistentStorage.Abstractions) from the opentelemetry-dotnet-contrib repo to source-build-assets, in preparation for an upcoming change in dotnet/sdk. This follows the exact pattern already used for the existing OpenTelemetry.Instrumentation.Http and OpenTelemetry.Instrumentation.Runtime packages built from the same submodule.

Changes

  • eng/Versions.props — added OpenTelemetryDotNetContribPersistentStorageAbstractionsReleaseVersion and OpenTelemetryDotNetContribPersistentStorageFileSystemReleaseVersion (both 1.0.3).
  • src/externalPackages/projects/opentelemetry-dotnet-contrib.props — added AssemblyVersion / FileVersion-revision override properties (both 1.0.3.1043, revision 1043) and two FileVersionValidationPackage items so the metadata-update tool and ExternalPackageTests validate them against the Microsoft-shipped packages.
  • src/externalPackages/projects/opentelemetry-dotnet-contrib.proj — added restore + pack steps for Abstractions (packed first, since FileSystem references it) and FileSystem.

The submodule pointer is unchanged.

Why version 1.0.3

The pinned submodule commit (b89c765, the Instrumentation.Runtime-1.15.1 tag) contains PersistentStorage sources that are identical to the PersistentStorage-1.0.3 release — the diff between them touches only CHANGELOG.md. The later 1.1.0 tag has real code changes, so 1.0.3 is the correct version for this commit.

Validation

  • Confirmed the Microsoft-shipped 1.0.3 packages ship with AssemblyVersion = FileVersion = 1.0.3.1043 for both assemblies.
  • Packed both projects locally with the source-build build args and verified:
    • Output packages OpenTelemetry.PersistentStorage.Abstractions.1.0.3.nupkg and OpenTelemetry.PersistentStorage.FileSystem.1.0.3.nupkg
    • Assemblies at 1.0.3.1043 across net462 and netstandard2.0
    • FileSystem correctly depends on OpenTelemetry.PersistentStorage.Abstractions 1.0.3

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

Adds OpenTelemetry.PersistentStorage.FileSystem and its required dependency OpenTelemetry.PersistentStorage.Abstractions from the opentelemetry-dotnet-contrib repo, following the pattern used by the existing Instrumentation.Http and Instrumentation.Runtime packages.

The pinned submodule commit's PersistentStorage sources are identical to the PersistentStorage-1.0.3 release (only CHANGELOG.md differs), so both packages build as 1.0.3 with AssemblyVersion = FileVersion = 1.0.3.1043, matching the Microsoft-shipped packages.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@baronfel
baronfel requested a review from a team as a code owner July 8, 2026 15:59
@mthalman
mthalman requested a review from Copilot July 8, 2026 16:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds OpenTelemetry.PersistentStorage.Abstractions and OpenTelemetry.PersistentStorage.FileSystem as source-built external packages from the existing opentelemetry-dotnet-contrib submodule, aligning their version metadata with Microsoft-shipped packages for validation.

Changes:

  • Added release-version properties for the two new OpenTelemetry PersistentStorage packages.
  • Added file/assembly version override metadata + FileVersionValidationPackage entries for both packages.
  • Added restore/pack steps to build the two new packages (packing Abstractions before FileSystem).

Reviewed changes

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

File Description
eng/Versions.props Adds release-version properties for the two new PersistentStorage packages.
src/externalPackages/projects/opentelemetry-dotnet-contrib.props Adds version override metadata and validation items for the new packages.
src/externalPackages/projects/opentelemetry-dotnet-contrib.proj Adds restore/pack steps and per-package version args for the new packages.

Comment thread src/externalPackages/projects/opentelemetry-dotnet-contrib.proj
Comment thread src/externalPackages/projects/opentelemetry-dotnet-contrib.props
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