Skip to content

3.0.0: downstream compatibility validation (Jedi Duel, Sharedale) and stable release #112

Done

Description

@ncipollina

Objective

Prove downstream compatibility, then release 3.0.0 stable (owner-authorized).

Scope

  • Jedi Duel (ncipollina/jedi-duel): on a throwaway branch, consume the latest 3.0.0-preview.N, build Jedi.Duel.Infra with LambdaFunctionConstruct (alias dev, alias-only permission) and the static-assets construct, synthesize the development and nonproduction-bootstrap targets without credentials, and run its infrastructure tests. Record the template diff against the deployed design.
  • Sharedale (sharedale/sharedale) — read-only (owner, 2026-11-24): in an isolated temporary checkout that is never committed, pushed or used to open branches, PRs or issue updates, consume the same preview, build Sharedale.Infrastructure (it uses DynamoDbTableConstruct, CognitoUserPoolConstruct and WebFunctionConstruct), synthesize, and run its infrastructure tests. Optionally prototype one background function on LambdaFunctionConstruct with S3 artifact code (U7).
  • Nothing from the Jedi Duel throwaway branch is merged, and nothing is written to Sharedale. Downstream adoption is tracked in each consumer repository; Sharedale's existing #266 stays untouched.
  • Finalize the migration guide and changelog; the Release Drafter draft resolves to v3.0.0.

Acceptance criteria

  • Downstream builds, synthesis and tests pass against the same preview; evidence (commands, versions, results) recorded here.
  • Migration guide complete.
  • The owner publishes the v3.0.0 GitHub release (which pushes to NuGet).

Dependencies

Blocked by #110 and #111. Blocks the owner's v3.0.0 stable release (cdkc-2lh.6).


Milestone v3.0.0 · epic #108 · Beads cdkc-2lh.5 (epic cdkc-2lh).

Activity

  1. added this to the v3.0.0 milestone on Nov 24, 2026
  2. added
    internal
    on Nov 24, 2026
  3. ncipollina commented on Nov 24, 2026

    @ncipollina
    ContributorAuthor

    Downstream validation evidence — LayeredCraft.Cdk.Constructs 3.0.0-preview.33 (2026-11-24, Claude)

    Both consumers were validated against the same preview, 3.0.0-preview.33 (publish run 45405398977, main @ 6dc5f00), with Amazon.CDK.Lib 2.278.0, SDK 11.0.100 and cdk CLI 2.1148.1. Synthesis was credential-free: AWS profile and keys unset, AWS config and credential files set to /dev/null, instance metadata disabled, and only non-real fixture inputs.

    Sharedale (read-only)

    A temporary clone of sharedale/sharedale main @ 543818b was used, with its push URL disabled. Only Directory.Packages.props changed, locally. Nothing was committed, pushed or opened (no branches, PRs or issues), and the clone was deleted afterwards. #266 was not touched.

    Step Packages Build (Sharedale.Infrastructure.Tests, Release) Infra tests Synth (5 targets)
    Baseline CDK 2.275.0 + constructs 2.6.0 0 warnings, 0 errors 446 passed, 0 failed, 70 skipped 5/5
    Control CDK 2.278.0 + constructs 2.6.0 0 warnings, 0 errors 192 failed hosted targets fail: MissingMethodException Annotations.AddWarningV2 in WebFunctionConstruct
    3.0 CDK 2.278.0 + constructs 3.0.0-preview.33 0 warnings, 0 errors; no source change, no CS0104 446 passed, 0 failed, 70 skipped 5/5
    • The 70 skipped tests are Windows-only PowerShell script tests (SkipUnless = OperatingSystem.IsWindows()), unrelated to this change.
    • Template diff against the baseline (structural JSON diff, all 5 templates): only CDK-version artifacts changed, namely the CDKMetadata analytics string and the asset hash of CDK's own AwsCustomResource handler. No resource created by a LayeredCraft construct changed (DynamoDbTableConstruct, CognitoUserPoolConstruct and WebFunctionConstruct output is identical).
    • The control row shows that 2.x does not run against CDK 2.278.0. The migration guide now says so (docs: add PrivateStaticAssetsConstruct to the 3.0 migration guide #118, c56b061).
    • The optional U7 prototype was not done (optional; kept out of scope).

    Jedi Duel (throwaway branch, never pushed or merged)

    Branch chore/validate-cdk-3-preview (local only), baseline ab7e95a, commit b6d2073. The OpenCode worker (openrouter/deepseek/deepseek-v4.1-flash) made the change; Claude reviewed it and reran every gate.

    • Skill Lambda moved to LambdaFunctionConstruct: alias dev, arm64, 512 MB, 7 s, one alexa-appkit.amazon.com permission scoped to the skill ID with the default alias-only target, and the scoped logging policy. Game assets moved to PrivateStaticAssetsConstruct: OAC, HTTPS-only, game/<sha>/ prefix, no prune, retain on delete, immutable cache-control. No construct API gap: every existing hosted-stack security contract is expressed without raw CDK.
    • dotnet build Jedi.Duel.slnx -c Release: 0 warnings, 0 errors. dotnet test --solution Jedi.Duel.slnx: 97 passed, 0 failed, 0 skipped. dotnet format --verify-no-changes: clean.
    • Running the infra suite unchanged against the migrated stack gave 75/77. The 2 failures were sanctioned test edits only:
      • The logging policy is now a separate AWS::IAM::Policy. The lookup moved; the security assertions are kept, and an assertion linking the policy to its role was added.
      • The JSON LogFormat assertion was replaced. The service-default Text format is an intentional alignment with the existing production pattern (trivia-platform: Serilog + LayeredCraft compact JSON), not an upstream gap.
    • Synthesis: development and nonproduction-bootstrap both succeed. nonproduction-bootstrap is identical to main.
    • development differs: 12 of 15 logical IDs change (construct nesting). The function and log group keep their names (jedi-duel-development-skill), and the role becomes explicitly named. These differences are recorded for the separate Jedi Duel migration approval (ncipollina/jedi-duel#292) and are not decided here. The function description was dropped (cosmetic).

    Release readiness

  4. ncipollina commented on Nov 24, 2026

    @ncipollina
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions