Skip to content

Commit e9ad7ea

Browse files
authored
Merge branch 'main' into fix-route53-20250118
2 parents b5a03f6 + f58f80f commit e9ad7ea

File tree

998 files changed

+56657
-62998
lines changed

Some content is hidden

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

998 files changed

+56657
-62998
lines changed

.github/workflows/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ When approved this pushes the PR to the testing pipeline,
5555
thus starting the cli integ test build.
5656
Owner: Core CDK team
5757

58+
### Initial Priority Assignment
59+
60+
[project-prioritization-assignment.yml](project-prioritization-assignment.yml): GitHub action for automatically adding PR's with priorities to the project priority board based on their labels.
61+
Owner: CDK Support team
62+
5863
## Issue Triggered
5964

6065
### Closed Issue Message
@@ -103,3 +108,13 @@ Owner: Core CDK team
103108

104109
[update-contributors.yml](update-contributors.yml): GitHub action that runs monthly to create a pull request for updating a CONTRIBUTORS file with the top contributors.
105110
Owner: Core CDK team
111+
112+
### R2 Priority Assignment
113+
114+
[project-prioritization-r2-assignment.yml](project-prioritization-r2-assignment.yml): GitHub action that runs every 6 hours to add PR's to the priority project board that satisfies R2 Priority.
115+
Owner: CDK Support team
116+
117+
### R5 Priority Assignment
118+
119+
[project-prioritization-r5-assignment.yml](project-prioritization-r5-assignment.yml): GitHub action that runs every day to add PR's to the priority project board that satisfies R5 Priority.
120+
Owner: CDK Support team

.github/workflows/github-merit-badger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
badges: '[beginning-contributor,repeat-contributor,valued-contributor,admired-contributor,star-contributor,distinguished-contributor]'
1818
thresholds: '[0,3,6,13,25,50]'
1919
badge-type: 'achievement'
20-
ignore-usernames: '[rix0rrr,iliapolo,otaviomacedo,kaizencc,comcalvi,TheRealAmazonKendra,mrgrain,pahud,kellertk,ashishdhingra,HBobertz,sumupitchayan,colifran,khushail,moelasmar,paulhcsun,GavinZZ,aaythapa,xazhao,gracelu0,jfuss,shikha372,kirtishrinkhala,godwingrs22,bergjaak,IanKonlog,Leo10Gama,samson-keung,scorbiere,michelle-wangg,jiayiwang7,1kaileychen,saiyush,5d,iankhou,aws-cdk-automation,dependabot[bot],mergify[bot]]'
20+
ignore-usernames: '[rix0rrr,iliapolo,otaviomacedo,kaizencc,comcalvi,TheRealAmazonKendra,mrgrain,pahud,kellertk,ashishdhingra,HBobertz,colifran,khushail,moelasmar,paulhcsun,GavinZZ,aaythapa,xazhao,gracelu0,jfuss,shikha372,kirtishrinkhala,godwingrs22,bergjaak,IanKonlog,Leo10Gama,samson-keung,scorbiere,michelle-wangg,jiayiwang7,1kaileychen,saiyush,5d,iankhou,aws-cdk-automation,dependabot[bot],mergify[bot]]'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PR Prioritization
2+
on:
3+
pull_request_target:
4+
types:
5+
- labeled
6+
- opened
7+
- reopened
8+
- synchronize
9+
- ready_for_review
10+
11+
jobs:
12+
prioritize:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Add PR to Project & Set Priority
17+
uses: actions/github-script@v7
18+
with:
19+
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
20+
script: |
21+
const script = require('./scripts/prioritization/assign-priority.js')
22+
await script({github, context})
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: PR Prioritization R2 Check
2+
on:
3+
schedule:
4+
- cron: '0 */6 * * 1-5' # Runs every 6 hours during weekdays
5+
workflow_dispatch: # Manual trigger
6+
7+
jobs:
8+
update_project_status:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- name: Check and assign R2 Priority to PRs
14+
uses: actions/github-script@v7
15+
with:
16+
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
17+
script: |
18+
const script = require('./scripts/prioritization/assign-r2-priority.js')
19+
await script({github})
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR Prioritization R5 Check
2+
on:
3+
schedule:
4+
- cron: '0 6 * * 1-5' # Runs at 6AM every day during weekdays
5+
workflow_dispatch: # Manual trigger
6+
7+
jobs:
8+
update_project_status:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Check and Assign R5 Priority to PRs
13+
uses: actions/github-script@v7
14+
with:
15+
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
16+
script: |
17+
const script = require('./scripts/prioritization/assign-r5-priority.js')
18+
await script({github})

