winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.59k stars 180 forks source link

fix: `wing it` does not wait for process to cleanup #6366

Closed MarkMcCulloh closed 2 weeks ago

MarkMcCulloh commented 2 weeks ago

In my local testing this consistantly fixed my issue with tsoa not killing child processes. I'm not sure which of these changes actually helped.

By submitting this pull request, I confirm that my contribution is made under the terms of the Wing Cloud Contribution License.

github-actions[bot] commented 2 weeks ago

Thanks for opening this pull request! :tada: Please consult the contributing guidelines for details on how to contribute to this project. If you need any assistence, don't hesitate to ping the relevant owner over Slack.

Topic Owner
Wing SDK and utility APIs @chriscbr
Wing Console @ainvoner, @skyrpex, @polamoros
JSON, structs, primitives and collections @hasanaburayyan
Platforms and plugins @hasanaburayyan
Frontend resources (website, react, etc) @tsuf239
Language design @chriscbr
VSCode extension and language server @markmcculloh
Compiler architecture, inflights, lifting @yoav-steinberg
Wing Testing Framework @tsuf239
Wing CLI @markmcculloh
Build system, dev environment, releases @markmcculloh
Library Ecosystem @chriscbr
Documentation @hasanaburayyan
SDK test suite @tsuf239
Examples @hasanaburayyan
Wing Playground @eladcon
monadabot commented 2 weeks ago

Console preview environment is available at https://wing-console-pr-6366.fly.dev :rocket:

Last Updated (UTC) 2024-04-28 17:41
monadabot commented 2 weeks ago

Benchmarks

Comparison to Baseline ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ | Benchmark | Before | After | Change | | :-- | --: | --: | --: | | version | 56ms±0.45 | 57ms±0.97 | +1ms (+0.89%)⬜ | | functions_1.test.w -t sim | 403ms±17.79 | 395ms±4.78 | -9ms (-2.11%)⬜ | | functions_1.test.w -t tf-aws | 815ms±4.57 | 819ms±6.61 | +4ms (+0.55%)⬜ | | jsii_big.test.w -t sim | 2785ms±7.57 | 2798ms±20.17 | +12ms (+0.44%)⬜ | | jsii_big.test.w -t tf-aws | 2985ms±8.89 | 3009ms±14.18 | +24ms (+0.79%)⬜ | | functions_10.test.w -t sim | 489ms±8.78 | 482ms±10.68 | -7ms (-1.52%)⬜ | | functions_10.test.w -t tf-aws | 2010ms±11.07 | 2020ms±8.09 | +10ms (+0.51%)⬜ | | jsii_small.test.w -t sim | 367ms±4.8 | 371ms±3.4 | +4ms (+1.04%)⬜ | | jsii_small.test.w -t tf-aws | 602ms±4.6 | 605ms±4.11 | +2ms (+0.36%)⬜ | | empty.test.w -t sim | 357ms±3.47 | 364ms±2.62 | +6ms (+1.82%)⬜ | | empty.test.w -t tf-aws | 591ms±5.23 | 593ms±3.55 | +2ms (+0.37%)⬜ | | hello_world.test.w -t sim | 389ms±3.54 | 396ms±3.42 | +7ms (+1.81%)⬜ | | hello_world.test.w -t tf-aws | 1508ms±16.43 | 1496ms±5.23 | -11ms (-0.74%)⬜ | ⬜ Within 1.5 standard deviations 🟩 Faster, Above 1.5 standard deviations 🟥 Slower, Above 1.5 standard deviations _Benchmarks may vary outside of normal expectations, especially when running in GitHub Actions CI._
Results |name|mean|min|max|moe|sd| |----|----|----|----|----|----| |version|57ms|56ms|61ms|1ms|1ms| |functions_1.test.w -t sim|395ms|385ms|405ms|5ms|7ms| |functions_1.test.w -t tf-aws|819ms|809ms|835ms|7ms|9ms| |jsii_big.test.w -t sim|2798ms|2759ms|2856ms|20ms|28ms| |jsii_big.test.w -t tf-aws|3009ms|2973ms|3049ms|14ms|20ms| |functions_10.test.w -t sim|482ms|450ms|495ms|11ms|15ms| |functions_10.test.w -t tf-aws|2020ms|1999ms|2041ms|8ms|11ms| |jsii_small.test.w -t sim|371ms|363ms|378ms|3ms|5ms| |jsii_small.test.w -t tf-aws|605ms|592ms|613ms|4ms|6ms| |empty.test.w -t sim|364ms|356ms|368ms|3ms|4ms| |empty.test.w -t tf-aws|593ms|585ms|600ms|4ms|5ms| |hello_world.test.w -t sim|396ms|389ms|406ms|3ms|5ms| |hello_world.test.w -t tf-aws|1496ms|1488ms|1513ms|5ms|7ms|
Last Updated (UTC) 2024-04-28 17:47
mergify[bot] commented 2 weeks ago

Thanks for contributing, @MarkMcCulloh! This PR will now be added to the merge queue, or immediately merged if mark/improve-exiting is up-to-date with main and the queue is empty.

monadabot commented 2 weeks ago

Congrats! :rocket: This was released in Wing 0.73.6.