Skip to content

feat: migrate to CompositionBuilder.Share<T>(), bump to 0.9.0-preview.90 - #77

Merged
ncipollina merged 3 commits into
mainfrom
feat/compono-share-graph-wide-sharing
Sep 4, 2026
Merged

feat: migrate to CompositionBuilder.Share<T>(), bump to 0.9.0-preview.90#77
ncipollina merged 3 commits into
mainfrom
feat/compono-share-graph-wide-sharing

Conversation

@ncipollina

Copy link
Copy Markdown
Collaborator

Summary

  • Adds builder.Share<Meter>() to DynamoDbDistributedLockCompositionDefaults and removes [Shared] Meter meter — plus the meter parameter itself, since Share<T>() needs no retrieval parameter to establish identity — from all 13 occurrences across DynamoDbDistributedLockTests.cs and ExponentialBackoffRetryPolicyTests.cs. The unrelated [Shared] IAmazonDynamoDB dynamo usage is untouched.
  • metricAggregator continues to observe the exact Meter instance ILockMetrics publishes to — the migration is observably invisible except for the removed attribute/parameter.
  • Bumps Compono/Compono.XunitV3/Compono.TestDoubles to the real, published 0.9.0-preview.90 (ADR-0056/PLAN-0056, LayeredCraft/compono#117).

Test plan

  • dotnet restore against the real published 0.9.0-preview.90 (not a local dogfood feed)
  • dotnet build -c Release — 0 errors, 0 warnings
  • dotnet test -c Release — 180 total, 0 failed

🤖 Generated with Claude Code

Adds builder.Share<Meter>() to DynamoDbDistributedLockCompositionDefaults
and removes [Shared] Meter meter (and the now-superfluous meter parameter
itself, since Share<T>() needs no retrieval parameter) from all 13
occurrences across DynamoDbDistributedLockTests.cs and
ExponentialBackoffRetryPolicyTests.cs. The unrelated [Shared]
IAmazonDynamoDB dynamo usage is untouched. metricAggregator continues to
observe the exact Meter instance ILockMetrics publishes to.

Bumps Compono/Compono.XunitV3/Compono.TestDoubles to the real published
0.9.0-preview.90 (ADR-0056/PLAN-0056, LayeredCraft/compono#117).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the type: feat New feature label Aug 29, 2026
@ncipollina
ncipollina merged commit 6d6c8df into main Sep 4, 2026
5 checks passed
@ncipollina
ncipollina deleted the feat/compono-share-graph-wide-sharing branch September 4, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant