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.76k stars 187 forks source link

feat(sdk): network and entrypoint options for `sim.Container` #6667

Closed eladcon closed 2 weeks ago

eladcon commented 3 weeks ago

Checklist

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 3 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 assistance, don't hesitate to ping the relevant owner over Discord.

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 3 weeks ago

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

Last Updated (UTC) 2024-06-10 14:15
monadabot commented 3 weeks ago

Benchmarks

Comparison to Baseline 🟥⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ | Benchmark | Before | After | Change | | :-- | --: | --: | --: | | version | 58ms±0.53 | 61ms±2.03 | +3ms (+4.98%)🟥 | | functions_10.test.w -t sim | 518ms±22.15 | 521ms±12.26 | +3ms (+0.54%)⬜ | | functions_10.test.w -t tf-aws | 2157ms±23.26 | 2176ms±30.25 | +19ms (+0.87%)⬜ | | hello_world.test.w -t sim | 412ms±5.42 | 414ms±6.47 | +1ms (+0.3%)⬜ | | hello_world.test.w -t tf-aws | 1473ms±9.81 | 1491ms±12.83 | +18ms (+1.19%)⬜ | | functions_1.test.w -t sim | 409ms±4.03 | 417ms±6.32 | +8ms (+2.02%)⬜ | | functions_1.test.w -t tf-aws | 850ms±8.62 | 857ms±4.72 | +7ms (+0.82%)⬜ | | jsii_big.test.w -t sim | 2829ms±10.15 | 2844ms±15.34 | +15ms (+0.51%)⬜ | | jsii_big.test.w -t tf-aws | 3063ms±9.12 | 3037ms±16.66 | -26ms (-0.84%)⬜ | | empty.test.w -t sim | 374ms±7.18 | 368ms±4.95 | -6ms (-1.62%)⬜ | | empty.test.w -t tf-aws | 609ms±2.01 | 606ms±3.87 | -3ms (-0.57%)⬜ | | jsii_small.test.w -t sim | 384ms±3.42 | 379ms±3.04 | -5ms (-1.31%)⬜ | | jsii_small.test.w -t tf-aws | 626ms±5.31 | 620ms±3.58 | -6ms (-0.9%)⬜ | ⬜ 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|61ms|58ms|66ms|2ms|3ms| |functions_10.test.w -t sim|521ms|498ms|547ms|12ms|17ms| |functions_10.test.w -t tf-aws|2176ms|2138ms|2290ms|30ms|42ms| |hello_world.test.w -t sim|414ms|402ms|434ms|6ms|9ms| |hello_world.test.w -t tf-aws|1491ms|1471ms|1528ms|13ms|18ms| |functions_1.test.w -t sim|417ms|406ms|432ms|6ms|9ms| |functions_1.test.w -t tf-aws|857ms|846ms|869ms|5ms|7ms| |jsii_big.test.w -t sim|2844ms|2811ms|2891ms|15ms|21ms| |jsii_big.test.w -t tf-aws|3037ms|3012ms|3080ms|17ms|23ms| |empty.test.w -t sim|368ms|356ms|378ms|5ms|7ms| |empty.test.w -t tf-aws|606ms|597ms|612ms|4ms|5ms| |jsii_small.test.w -t sim|379ms|372ms|386ms|3ms|4ms| |jsii_small.test.w -t tf-aws|620ms|610ms|628ms|4ms|5ms|
Last Updated (UTC) 2024-06-10 14:21
monadabot commented 3 weeks ago

:x: Unstable Self-Mutation :x:

Self-mutation has run twice in a row. There may be a something non-deterministic in the build or test process. Check the last mutation commit (0a0016cf7285b0e53629b095f122d33a2cf9c71b) for suspicious changes. This is typically caused by:

mergify[bot] commented 2 weeks ago

Thanks for contributing, @eladcon! This PR will now be added to the merge queue, or immediately merged if container-network-entrypoint is up-to-date with main and the queue is empty.

monadabot commented 2 weeks ago

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