-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
CFNv2: minor parity assessment and triaging #12871
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
Conversation
Currently, only patch changes are allowed on main. Your PR labels (semver: minor) indicate that it cannot be merged into the main at this time. |
LocalStack Community integration with Pro 2 files ±0 2 suites ±0 1h 45m 21s ⏱️ +14s Results for commit 2c6ffd1. ± Comparison against base commit 1775743. This pull request removes 1 test.
♻️ This comment has been updated with latest results. |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 19m 45s ⏱️ Results for commit 2c6ffd1. ♻️ This comment has been updated with latest results. |
Should we keep the behaviour the test is testing?
99634d3
to
4959841
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great changes! 🎉
class StackNotFoundError(ValidationError): | ||
def __init__(self, stack_name_or_id: str): | ||
if is_stack_arn(stack_name_or_id): | ||
super().__init__(f"Stack with id {stack_name_or_id} does not exist") | ||
else: | ||
super().__init__(f"Stack [{stack_name_or_id}] does not exist") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment: Thanks for the refactoring
@@ -242,18 +242,14 @@ def create_change_set( | |||
request_payload=request, | |||
template=structured_template, | |||
template_body=template_body, | |||
initial_status=StackStatus.REVIEW_IN_PROGRESS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment: Glad that we now how the correct initial status
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: is this file intentional? I didn't see any unskipped test that uses CDK
@@ -66,7 +66,7 @@ def create( | |||
response = kinesis.register_stream_consumer( | |||
StreamARN=model["StreamARN"], ConsumerName=model["ConsumerName"] | |||
) | |||
model["ConsumerARN"] = response["Consumer"]["ConsumerARN"] | |||
model["Id"] = model["ConsumerARN"] = response["Consumer"]["ConsumerARN"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment: nice small fix 👍
09ae1f3
to
4cdd95d
Compare
Test Results (MA/MR) - Preflight, Unit21 983 tests 20 249 ✅ 6m 25s ⏱️ Results for commit 2c6ffd1. |
Test Results (amd64, MA/MR) - Acceptance7 tests 5 ✅ 3m 6s ⏱️ Results for commit 2c6ffd1. |
@@ -394,7 +394,7 @@ jobs: | |||
env: | |||
# add the GitHub API token to avoid rate limit issues | |||
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |||
PYTEST_ARGS: "${{ env.TINYBIRD_PYTEST_ARGS }}${{ env.TESTSELECTION_PYTEST_ARGS }} --splits 4 --group ${{ matrix.group }} --store-durations --clean-durations --ignore=tests/unit/ --ignore=tests/bootstrap" | |||
PYTEST_ARGS: "${{ env.TINYBIRD_PYTEST_ARGS }}${{ env.TESTSELECTION_PYTEST_ARGS }} --splits 4 --group ${{ matrix.group }} --store-durations --clean-durations --ignore=tests/unit/ --ignore=tests/bootstrap --ignore=tests/aws/services/cloudformation/v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding the V2 provider-specific tests to the ignored list 👍
Test Results (amd64, MA/MR) - Integration, Bootstrap 5 files 5 suites 2h 20m 5s ⏱️ Results for commit 2c6ffd1. |
Motivation
While triaging the outstanding work for the CFn v2 provider project, I have made some minor changes (typically minor fixes) to gain us more parity with the v1 provider.
Changes
describe_stack_events
update_stack
aftercreate_stack
(or anotherupdate_stack
)