Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: "feat(cli): glob-style key matching to context --reset (#19840)" #19888

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

MrArnoldPalmer
Copy link
Contributor

Reverts glob-style context key matching as it caused one of existing integration tests to fail.

refs: edb4119.


All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)?

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

@MrArnoldPalmer MrArnoldPalmer requested a review from a team April 12, 2022 23:16
@gitpod-io
Copy link

gitpod-io bot commented Apr 12, 2022

@github-actions github-actions bot added the p2 label Apr 12, 2022
@aws-cdk-automation aws-cdk-automation requested a review from a team April 12, 2022 23:17
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Apr 12, 2022
@MrArnoldPalmer
Copy link
Contributor Author

@gillisandrew I reverted this in order to fix failing tests and unblock potential CDK releases but we likely can make the feature work without breaking the existing tests. If you have time please take a look and reopen the PR 😄

@MrArnoldPalmer MrArnoldPalmer removed the request for review from a team April 12, 2022 23:19
@gillisandrew
Copy link
Contributor

@MrArnoldPalmer Hi thanks for the feedback, for whatever reason I can't actually get the CLI integration tests running, but having reviewed them it appears that it's testing an unimplemented flag (-f). As there are no unit tests or existing code for that behavior, would you be able to share what the expected behavior should be? Is it just a matter of not throwing when a key is missing?

@mergify
Copy link
Contributor

mergify bot commented Apr 13, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: fc0afb6
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 89ec597 into master Apr 13, 2022
@mergify mergify bot deleted the revert/context-glob branch April 13, 2022 00:43
@mergify
Copy link
Contributor

mergify bot commented Apr 13, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

StevePotter pushed a commit to StevePotter/aws-cdk that referenced this pull request Apr 27, 2022
…9840)" (aws#19888)

Reverts [glob-style context key matching](aws#19840) as it caused one of existing [integration tests](aws#19840) to fail.

refs: edb4119.


----

### All Submissions:

* [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
mergify bot pushed a commit that referenced this pull request Jul 14, 2022
#19890)

New pull request for glob style key matches in context --reset (#19840)

Adds the `--force` flag to ignore missing key errors.

This is in response to #19888 

----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants