-
Notifications
You must be signed in to change notification settings - Fork 4k
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
integ-runner: Something is not right about integs #33561
Comments
Update; I wanted to verify everything I was doing cleanly, so I redid the same integ
After the upgrade;
Next This deployed and returned success
So we are done right??? And the result?
So where did |
The specific elements flagging in the template are
Which is a custom class
creating
and
|
Given how many commits we are doing per week, I can't be the only person who has seen |
Is this specific about any PR you are working on? Did you mean when you run |
No, not specific to any given PR or change, just like you said it's when I run |
I've noticed it on 2 different PRs I worked on, so it's not specific to the changes, it seems like it's the integ behavior itself. Even without a code edit you can recreate this behavior by just deleting a single character in the template snapshot so it will think you need to run an update. Once you update you will see that if you try again to run, it's not actually succeeding. |
More examples
|
Describe the bug
Lately I've been seeing a reoccurring issue with integs.
example
Some
Fn::Join
commands will add this tag at the end,,\"logApiResponseData\":true
, This comes from the actual synth when you use--update-on-failed
, so every time you update the integ, this is added, then when you actually run the integ command to check, you get this error, somehow the integ synth is not adding this and therefore erroring.Every time that I've seen this, I just manually remove
,\"logApiResponseData\":true
, and it's fixed.But I noticed this a lot in many examples when I did my lambda commit which involved a ton of integ updates;
#33291
As mentioned to fix I just removed them for now. I don't have a list of examples but I am working on a PR right now and the error above came from
.../aws-elasticloadbalancingv2/test/integ.alb.oidc.js
Opening this as a general discussion, I haven't actually done any deep dive on this yet, maybe after I finish this PR I will if no one has looked yet
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I'm expecting that
--update-on-failed
andyarn integ
create compatible results. In this case whereyarn integ
would show,\"logApiResponseData\":true
, in it's synth.Current Behavior
,\"logApiResponseData\":true
, is not showing in theyarn integ
synth and erroring.Reproduction Steps
This example is a pain in the butt because certificates.
I'll find a simpler one.
Also you would have to make a small change for it to detect that it's changed, or I think there may be a way to force it, can't remember
yarn integ test/aws-elasticloadbalancingv2/test/integ.alb.oidc.js --update-on-failed
(force?)then
yarn integ test/aws-elasticloadbalancingv2/test/integ.alb.oidc.js
and see the error
Possible Solution
No idea, once I get a chance to look at what
integ-runner
is doing maybe I'll have something. Or if anyone has anything to add / this is known.Additional Information/Context
No response
CDK CLI Version
2.178.2
Framework Version
No response
Node.js Version
18.18.0
OS
MacOS Sequioa 15.3
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: