Skip to content

Conversation

simonrw
Copy link
Contributor

@simonrw simonrw commented Aug 19, 2025

Motivation

We need to support the language extensions transform to match parity with the V1 provider. We start by implementing the Fn::Length transform to demonstrate general integration with the v1 implementation. We will implement Fn::ForEach in a follow up as this is a more complex change.

Changes

  • Separate local and global transforms in the ChangeSetModelTransformer.transform method
  • TEMPORARILY repurpose resolve_refs_recursively to enable the feature, with the knowledge that the requirements for transforms are much lower, and we can potentially re-purpose the ChangeSetVisitor or similar to re-write this usage after the new provider is released
    • This allows us to repurpose the v1 implementation of the language extensions macro which we know is in parity with AWS and has been validated by customers
  • Unskip the Fn::Length test

@simonrw simonrw added this to the 4.8 milestone Aug 19, 2025
@simonrw simonrw added the semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases label Aug 19, 2025
Copy link

github-actions bot commented Aug 19, 2025

Test Results - Preflight, Unit

22 144 tests  ±0   20 407 ✅ ±0   6m 32s ⏱️ +9s
     1 suites ±0    1 737 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit c8f7914. ± Comparison against base commit 31209be.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 19, 2025

LocalStack Community integration with Pro

  2 files  ±    0    2 suites  ±0   21m 32s ⏱️ - 1h 23m 29s
555 tests  - 4 076  330 ✅  - 3 861  225 💤  - 215  0 ❌ ±0 
557 runs   - 4 076  330 ✅  - 3 861  227 💤  - 215  0 ❌ ±0 

Results for commit c8f7914. ± Comparison against base commit 31209be.

This pull request removes 4076 tests.
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_lambda_dynamodb
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_opensearch_crud
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_search_books
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_setup
tests.aws.scenario.kinesis_firehose.test_kinesis_firehose.TestKinesisFirehoseScenario ‑ test_kinesis_firehose_s3
tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_destination_sns
tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_infra
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_prefill_dynamodb_table
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input0-SUCCEEDED]
tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input1-SUCCEEDED]
…

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 19, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 10s ⏱️ +5s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c8f7914. ± Comparison against base commit 31209be.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 19, 2025

Test Results (amd64) - Integration, Bootstrap

  5 files    5 suites   33m 33s ⏱️
579 tests 355 ✅ 224 💤 0 ❌
585 runs  355 ✅ 230 💤 0 ❌

Results for commit c8f7914.

♻️ This comment has been updated with latest results.

@simonrw simonrw force-pushed the cfn/v2/language-extensions/length branch from c16a2a3 to c8f7914 Compare August 20, 2025 13:56
@simonrw simonrw marked this pull request as ready for review August 20, 2025 15:27
@simonrw simonrw assigned simonrw and pinzon and unassigned simonrw Aug 20, 2025
Copy link
Member

@pinzon pinzon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@simonrw simonrw merged commit a95c522 into main Aug 20, 2025
40 checks passed
@simonrw simonrw deleted the cfn/v2/language-extensions/length branch August 20, 2025 21:05
@bentsku
Copy link
Contributor

bentsku commented Aug 20, 2025

Just a comment: this looks like it was not squashed merged but rebased merged:
Screenshot 2025-08-21 at 00 35 22

@simonrw
Copy link
Contributor Author

simonrw commented Aug 21, 2025

Ah yes thanks @bentsku I guess GH considers the setting global? I had rebase merged some other PRs recently

@bentsku
Copy link
Contributor

bentsku commented Aug 21, 2025

Yeah, I guess it remembers the last value used, not super clear 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: minor Non-breaking changes which can be included in minor releases, but not in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants