-
Notifications
You must be signed in to change notification settings - Fork 200
Comparing changes
Open a pull request
base repository: winglang/wing
base: v0.85.34
head repository: winglang/wing
compare: main
- 8 commits
- 26 files changed
- 3 contributors
Commits on Jan 2, 2025
-
fix(sdk): logformat used in awscdk lambda functions is deprecated (#7228
) The LogFormat used in AWS CDK for Lambda Functions is deprecated, and is being changed to LoggingFormat. ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
Configuration menu - View commit details
-
Copy full SHA for 7aa9d6a - Browse repository at this point
Copy the full SHA 7aa9d6aView commit details
Commits on Jan 5, 2025
-
fix(sdk): test execution in aws-cdk (#7232)
The Pull Request v0.79.13 changed the way the lambdas test ARNs are passed to the TestRunnerClient, unfortunately, it was not noticed that the target awscdk should also be changed. This change allowed the tests to be executed correctly. Closes #7229 ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
Configuration menu - View commit details
-
Copy full SHA for 4315ce3 - Browse repository at this point
Copy the full SHA 4315ce3View commit details -
feat(sdk): adding cloud.Service to awscdk (#7230)
# 👷 WORK IN PROGRESS ... AGAIN 🏗️ Adding `cloud.Service` to AWS-CDK Closes #7226 ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
Configuration menu - View commit details
-
Copy full SHA for 332bd69 - Browse repository at this point
Copy the full SHA 332bd69View commit details
Commits on Jan 6, 2025
-
fix(sdk): some fixes and minor refactoring (#7234)
I made two small corrections and a refactoring in this PR: 1. There was an error in an environment variable related to the bucket name that was passed in the aws-cdk build. 2. When updating the lambda function log, I assigned the new enum to the old variable, but I have now corrected it to the proper variable. 3. It didn't make sense to have a file just to keep a global variable related to the Counter, so I removed the file and moved the global variable to the shared-aws/counter.ts file. ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
Configuration menu - View commit details
-
Copy full SHA for 680203a - Browse repository at this point
Copy the full SHA 680203aView commit details
Commits on Jan 7, 2025
-
feat(docs): add toolchain validation to contrib docs (#7227)
## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [x] Docs updated (only required for features) - [x] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
Configuration menu - View commit details
-
Copy full SHA for dc35958 - Browse repository at this point
Copy the full SHA dc35958View commit details -
chore: replace mergify's
queue_rules.speculative_checks
in favor of…… `merge_queue.max_parallel_checks` (#7238)
Configuration menu - View commit details
-
Copy full SHA for bb7f1ba - Browse repository at this point
Copy the full SHA bb7f1baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9828ae6 - Browse repository at this point
Copy the full SHA 9828ae6View commit details -
fix(sdk): cloud.Service test when using tf-aws target (#7233)
I try to run this test whit the command `wing test --platform tf-aws minimal.test.w` ```w bring cloud; let s = new cloud.Service(inflight () => { log("hello, service!"); return () => { log("stopping!"); }; }); test "start and stop" { assert(s.started()); s.stop(); assert(!s.started()); } ``` but I get this error ```shell $ wing test --platform tf-aws minimal.test.w ✔ Compiling minimal.test.w to tf-aws... ✔ terraform init ✖ terraform apply Command failed: terraform apply -auto-approve ╷ │ Error: creating ECS Cluster (Test.mfet8zI2Z4_cluster): InvalidParameterException: Cluster name must match ^[a-zA-Z0-9\-_]{1,255}$, but was Test.mfet8zI2Z4_cluster │ │ with aws_ecs_cluster.Testmfet8zI2Z4_env0_Service_ECSCluster_1D77BD98, │ on main.tf.json line 116, in resource.aws_ecs_cluster.Testmfet8zI2Z4_env0_Service_ECSCluster_1D77BD98: │ 116: } │ ╵ ✔ terraform destroy Tests 1 failed (1) Snapshots 1 skipped Test Files 1 failed (1) Duration 3m29.12s ``` When objects are generated for the test, the default is to generate the cluster name like this Test.mfet8zI2Z4_cluster. However, the cluster name cannot have a `.`, so I made a small adjustment to replace `.` with `_` to avoid this error ## Checklist - [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [ ] Tests added (always) - [ ] Docs updated (only required for features) - [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
Configuration menu - View commit details
-
Copy full SHA for c10997b - Browse repository at this point
Copy the full SHA c10997bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.85.34...main