Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

fix: output provided.al2 also when zipGo is disabled #1609

Merged
merged 3 commits into from
Oct 11, 2023

Conversation

Skn0tt
Copy link
Contributor

@Skn0tt Skn0tt commented Oct 11, 2023

We were only emitting runtimeVersion: "provided.al2" when zipGo is enabled. In Buildbot deploys, this is disabled, so we weren't emitting provided.al2 properly! This PR fixes that.

I also noticed we weren't emitting generator and runtimeVersion when zipGo is enabled. I don't think that's intended, so I changed it as well.

@Skn0tt Skn0tt requested a review from a team as a code owner October 11, 2023 12:29
@Skn0tt Skn0tt self-assigned this Oct 11, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2023

⏱ Benchmark results

Comparing with fffff21

largeDepsEsbuild: 3.5s

⬆️ 23.82% increase vs. fffff21

^           3.6s                                            3.6s                                    3.5s  
│           ┌──┐            3.4s                            ┌──┐                                    ┌──┐  
│           |  |    3.2s    ┌──┐            3.2s            |  |    3.2s                            |▒▒|  
│           |  |    ┌──┐    |  |            ┌──┐            |  |    ┌──┐                            |▒▒|  
│ ──────────┼──┼────┼──┼────┼──┼────2.8s────┼──┼────────────┼──┼────┼──┼────2.8s────────────────────|▒▒|──
│           |  |    |  |    |  |    ┌──┐    |  |    2.7s    |  |    |  |    ┌──┐    2.7s    2.7s    |▒▒|  
│   2.5s    |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |  |    |  |    ┌──┐    ┌──┐    |▒▒|  
│   ┌──┐    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend

largeDepsNft: 11.1s

⬆️ 24.36% increase vs. fffff21

^          11.8s                                           11.6s                                          
│           ┌──┐                                            ┌──┐                                   11.1s  
│           |  |           10.5s                            |  |                                    ┌──┐  
│           |  |            ┌──┐           10.2s            |  |    9.8s                            |▒▒|  
│           |  |    9.4s    |  |            ┌──┐            |  |    ┌──┐                            |▒▒|  
│ ──────────┼──┼────┌──┐────┼──┼────8.5s────┼──┼────────────┼──┼────┼──┼────8.7s────────────────────|▒▒|──
│           |  |    |  |    |  |    ┌──┐    |  |    8.3s    |  |    |  |    ┌──┐    8.5s    8.4s    |▒▒|  
│   7.8s    |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |  |    |  |    ┌──┐    ┌──┐    |▒▒|  
│   ┌──┐    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend

largeDepsZisi: 20.8s

⬆️ 20.56% increase vs. fffff21

^          21.9s                                           21.8s                                          
│           ┌──┐                                            ┌──┐                                   20.8s  
│           |  |           20.3s           19.9s            |  |   19.4s                            ┌──┐  
│           |  |   18.3s    ┌──┐            ┌──┐            |  |    ┌──┐                            |▒▒|  
│ ──────────┼──┼────┌──┐────┼──┼────────────┼──┼────────────┼──┼────┼──┼────────────────────────────|▒▒|──
│           |  |    |  |    |  |   16.4s    |  |   16.2s    |  |    |  |   16.8s   16.2s   16.5s    |▒▒|  
│           |  |    |  |    |  |    ┌──┐    |  |    ┌──┐    |  |    |  |    ┌──┐    ┌──┐    ┌──┐    |▒▒|  
│  14.8s    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   ┌──┐    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend

@lukasholzer lukasholzer enabled auto-merge (squash) October 11, 2023 14:24
@lukasholzer lukasholzer merged commit d1a18f1 into main Oct 11, 2023
@lukasholzer lukasholzer deleted the al2-buildbot-mode branch October 11, 2023 14:29
Skn0tt added a commit to netlify/build that referenced this pull request May 21, 2024
…t-and-ship-it#1609)

* fix: also emit `provided.al2` when zipGo is disabled

* fix: emit generator and runtimeVersion in zipGo path

---------

Co-authored-by: Lukas Holzer <lukas.holzer@netlify.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants