Skip to content

Commit bd90d09

Browse files
committed
Merge remote-tracking branch 'upstream/main' into scope-local-context-cache
2 parents fe68e7b + e27cd2c commit bd90d09

File tree

3,963 files changed

+1252534
-565330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,963 files changed

+1252534
-565330
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ body:
3131
- type: input
3232
id: working-version
3333
attributes:
34-
label: Last Known Working CDK Version
35-
description: Specify the last known CDK version where this code was functioning as expected (if applicable).
34+
label: Last Known Working CDK Library Version
35+
description: Specify the last known CDK Library version where this code was functioning as expected (if applicable).
3636
validations:
3737
required: false
3838
- type: textarea
@@ -84,19 +84,20 @@ body:
8484
required: false
8585

8686
- type: input
87-
id: cdk-version
87+
id: cdk-lib-version
8888
attributes:
89-
label: CDK CLI Version
90-
description: Output of `cdk version`
89+
label: AWS CDK Library version (aws-cdk-lib)
90+
description: Run `npm ls aws-cdk-lib` at the root of your CDK project
9191
validations:
9292
required: true
9393

9494
- type: input
95-
id: framework-version
95+
id: cdk-cli-version
9696
attributes:
97-
label: Framework Version
97+
label: AWS CDK CLI version
98+
description: Run `cdk --version` for global installation or `npx cdk --version` at the root of your CDK project
9899
validations:
99-
required: false
100+
required: true
100101

101102
- type: input
102103
id: node-version

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,17 @@ body:
4646
- label: This feature might incur a breaking change
4747
required: false
4848
- type: input
49-
id: sdk-version
49+
id: cdk-lib-version
5050
attributes:
51-
label: CDK version used
51+
label: AWS CDK Library version (aws-cdk-lib)
52+
description: Run `npm ls aws-cdk-lib` at the root of your CDK project
53+
validations:
54+
required: true
55+
- type: input
56+
id: cdk-cli-version
57+
attributes:
58+
label: AWS CDK CLI version
59+
description: Run `cdk --version` for global installation or `npx cdk --version` at the root of your CDK project
5260
validations:
5361
required: true
5462
- type: input

