Skip to content

chore(prlint): remove dead CLI integ test rule and label#37564

Open
vishaalmehrishi wants to merge 1 commit intomainfrom
chore/remove-dead-cli-integ-test-rule
Open

chore(prlint): remove dead CLI integ test rule and label#37564
vishaalmehrishi wants to merge 1 commit intomainfrom
chore/remove-dead-cli-integ-test-rule

Conversation

@vishaalmehrishi
Copy link
Copy Markdown
Contributor

@vishaalmehrishi vishaalmehrishi commented Apr 9, 2026

Reason for this change

The CDK CLI was extracted to aws/aws-cdk-cli, so packages/aws-cdk/lib/ no longer exists in this repo. The noCliChanges PR linter rule checked for changes in that path, meaning it could never fire. The pr-linter/cli-integ-tested exemption label and the workflow comment (example) asking maintainers to add it were dead code.

Description of changes

  • Remove noCliChanges function and its validation rule from lint.ts
  • Remove CLI_INTEG_TESTED from the Exemption enum in constants.ts
  • Remove the comment step from request-cli-integ-test.yml workflow (the pipeline push to test-main-pipeline is unchanged — it still runs for features.ts changes)
  • Remove associated tests and README entry

Description of how you validated changes

Confirmed packages/aws-cdk/lib/ does not exist in the repo. Grep for all references to CLI_INTEG_TESTED, cli-integ-tested, and noCliChanges — all removed or in generated .js/.d.ts files that will be regenerated on build.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team April 9, 2026 19:38
@github-actions github-actions bot added the p2 label Apr 9, 2026
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Apr 9, 2026
@mergify mergify bot temporarily deployed to automation April 9, 2026 19:39 Inactive
@mergify mergify bot temporarily deployed to automation April 9, 2026 19:39 Inactive
@vishaalmehrishi vishaalmehrishi force-pushed the chore/remove-dead-cli-integ-test-rule branch from 21d0824 to 13de6c8 Compare April 9, 2026 19:39
@vishaalmehrishi vishaalmehrishi marked this pull request as ready for review April 9, 2026 19:41
The CDK CLI was extracted to aws/aws-cdk-cli, so
`packages/aws-cdk/lib/` no longer exists in this repo.
The `noCliChanges` linter rule, `CLI_INTEG_TESTED` exemption
label, and the PR comment asking maintainers to add the label
were all dead code.

- Remove `noCliChanges` function and its validation rule
- Remove `CLI_INTEG_TESTED` from Exemption enum
- Remove the comment step from request-cli-integ-test workflow
  (pipeline push to test-main-pipeline is unchanged)
- Remove associated tests and README entry
@vishaalmehrishi vishaalmehrishi force-pushed the chore/remove-dead-cli-integ-test-rule branch from 13de6c8 to d6c4cae Compare April 9, 2026 19:52
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS. p2 pr/needs-maintainer-review This PR needs a review from a Core Team Member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants