Skip to content

chore(setup): shared deployment-profile parity vectors for CDK and CLI #1016

Done

Description

@ayushtr-aws

Deferred from the review of #973 (N7).

The profile parser, FEATURE_CONTEXT_KEYS, DEFAULT_PROFILE_STACK_NAME / STACK_NAME_PATTERN and the capability-catalog interfaces exist in both cdk/src/deployment/ and cli/src/deployment-profile.ts. The current parity test regex-scrapes source text.

Proposal: add contracts/deployment-profile-vectors/ (input profile + context → expected selection/error) that both Jest suites run, following the cedar-parity/ pattern.

Done when: both suites consume the shared vectors, and the source-scraping parity test is removed or reduced.

Activity

  1. krokoko commented on Nov 24, 2026

    @krokoko
    Contributor

    Fixed in #1075, please reopen if you still face any issue, thanks !

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions