Repository navigation
Done
Labels
.NETPull requests that update .NET codebreaking-changeIntroduces a breaking changedependenciesPull requests that update a dependency file
Milestone
Description
Objective
Modernize the repository for 3.0.0 without changing any construct's synthesized output.
Scope
- Design: add
docs/designs/v3-modernization.mdcovering all of milestone 3.0.0 (U1–U4, U6, U7, framework and dependency policy, the preview and versioning strategy, and the migration-guide outline). - Target frameworks:
net10.0;net11.0forsrc/LayeredCraft.Cdk.Constructsandtest/LayeredCraft.Cdk.Constructs.Tests. Pin the SDK inglobal.json: latest stable 11.0.x feature band,rollForward: latestFeature,allowPrerelease: false; keeptest.runner = Microsoft.Testing.Platform. - Dependencies (latest compatible stable when implemented; baseline checked 2026-11-24):
Amazon.CDK.Lib2.274.0 → 2.278.0. This raises the consumer floor.Microsoft.SourceLink.GitHub10.0.402 → 11.0.100.xunit.v3.mtp-v23.2.2 → 4.0.3.- Microsoft.Testing.Extensions.CodeCoverage and AwesomeAssertions: confirm current.
- Remove
Microsoft.NET.Test.Sdkandxunit.runner.visualstudioif MTP-only execution works in CI and IDEs (prove it; otherwise keep them, with the reason recorded).
- Tests, Compono-first: replace AutoFixture, AutoFixture.AutoNSubstitute, AutoFixture.Xunit3 and NSubstitute (
TestKit/Attributes/BaseFixtureFactory.csand the six*AutoDataAttributeclasses) with Compono and Compono.XunitV3 (1.4.0 or later). Add Compono.TestDoubles only if test doubles are actually needed. Behavior coverage stays the same. - Workflows: LayeredCraft devops-templates v10.8 → v11.2 (or the latest stable) for pr-build, publish-preview, publish-release, release-drafter and pr-title-check. Adapt to the v11 inputs, including dropping the deprecated
runCdk. .NET versions become 10.0.x and 11.0.x. Update action pins indocs.ymlanddependabot-auto-merge.ymlto their latest stable releases, keeping SHA pinning and the existingpull_request_targetactor guards. This supersedes chore(deps): Bump the "infrastructure" group with 1 update across multiple ecosystems #101. - Build properties: review analyzers, formatting and
Directory.Build.props(including the staleVersionPrefix). - Docs: update
CLAUDE.md, the README and the docs site for the framework and test-stack changes.
Exclusions
Any construct API or behavior change (those are the Lambda and static-assets issues).
Acceptance criteria
- Golden templates (
test/LayeredCraft.Cdk.Constructs.Tests/GoldenTemplates/*.json) are byte-identical. - Full suite passes on net10.0 and net11.0 locally and in CI; coverage is at or above 80%.
- No AutoFixture or NSubstitute references remain; tests use Compono per the Compono skill.
- No prerelease dependencies (any exception justified and owner-approved).
- The PR is labeled
breaking-change, uses afeat!:/chore!:title, and its description separates the intentional .NET 8/9 removal from any upgrade-induced breaking changes. - The design document is reviewed and approved by the owner.
TDD
Refactor-only for the production code (start Green, stay Green). The test-stack migration must keep every behavior assertion.
Owner gates
Implementation authorization; merge (publishes the first 3.0.0-preview.N).
Milestone v3.0.0 · epic #108 · Beads cdkc-2lh.2 (epic cdkc-2lh).
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .NET codebreaking-changeIntroduces a breaking changedependenciesPull requests that update a dependency file
Activity
fix: pass the option structs CDK expects for function URLs and behaviors
build!: target net10.0/net11.0, pin SDK 11.0.100 and update dependencies
docs: add the 3.0.0 design and complete the CDK type-collision note
build: remove VSTest packages and the AutoFixture/NSubstitute version…
chore(beads): record #109 execution beads (cdkc-2lh.2.x, cdkc-2lh.7)
chore!: modernize for 3.0.0 (.NET 10/11, Amazon.CDK.Lib 2.278.0, Comp…
ncipollina commentedon Nov 24, 2026
Owner decisions (2026-11-24)
docs/designs/v3-modernization.md) is approved: .NET 10/11 only; updated dependencies and tooling; Compono-first tests; U1–U4 and U7 forLambdaFunctionConstruct; U6 asPrivateStaticAssetsConstruct; U7 acceptsCodeas an alternative toAssetPathwhile preserving existing asset-based usage.WebFunctionConstruct: keep the existing implementation for 3.0.0. The composition-over-L2 investigation is tracked separately and deferred in Deferred: investigate WebFunctionConstruct composition over the AWS CDK Web Function L2 #114; it does not block 3.0.0.ncipollina commentedon Nov 24, 2026
Accepted. Merged in #113 (53607ea). Publish Preview published
LayeredCraft.Cdk.Constructs 3.0.0-preview.30. Every acceptance criterion has evidence: golden templates byte-identical; 595/595 tests on net10.0 and net11.0 locally and in CI (line coverage 94.5%); no AutoFixture/NSubstitute; no prerelease dependencies;breaking-changelabel andchore!:title; design approved by the owner (comment above).feat(static-assets): add PrivateStaticAssetsConstruct (private bucket…