.mergify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pull_request_rules:
4545
label:
4646
add: [ contribution/core ]
4747
conditions:
48-
- author~=^(rix0rrr|iliapolo|otaviomacedo|kaizencc|comcalvi|TheRealAmazonKendra|mrgrain|pahud|ashishdhingra|kellertk|HBobertz|sumupitchayan|colifran|moelasmar|paulhcsun|GavinZZ|aaythapa|xazhao|gracelu0|jfuss|shikha372|kirtishrinkhala|godwingrs22|bergjaak|samson-keung|IanKonlog|Leo10Gama|scorbiere|michelle-wangg|jiayiwang7|1kaileychen|saiyush|5d|iankhou)$
48+
- author~=^(rix0rrr|iliapolo|otaviomacedo|kaizencc|comcalvi|TheRealAmazonKendra|mrgrain|pahud|ashishdhingra|kellertk|HBobertz|colifran|moelasmar|paulhcsun|GavinZZ|aaythapa|xazhao|gracelu0|jfuss|shikha372|kirtishrinkhala|godwingrs22|bergjaak|samson-keung|IanKonlog|Leo10Gama|scorbiere|michelle-wangg|jiayiwang7|1kaileychen|saiyush|5d|iankhou)$
4949
- -label~="contribution/core"
5050
- name: automatic merge
5151
actions:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
[![NuGet version](https://badge.fury.io/nu/Amazon.CDK.Lib.svg)](https://badge.fury.io/nu/Amazon.CDK.Lib)
88
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/software.amazon.awscdk/aws-cdk-lib/badge.svg)](https://maven-badges.herokuapp.com/maven-central/software.amazon.awscdk/aws-cdk-lib)
99
[![Go Reference](https://pkg.go.dev/badge/github.com/aws/aws-cdk-go/awscdk/v2.svg)](https://pkg.go.dev/github.com/aws/aws-cdk-go/awscdk/v2)
10-
[![Mergify](https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/aws/aws-cdk&style=flat)](https://mergify.io)
1110

1211
[![View on Construct Hub](https://constructs.dev/badge?package=aws-cdk-lib)](https://constructs.dev/packages/aws-cdk-lib)
1312

allowed-breaking-changes.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,4 +942,12 @@ change-return-type:aws-cdk-lib.aws_lambda.FilterRule.null
942942
# output property was mistakenly marked as required even though it should have allowed
943943
# for undefined, i.e optional
944944
changed-type:@aws-cdk/cx-api.CloudFormationStackArtifact.notificationArns
945-
changed-type:aws-cdk-lib.cx_api.CloudFormationStackArtifact.notificationArns
945+
changed-type:aws-cdk-lib.cx_api.CloudFormationStackArtifact.notificationArns
946+
947+
# In aws/aws-cdk#31041, the CDK started emitting booleans and numbers as metadata values.
948+
# Since these types weren't officially declared in the schema, jsii runtime type checking failed to load them.
949+
# The type has now weakened, and when it's used as an output any consuming code will need to account for the possibility of the value being a boolean or number.
950+
# In static languages, the type would already have been treated as a generic Object with required runtime checks.
951+
# See: https://github.com/cdklabs/cloud-assembly-schema/pull/121
952+
weakened:aws-cdk-lib.cloud_assembly_schema.MetadataEntry
953+
weakened:aws-cdk-lib.cx_api.MetadataEntryResult

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"fs-extra": "^9.1.0",
2626
"graceful-fs": "^4.2.11",
2727
"jest-junit": "^13.2.0",
28-
"jsii-diff": "1.104.0",
29-
"jsii-pacmak": "1.104.0",
30-
"jsii-reflect": "1.104.0",
28+
"jsii-diff": "1.106.0",
29+
"jsii-pacmak": "1.106.0",
30+
"jsii-reflect": "1.106.0",
3131
"lerna": "^8.1.8",
3232
"nx": "^19.8.6",
3333
"semver": "^7.6.3",

packages/@aws-cdk-testing/cli-integ/lib/aws.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ interface ClientConfig {
2929
}
3030

3131
export class AwsClients {
32-
public static async default(output: NodeJS.WritableStream) {
33-
const region = process.env.AWS_REGION ?? process.env.AWS_DEFAULT_REGION ?? 'us-east-1';
34-
return AwsClients.forRegion(region, output);
35-
}
3632

3733
public static async forRegion(region: string, output: NodeJS.WritableStream) {
3834
return new AwsClients(region, output);

0 commit comments

Comments
 (0)