.github/ISSUE_TEMPLATE/region.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,17 @@ body:
6969
7070
🚀 Checklist:
7171
72-
* [ ] Add region in [AWS_CDK_METADATA](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L1) (commented out).
73-
* [ ] Add region and zone id in [ROUTE_53_BUCKET_WEBSITE_ZONE_IDS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L40).
74-
* [ ] Add region and zone id in [EBS_ENV_ENDPOINT_HOSTED_ZONE_IDS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L77).
75-
* [ ] Add region and account in [ELBV2_ACCOUNTS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L116).
76-
* [ ] Add region and account in [DLC_REPOSITORY_ACCOUNTS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L149).
77-
* [ ] Add region and account in [APPMESH_ECR_ACCOUNTS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L174).
78-
* [ ] Add region and ARN in [CLOUDWATCH_LAMBDA_INSIGHTS_ARNS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L202) for `1.0.178.0`.
79-
* [ ] Add region and CIDR block address in [FIREHOSE_CIDR_BLOCKS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L498).
80-
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_JAVA_SDK_ARNS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L529) for most recent version in `x86_64` and `arm64`.
81-
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_JAVA_AUTO_INSTRUMENTATION_ARNS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L608) for most recent version in `x86_64` and `arm64`.
82-
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_JAVASCRIPT_SDK_ARNS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L689) for most recent version in `x86_64` and `arm64`.
83-
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_PYTHON_SDK_ARNS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L768) for most recent version in `x86_64` and `arm64`.
84-
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_GENERIC_ARNS](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/build-tools/fact-tables.ts#L847) for most recent version in `x86_64` and `arm64`.
85-
* [ ] Add region in [AWS_REGIONS_AND_RULES](https://github.com/aws/aws-cdk/blob/v2.65.0/packages/@aws-cdk/region-info/lib/aws-entities.ts).
86-
* [ ] Add partition info if the region is also a new partition in [PARTITION_MAP](https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L88)
72+
* [ ] Add region and zone id in [ROUTE_53_BUCKET_WEBSITE_ZONE_IDS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L7).
73+
* [ ] Add region and zone id in [EBS_ENV_ENDPOINT_HOSTED_ZONE_IDS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L48).
74+
* [ ] Add region and account in [ELBV2_ACCOUNTS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L124).
75+
* [ ] Add region and account in [DLC_REPOSITORY_ACCOUNTS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L158).
76+
* [ ] Add region and account in [APPMESH_ECR_ACCOUNTS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L190).
77+
* [ ] Add region and ARN in [CLOUDWATCH_LAMBDA_INSIGHTS_ARNS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L485).
78+
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_JAVA_SDK_ARNS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L1245) for most recent version in `x86_64` and `arm64`.
79+
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_JAVA_AUTO_INSTRUMENTATION_ARNS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L1804) for most recent version in `x86_64` and `arm64`.
80+
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_JAVASCRIPT_SDK_ARNS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L2364) for most recent version in `x86_64` and `arm64`.
81+
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_PYTHON_SDK_ARNS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L2885) for most recent version in `x86_64` and `arm64`.
82+
* [ ] Add region and ARN in [ADOT_LAMBDA_LAYER_GENERIC_ARNS](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L3482) for most recent version in `x86_64` and `arm64`.
83+
* [ ] Add region in [AWS_REGIONS_AND_RULES](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/lib/aws-entities.ts#L27).
84+
* [ ] Add partition info if the region is also a new partition in [PARTITION_MAP](https://github.com/aws/aws-cdk/blob/05968247399ab79a086a37cf665f4d0c3ed051a7/packages/aws-cdk-lib/region-info/build-tools/fact-tables.ts#L88)
8785
* [ ] Run integ tests and update snapshots

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ Closes #<issue number here>.
1010

1111
<!--
1212
What code changes did you make?
13-
Have you made any important design decisions?
14-
What AWS use cases does this change enable? To enable the use cases, which AWS service features are utilized?
13+
Why do these changes address the issue?
14+
What alternatives did you consider and reject?
15+
What design decisions have you made?
1516
-->
1617

1718
### Describe any new or updated permissions being added
1819

19-
<!-- What new or updated IAM permissions are needed to support the changes being introduced ? -->
20+
<!-- What new or updated IAM permissions are needed to support the changes being introduced? -->
2021

2122

2223
### Description of how you validated changes
2324

24-
<!--Have you added any unit tests and/or integration tests?-->
25+
<!-- Have you added any unit tests and/or integration tests? Did you test by hand? -->
2526

2627
### Checklist
2728
- [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

.github/workflows/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ Owner: CDK support team
9292
patch file for downloading.
9393
Owner: Core CDK team
9494

95+
### Yarn Upgrader for deps needing manual work
96+
97+
[yarn-upgrade-need-manual-work.yml](yarn-upgrade-need-manual-work.yml): Upgrades specific dependencies that require manual intervention and creates a PR for review.
98+
For example, some dependency upgrades require manual updates to the integ test snapshots.
99+
Owner: Core CDK team
100+
95101
### AWS Service Spec Update
96102

97103
[spec-update.yml](spec-update.yml): Updates AWS Service Spec and related packages to their latest versions
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Codecov Collect
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
collect:
11+
name: Collect Coverage
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Node
19+
uses: actions/setup-node@v4
20+
21+
- name: Install dependencies
22+
run: yarn install
23+
24+
- name: Build Library
25+
run: npx lerna run build --scope=aws-cdk-lib
26+
27+
- name: Run Core tests
28+
run: cd packages/aws-cdk-lib && yarn test core
29+
30+
- name: Upload Coverage and PR Info
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: coverage-artifacts
34+
path: |
35+
packages/aws-cdk-lib/coverage/cobertura-coverage.xml
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Codecov Upload
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Codecov Collect"]
6+
types:
7+
- completed
8+
9+
permissions:
10+
contents: write
11+
id-token: write
12+
actions: read
13+
14+
jobs:
15+
upload:
16+
name: Upload to Codecov
17+
runs-on: ubuntu-latest
18+
if: >
19+
github.event.workflow_run.event == 'pull_request' &&
20+
github.event.workflow_run.conclusion == 'success'
21+
22+
steps:
23+
- name: Download Artifacts
24+
uses: actions/download-artifact@v4
25+
with:
26+
name: coverage-artifacts
27+
path: ./coverage
28+
github-token: ${{ secrets.GITHUB_TOKEN }}
29+
repository: ${{ github.repository }}
30+
run-id: ${{ github.event.workflow_run.id }}
31+
32+
- name: Upload to Codecov
33+
uses: codecov/codecov-action@v5
34+
with:
35+
files: ./coverage/packages/aws-cdk-lib/coverage/cobertura-coverage.xml
36+
fail_ci_if_error: true
37+
flags: suite.unit
38+
use_oidc: true

.github/workflows/codecov.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)