feat(ci): add support for running vision inference tests (#2972)

This PR significantly refactors the Integration Tests workflow. The main
goal behind the PR was to enable recording of vision tests which were
never run as part of our CI ever before. During debugging, I ended up
making several other changes refactoring and hopefully increasing the
robustness of the workflow.

After doing the experiments, I have updated the trigger event to be
`pull_request_target` so this workflow can get write permissions by
default but it will run with source code from the base (main) branch in
the source repository only. If you do change the workflow, you'd need to
experiment using the `workflow_dispatch` triggers. This should not be
news to anyone using Github Actions (except me!)

It is likely to be a little rocky though while I learn more about GitHub
Actions, etc. Please be patient :)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Ashwin Bharambe 2025-07-31 11:50:42 -07:00 committed by GitHub
parent 709c974bd8
commit 27d866795c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
108 changed files with 13985 additions and 15254 deletions

View file

@ -20,398 +20,398 @@
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 46540167,
"load_duration": 29688959,
"total_duration": 17148955,
"load_duration": 6651167,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.08566708,
-0.09559047,
0.044014607,
-0.015974598,
0.029406257,
0.07229597,
-0.010901963,
-0.023829829,
0.07381301,
-0.05698464,
-0.033780586,
0.051200844,
0.0050912783,
0.014317088,
-0.07878143,
-0.012908666,
-0.041628323,
0.06881713,
-0.10783476,
-0.04042705,
0.026262026,
-0.0019893218,
-0.011008084,
-0.0019646112,
0.004033132,
0.08881656,
0.014049165,
-0.018416086,
0.032621212,
-0.034692146,
0.07614942,
-0.014122101,
-0.024901746,
0.03755059,
-0.10197354,
0.054705318,
-0.022539826,
0.024209768,
0.011698194,
-0.008956377,
-0.050146304,
0.0026327297,
0.055942897,
0.009974366,
0.12796965,
-0.025006283,
0.024338534,
-0.024487961,
-0.0022703854,
-0.024687177,
-0.10482094,
-0.05994297,
-0.055200897,
0.0152664175,
0.03496896,
0.052624088,
-0.0006445885,
0.06637695,
-0.031790398,
-0.007308742,
-0.0050764186,
-0.042508755,
-0.04089097,
0.020062948,
0.038683955,
0.022463562,
-0.02866933,
0.053370677,
0.022435635,
0.01934692,
0.12264713,
0.023911418,
-0.037264284,
0.0059156846,
0.05235448,
0.054004095,
0.08022169,
-0.010992806,
0.029295033,
-0.0672064,
-0.00021147476,
-0.050584126,
-0.0095251575,
0.04616498,
0.078677796,
0.01416309,
-0.033226117,
0.0018380182,
-0.06667651,
-0.020977372,
-0.017116925,
-0.04396714,
-0.05969979,
-0.07344942,
-0.03985366,
-0.030863814,
-0.019918729,
-0.1075161,
-0.026654154,
0.0689854,
-0.0049292273,
0.026645623,
0.018879393,
0.022113768,
0.064208575,
-0.053153764,
0.06160797,
0.014026719,
0.11772326,
-0.051769163,
-0.07634968,
0.03090975,
-0.038558383,
-0.025260162,
0.039262023,
-0.061449137,
0.008389126,
0.016175874,
0.032293033,
0.06679397,
-0.06503257,
0.014676881,
-0.038542666,
0.018718671,
-0.030111106,
-0.028481327,
-0.14707623,
-3.455443e-33,
-0.048577547,
-0.024983348,
0.071679614,
0.035652317,
0.07931413,
-0.07811974,
0.023085583,
-0.047467884,
0.08872273,
-0.0010074769,
-0.11320135,
0.091322996,
0.023978539,
0.11368158,
0.042203873,
-0.05773289,
-0.074543044,
-0.0021036167,
-0.051522236,
-0.050925426,
-0.0016557347,
0.030671587,
0.045119714,
-0.03974729,
-0.05871358,
-0.030611658,
0.0017253247,
0.009114429,
-0.013763352,
0.023424039,
0.0017495834,
0.046633217,
-0.07230643,
-0.027882291,
0.016182518,
0.044456217,
-0.004326421,
-0.061798126,
0.0697968,
0.031249145,
-0.013697079,
-0.007417679,
0.031665757,
-0.02367961,
0.07153089,
0.023938214,
0.009729952,
0.0071919435,
-0.03235391,
-0.04955071,
-0.050248373,
0.02151118,
0.015327139,
-0.0674203,
0.06544387,
-0.025547959,
0.03207046,
0.02038825,
0.0112230005,
0.00019493286,
-0.023462659,
-0.004949742,
-0.014066955,
0.0014178518,
0.059315395,
0.039931085,
-0.032498423,
-0.023698896,
0.05445033,
0.064231694,
-0.034013335,
0.08745776,
-0.080473825,
-0.090545714,
-0.065398656,
-8.2386265e-05,
-0.021441188,
-0.0684535,
-0.029121745,
0.034134887,
-0.07799698,
-0.05388711,
-0.035591345,
0.044826802,
-0.040090464,
0.07972004,
0.026058797,
-0.08184859,
0.0018106091,
-0.027676936,
-0.04312832,
-0.042090744,
0.08336437,
-0.049453646,
-0.0902778,
2.6716498e-33,
-0.091911495,
0.02641473,
-0.07022486,
0.075562105,
0.03900905,
0.027913846,
-0.05444872,
-0.036666486,
-0.048225258,
0.07551892,
0.046452336,
0.025874302,
0.052248206,
-0.00018527219,
0.010575236,
-0.040591337,
-0.028484622,
-0.020559357,
0.08882296,
-0.06755767,
0.04941752,
0.13231009,
-0.06998129,
-0.040112328,
0.044030365,
0.034218542,
-0.08650528,
0.05746921,
-0.0075130556,
0.049070083,
-0.0148686,
-0.018103259,
-0.020280316,
0.038828347,
0.022253176,
0.13486238,
0.06899369,
-0.002589861,
-0.016430879,
0.0033818923,
0.017275693,
0.013614936,
0.044220798,
0.049155377,
-0.008259856,
-0.046575654,
-0.043921605,
0.04156687,
-0.035468902,
0.042837795,
0.03131579,
0.017961076,
-0.026213305,
-0.05458616,
-0.04259084,
-0.004110002,
0.029035388,
0.0010451805,
0.09044077,
0.014110149,
-0.068820216,
-0.07098938,
0.020328037,
0.00433692,
-0.046977337,
0.016492791,
-0.028396707,
0.104340956,
0.002814702,
-0.08339559,
0.037326302,
0.058929898,
0.0376423,
0.09580634,
-0.12376848,
-0.054060236,
-0.014485116,
0.0013106487,
-0.04537336,
-0.0899294,
0.001730278,
-0.05520831,
0.000568523,
0.00053380145,
0.07856981,
0.104590714,
0.00355283,
0.008365939,
0.04291482,
0.010064388,
0.025177509,
0.05732803,
-0.023061136,
0.054399785,
-0.049828697,
-1.3290186e-08,
-0.0539168,
0.08074109,
0.03397028,
0.024365881,
0.0906225,
-0.07162824,
0.07550329,
0.017278913,
-0.061226364,
-0.03298407,
0.07829606,
0.03967995,
-0.036696997,
0.02665964,
0.1000655,
-0.014426734,
0.020708792,
-0.039230846,
0.0085029,
-0.0012509917,
0.06740856,
0.013992665,
-0.054007422,
-0.016785627,
0.07651403,
-0.035508703,
-0.050085396,
0.08382383,
-0.009957674,
0.08140875,
0.019287178,
0.049911316,
0.0022236605,
-0.07807412,
0.019454133,
0.111560374,
-0.01269702,
-0.06466137,
-0.09346588,
-0.050038446,
-0.042178612,
0.0599713,
0.034831088,
-0.014957726,
0.014484159,
-0.022619838,
0.06916277,
-0.088544875,
0.021478733,
0.01378541,
-0.0075770007,
0.027888266,
0.015526889,
0.0052174823,
0.010616002,
-0.022908956,
-0.02535865,
-0.04139556,
-0.08375561,
0.092626974,
0.051755503,
0.09296614,
0.011223383,
-0.016759252
-0.085681304,
-0.095581464,
0.043999746,
-0.015962392,
0.029400628,
0.07226456,
-0.010901451,
-0.023813674,
0.07378506,
-0.05697427,
-0.033765975,
0.05121266,
0.0050979555,
0.014309963,
-0.07880483,
-0.012905849,
-0.041623827,
0.0687718,
-0.107817836,
-0.040402025,
0.02626439,
-0.0019839199,
-0.011018193,
-0.0019673458,
0.0040422864,
0.08879382,
0.01402507,
-0.018432936,
0.03259668,
-0.03467639,
0.07614212,
-0.014108018,
-0.02491903,
0.037580706,
-0.10195762,
0.054681186,
-0.022511847,
0.024178648,
0.011709601,
-0.008936471,
-0.05014084,
0.002622049,
0.05592362,
0.0099558495,
0.1279459,
-0.024969373,
0.024331603,
-0.024513736,
-0.0022768104,
-0.024678802,
-0.10482663,
-0.059968818,
-0.05517871,
0.015272669,
0.03499024,
0.052664176,
-0.0006159338,
0.066367485,
-0.031800635,
-0.0073153223,
-0.0050571254,
-0.042501386,
-0.040885996,
0.020060783,
0.03869819,
0.02252177,
-0.028677218,
0.053372957,
0.022434458,
0.01932899,
0.122685425,
0.02391069,
-0.037310783,
0.0058996845,
0.052371886,
0.054006398,
0.08022549,
-0.0109860925,
0.029316097,
-0.06720931,
-0.00020536478,
-0.050579377,
-0.009566371,
0.04615162,
0.07864397,
0.0141741,
-0.033241987,
0.0018572828,
-0.066625245,
-0.021015463,
-0.017156467,
-0.043931913,
-0.0596939,
-0.07345105,
-0.0398444,
-0.030874873,
-0.019920446,
-0.10750585,
-0.026640767,
0.06898602,
-0.0049453005,
0.02661913,
0.018901112,
0.022115147,
0.064215325,
-0.05311056,
0.061604578,
0.01401751,
0.11773954,
-0.051754657,
-0.0763492,
0.03089861,
-0.038562253,
-0.025287481,
0.039286032,
-0.061460134,
0.0083680395,
0.016174005,
0.032318905,
0.066826284,
-0.06503665,
0.014697402,
-0.038522907,
0.018723847,
-0.030096343,
-0.028485447,
-0.14709295,
-3.4554582e-33,
-0.048594434,
-0.02497814,
0.07171551,
0.035668552,
0.07933306,
-0.078095146,
0.023089593,
-0.0474716,
0.08870901,
-0.0010188936,
-0.11324424,
0.09134128,
0.023990165,
0.11367867,
0.04216775,
-0.0577585,
-0.07449343,
-0.0021416158,
-0.051485773,
-0.050966885,
-0.001616003,
0.030676797,
0.04510477,
-0.039778266,
-0.058712397,
-0.030624842,
0.001723139,
0.009131228,
-0.013748993,
0.023429343,
0.0017690851,
0.046615023,
-0.07229696,
-0.027881058,
0.016162753,
0.04445625,
-0.0043517617,
-0.061766528,
0.06977974,
0.031259496,
-0.013689306,
-0.007429736,
0.03165361,
-0.023703648,
0.07151753,
0.023939254,
0.00974393,
0.0071852654,
-0.032335706,
-0.049569704,
-0.05028296,
0.021495296,
0.015300162,
-0.06743517,
0.06547497,
-0.025525656,
0.03209374,
0.020391569,
0.011251086,
0.00022983168,
-0.023480719,
-0.004975026,
-0.014066877,
0.0013942543,
0.059347607,
0.03995627,
-0.032481793,
-0.02370644,
0.054430693,
0.06420778,
-0.03403204,
0.08743523,
-0.08050841,
-0.090586886,
-0.06534727,
-9.977549e-05,
-0.021465743,
-0.068421625,
-0.029139552,
0.034137648,
-0.078038886,
-0.05387686,
-0.035576295,
0.04482086,
-0.040064223,
0.07973023,
0.025987988,
-0.08184961,
0.0018208853,
-0.027658636,
-0.043111984,
-0.04208418,
0.083367765,
-0.049456984,
-0.090272054,
2.6719462e-33,
-0.0919105,
0.026422026,
-0.0702218,
0.07556679,
0.039019883,
0.027918797,
-0.054435197,
-0.03665134,
-0.048217386,
0.07555299,
0.04645861,
0.025837917,
0.052232184,
-0.00019511126,
0.010594723,
-0.04060704,
-0.028484648,
-0.020562524,
0.08883098,
-0.0675747,
0.049423475,
0.13226803,
-0.06998591,
-0.040101074,
0.04402345,
0.034215808,
-0.086508036,
0.05748614,
-0.007484621,
0.04904636,
-0.014905731,
-0.018129041,
-0.020285906,
0.03886023,
0.022301883,
0.13486,
0.068968445,
-0.002601102,
-0.016437862,
0.0033667886,
0.017248135,
0.013624591,
0.044167783,
0.049155388,
-0.008251536,
-0.046576213,
-0.043907613,
0.041560307,
-0.035454296,
0.042816173,
0.03130763,
0.01795219,
-0.026223853,
-0.054602407,
-0.042619392,
-0.0041024024,
0.02905227,
0.0010594176,
0.09045834,
0.01407639,
-0.06884184,
-0.071025275,
0.02034249,
0.004330081,
-0.046988014,
0.016498951,
-0.028359761,
0.104389384,
0.0028101353,
-0.08335455,
0.037342783,
0.058927905,
0.037627388,
0.09579175,
-0.12379578,
-0.05406347,
-0.014487729,
0.00132331,
-0.04533123,
-0.08991201,
0.0017578854,
-0.05520286,
0.0005905125,
0.00057696534,
0.07861307,
0.104590856,
0.0035720735,
0.008376108,
0.04295002,
0.010083029,
0.025200473,
0.05733988,
-0.023040904,
0.054405548,
-0.049814496,
-1.32881794e-08,
-0.053953137,
0.080773644,
0.03396369,
0.024386076,
0.09063602,
-0.071622826,
0.075512506,
0.017275201,
-0.061214693,
-0.032958332,
0.0783013,
0.039668255,
-0.03671256,
0.02667037,
0.100062974,
-0.014423388,
0.020694766,
-0.03923435,
0.008530012,
-0.0012191309,
0.06742351,
0.013990705,
-0.053969115,
-0.016794305,
0.07650657,
-0.03551458,
-0.050098673,
0.08379899,
-0.009979221,
0.081417635,
0.019264791,
0.049911313,
0.0022199217,
-0.07809246,
0.019478371,
0.11155656,
-0.0127101755,
-0.0646376,
-0.09345448,
-0.050051365,
-0.04220205,
0.059940416,
0.034817107,
-0.014977587,
0.0144794,
-0.022621814,
0.06914498,
-0.088525705,
0.021482527,
0.013780395,
-0.007574969,
0.027911302,
0.015498402,
0.005222799,
0.010627239,
-0.02296286,
-0.02536398,
-0.041442133,
-0.083752654,
0.09260617,
0.051770985,
0.09294301,
0.011217839,
-0.01673822
]
]
}