netlify / zip-it-and-ship-it

Intelligently prepare Node.js Lambda functions for deployment
https://www.npmjs.com/package/@netlify/zip-it-and-ship-it
MIT License
316 stars 35 forks source link

fix: integration test needs to use run.js instead of run.mjs #1667

Closed Skn0tt closed 1 year ago

Skn0tt commented 1 year ago

With https://github.com/netlify/cli/commit/5eb2133a277191c68e6d2129f0ebe6d5d85a9402, the CLI changed the file format of run.mjs to run.js. Gotta move our test along!

github-actions[bot] commented 1 year ago

⏱ Benchmark results

Comparing with fd6c7e6a54d56dee8a0449834ec2fa3f8bb4e129

largeDepsEsbuild: 1.5s

⬆️ 4.47% increase vs. fd6c7e6a54d56dee8a0449834ec2fa3f8bb4e129

^                           2.6s                                                                          
│                           ┌──┐                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                    1.5s  
│ ──1.5s────1.5s────1.5s────┼──┼────1.4s────1.5s────1.5s────1.4s────1.5s────1.5s────1.5s────1.4s────┌──┐──
│   ┌──┐    ┌──┐    ┌──┐    |  |    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    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 - T-30 (070a7c95020e1730d327c8bb4ec69a51ef10cabc): 2.7s - T-29 (37bea386468e7aa67974eda9a1a8fbb87c8d48ec): 3.2s - T-28 (4b0f947b315ac43d126e652881467f619c323cd7): 2.5s - T-27 (a7b997238fc578a2c83b921cb2d4c1eab1f93325): 3.1s - T-26 (0381be519b6fff91a86bdcd19ac3a196a3480515): 3.4s - T-25 (af0e46cdbadd228d2cc4876e0cc861e8af14ebef): 2.6s - T-24 (b7fc0822d55c26daee4afbd7f4041ee0d034decb): 3.1s - T-23 (afaa4efdccf011d985f82719b4dc71ce7f051346): 2.7s - T-22 (390820e5a45277d4233cab6a3dae20079959421a): 2.5s - T-21 (a01ecdb7e4b348d7fa71d576ae02f918b897a2df): 3.1s - T-20 (97992ee4384e445302377c0ee35281abc8079daf): 3.4s - T-19 (d70673a431723619961dd38778d72ccadc0b0f02): 1.5s - T-18 (cacee3f27337b6876f19648fb4f9101fdffc85fd): 2.7s - T-17 (52a665423de77ef569fa66a02d6291d12ede9667): 3.5s - T-16 (c0b0b7ad9608b0690581741d3dea644fde476dc6): 2.7s - T-15 (15399f431ee0a03a277a25b19ff4b42295ad3d2a): 2.7s - T-14 (ac5532d098d615efe03a55f9f8727523493ce4e2): 2.7s - T-13 (e4d0ba977cbdd88a20495b326bbaf0b1b401234a): 1.5s - T-12 (234379a3595fd8809d8bae0e4017570a3423cbb4): 1.5s - T-11 (5fc5321525756f5106509ded272b8f85e2d806e5): 1.5s - T-10 (fee5d2e190009b066d4d783090c76f9674dcb2b6): 1.5s - T-9 (b8a39b643d2c6101a20683e1a6823e1da188bf5a): 2.6s - T-8 (06ef08f4f96862917783227d488f2e5c9ddb81c5): 1.4s - T-7 (c0a64fc99bc49c9a43370a5056155fe17fbab3a4): 1.5s - T-6 (bcb0388489e28527fa14c0de957a8824c899e4dd): 1.5s - T-5 (5ca965f88059299af4e83bae9ab8583ebcb7ad1a): 1.4s - T-4 (46c96e2596f119885774c42840c8f7498736a55c): 1.5s - T-3 (145bc5fc20120dce597a5e3c5235144b6956cce5): 1.5s - T-2 (8ac5b33d75e003386a93dae3f6749d745c4028b8): 1.5s - T-1 (fd6c7e6a54d56dee8a0449834ec2fa3f8bb4e129): 1.4s - **T (current commit): 1.5s**

largeDepsNft: 5.8s

⬆️ 5.62% increase vs. fd6c7e6a54d56dee8a0449834ec2fa3f8bb4e129

