integ-runner - unclear the correct way of getting past breaking change warning #34392
Unanswered
daveshepherd
asked this question in
Q&A
Replies: 1 comment
-
+1 to the issue and the truly vague instructions. I'm looking for answers as well and while I can, I'm loathe to open an Enterprise Support ticket around a basic doc update but I may have to if there is no clearly defined path to do this, other than adding in a pragma header. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a CDK project that I'm testing with the integ-runner. I have introduced a change that involves destroying some IAM policies, but the integration tests fail with:
I'm not sure how this failure is intended to be resolved.
In the npm package documentation under Update Workflow is re-iterates that destructive change should be indicated on the PR.
This suggests that the test runner is aware of any PRs open for this change, but doesn't tell you what needs to be on the PR for it to know. I also can't find any suggested that the PR is checked in the code base.
I came across this issue 29636 that asks a similar question, but the answer says to call it out in the PR body, but the message doesn't appear to follow a clear pattern and I think it was just suggesting that you might want to flag a breaking change to anyone reviewing a PR with breaking changes in it.
It appears that the solution in that issue was to add
allowDestroy
to the test - but I don't want to always allow the destruction of IAM policies, only on this particular run - so this doesn't seem to be quite right either? I guess you could add it while the change goes through and then remove the flag afterwards.I have also tried to bypass the update workflow so that there are no checks for destructive changes using the
--disable-update-workflow
flag - but this is still flagging up the changes as being destructive and failing my test.Full output from the test failure:
Beta Was this translation helpful? Give feedback.
All reactions