^                           8.1s                                                                          
│                           ┌──┐                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│   5.6s    5.6s    5.7s    |  |    5.5s    5.6s    5.5s            5.5s    5.5s    5.6s    5.5s    5.8s  
│ ──┌──┐────┌──┐────┌──┐────┼──┼────┌──┐────┌──┐────┌──┐────5.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 - T-30 (070a7c95020e1730d327c8bb4ec69a51ef10cabc): 8.4s - T-29 (37bea386468e7aa67974eda9a1a8fbb87c8d48ec): 10s - T-28 (4b0f947b315ac43d126e652881467f619c323cd7): 7.6s - T-27 (a7b997238fc578a2c83b921cb2d4c1eab1f93325): 9.8s - T-26 (0381be519b6fff91a86bdcd19ac3a196a3480515): 10.7s - T-25 (af0e46cdbadd228d2cc4876e0cc861e8af14ebef): 8.1s - T-24 (b7fc0822d55c26daee4afbd7f4041ee0d034decb): 9.5s - T-23 (afaa4efdccf011d985f82719b4dc71ce7f051346): 8.5s - T-22 (390820e5a45277d4233cab6a3dae20079959421a): 7.4s - T-21 (a01ecdb7e4b348d7fa71d576ae02f918b897a2df): 9.8s - T-20 (97992ee4384e445302377c0ee35281abc8079daf): 10.8s - T-19 (d70673a431723619961dd38778d72ccadc0b0f02): 5.5s - T-18 (cacee3f27337b6876f19648fb4f9101fdffc85fd): 8.7s - T-17 (52a665423de77ef569fa66a02d6291d12ede9667): 11.1s - T-16 (c0b0b7ad9608b0690581741d3dea644fde476dc6): 8.5s - T-15 (15399f431ee0a03a277a25b19ff4b42295ad3d2a): 8.2s - T-14 (ac5532d098d615efe03a55f9f8727523493ce4e2): 8.5s - T-13 (e4d0ba977cbdd88a20495b326bbaf0b1b401234a): 5.5s - T-12 (234379a3595fd8809d8bae0e4017570a3423cbb4): 5.6s - T-11 (5fc5321525756f5106509ded272b8f85e2d806e5): 5.6s - T-10 (fee5d2e190009b066d4d783090c76f9674dcb2b6): 5.7s - T-9 (b8a39b643d2c6101a20683e1a6823e1da188bf5a): 8.1s - T-8 (06ef08f4f96862917783227d488f2e5c9ddb81c5): 5.5s - T-7 (c0a64fc99bc49c9a43370a5056155fe17fbab3a4): 5.6s - T-6 (bcb0388489e28527fa14c0de957a8824c899e4dd): 5.5s - T-5 (5ca965f88059299af4e83bae9ab8583ebcb7ad1a): 5.5s - T-4 (46c96e2596f119885774c42840c8f7498736a55c): 5.5s - T-3 (145bc5fc20120dce597a5e3c5235144b6956cce5): 5.5s - T-2 (8ac5b33d75e003386a93dae3f6749d745c4028b8): 5.6s - T-1 (fd6c7e6a54d56dee8a0449834ec2fa3f8bb4e129): 5.5s - **T (current commit): 5.8s**

largeDepsZisi: 10.8s

⬆️ 2.36% increase vs. fd6c7e6a54d56dee8a0449834ec2fa3f8bb4e129

^                          15.8s                                                                          
│                           ┌──┐                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│                           |  |                                                                          
│          10.6s            |  |                                                                   10.8s  
│ ─10.6s────┌──┐───10.5s────┼──┼───10.5s───10.5s───10.5s───10.5s───10.4s───10.6s───10.5s───10.6s────┌──┐──
│   ┌──┐    |  |    ┌──┐    |  |    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    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 - T-30 (070a7c95020e1730d327c8bb4ec69a51ef10cabc): 16.5s - T-29 (37bea386468e7aa67974eda9a1a8fbb87c8d48ec): 19.7s - T-28 (4b0f947b315ac43d126e652881467f619c323cd7): 15.1s - T-27 (a7b997238fc578a2c83b921cb2d4c1eab1f93325): 20.1s - T-26 (0381be519b6fff91a86bdcd19ac3a196a3480515): 21.1s - T-25 (af0e46cdbadd228d2cc4876e0cc861e8af14ebef): 16.1s - T-24 (b7fc0822d55c26daee4afbd7f4041ee0d034decb): 19.4s - T-23 (afaa4efdccf011d985f82719b4dc71ce7f051346): 16.2s - T-22 (390820e5a45277d4233cab6a3dae20079959421a): 15.1s - T-21 (a01ecdb7e4b348d7fa71d576ae02f918b897a2df): 20s - T-20 (97992ee4384e445302377c0ee35281abc8079daf): 21.1s - T-19 (d70673a431723619961dd38778d72ccadc0b0f02): 10.4s - T-18 (cacee3f27337b6876f19648fb4f9101fdffc85fd): 17.2s - T-17 (52a665423de77ef569fa66a02d6291d12ede9667): 21.3s - T-16 (c0b0b7ad9608b0690581741d3dea644fde476dc6): 16.8s - T-15 (15399f431ee0a03a277a25b19ff4b42295ad3d2a): 16.5s - T-14 (ac5532d098d615efe03a55f9f8727523493ce4e2): 16.7s - T-13 (e4d0ba977cbdd88a20495b326bbaf0b1b401234a): 10.6s - T-12 (234379a3595fd8809d8bae0e4017570a3423cbb4): 10.6s - T-11 (5fc5321525756f5106509ded272b8f85e2d806e5): 10.6s - T-10 (fee5d2e190009b066d4d783090c76f9674dcb2b6): 10.5s - T-9 (b8a39b643d2c6101a20683e1a6823e1da188bf5a): 15.8s - T-8 (06ef08f4f96862917783227d488f2e5c9ddb81c5): 10.5s - T-7 (c0a64fc99bc49c9a43370a5056155fe17fbab3a4): 10.5s - T-6 (bcb0388489e28527fa14c0de957a8824c899e4dd): 10.5s - T-5 (5ca965f88059299af4e83bae9ab8583ebcb7ad1a): 10.5s - T-4 (46c96e2596f119885774c42840c8f7498736a55c): 10.4s - T-3 (145bc5fc20120dce597a5e3c5235144b6956cce5): 10.6s - T-2 (8ac5b33d75e003386a93dae3f6749d745c4028b8): 10.5s - T-1 (fd6c7e6a54d56dee8a0449834ec2fa3f8bb4e129): 10.6s - **T (current commit): 10.8s**
github-actions[bot] commented 1 year ago

Integration Test: netlify/next-runtime

✅ Cypress tests passed