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": 54951792,
"load_duration": 30643292,
"total_duration": 15551190,
"load_duration": 6064047,
"prompt_eval_count": 5,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.04308226,
0.008707138,
0.06876158,
0.018115537,
0.04603657,
0.0026118131,
-0.0032358477,
-0.041284926,
-0.09074888,
-0.033087812,
-0.026611822,
0.0077352105,
0.020191023,
-0.03254043,
-0.035847843,
0.031108031,
-0.039247137,
-0.011286401,
-0.109710276,
-0.12942196,
0.018077252,
0.011446383,
-0.07231236,
-0.013655743,
0.035438832,
0.024783252,
0.03387316,
0.0726014,
-0.012643238,
-0.058606703,
0.057943814,
-0.08163548,
0.064962864,
0.0013675748,
-0.06751009,
0.03504323,
-0.044962864,
-0.004789603,
0.039971247,
-0.010461211,
0.019703588,
-0.09856083,
-0.01284534,
0.018876119,
0.09569305,
0.11571406,
-0.040684983,
-0.026837468,
-0.046950106,
0.022655226,
-0.0884734,
-0.023497678,
-0.022986038,
-0.031128721,
-0.052087843,
0.04241795,
0.011578454,
0.06702011,
0.027121129,
-0.0021518404,
0.04675332,
-0.082024105,
-0.038331598,
0.05215799,
0.097757615,
-0.0006708623,
-0.051935766,
0.09100271,
-0.016111707,
-0.06877312,
0.00767068,
0.076737314,
-0.0017499238,
0.014369293,
0.038031887,
-0.0044654603,
0.011287075,
0.0006178959,
0.08834809,
-0.05933476,
-0.042706404,
-0.048178285,
-0.053068914,
0.033110976,
0.008051986,
-0.042581946,
-0.038104057,
-0.007202849,
0.010891519,
-0.05466173,
0.03903238,
-0.06774145,
-0.02356764,
-0.03883483,
0.03464186,
0.015297014,
0.0073803077,
-0.12351391,
0.036168184,
0.13193323,
-0.06441449,
0.033508655,
-0.01435515,
0.0014314495,
0.031048443,
-0.03981852,
0.0236718,
-0.0028333638,
0.096959464,
-0.13331193,
-0.054209094,
0.019610135,
0.06984815,
-0.05347757,
0.0018131314,
0.02127606,
0.01981612,
0.036502477,
0.008825069,
0.018954003,
-0.07161326,
-0.018733062,
0.031044634,
0.09102944,
0.016508427,
-0.08625295,
-0.08300717,
-1.4044197e-34,
-0.072007515,
-0.045496386,
-0.027986562,
0.05823018,
-0.010462877,
-0.06121516,
0.026053715,
-0.06574638,
0.029178392,
0.012307141,
-0.06338016,
0.040593755,
0.03648161,
0.01977942,
0.08755496,
0.028216325,
0.044194777,
0.076237544,
0.02949726,
-0.0022650051,
0.04304541,
0.025918182,
1.2261046e-05,
-0.038463842,
-0.0161955,
0.03338553,
0.02112944,
-0.023382189,
0.009846733,
0.033575017,
0.030112585,
0.060389582,
-0.06522927,
-0.016030189,
0.019156763,
-0.002600835,
-0.04663393,
0.02794595,
0.021004112,
0.0074595963,
-0.048745092,
-0.0070450655,
0.019834043,
0.016411202,
-0.06381404,
0.031237993,
0.091976196,
-0.0313931,
0.022238847,
-0.015018542,
0.0025784613,
-0.031382624,
-0.0152902305,
-0.025491757,
0.08233924,
0.14333151,
-0.0255008,
-0.005104579,
-0.02309693,
-0.03117742,
0.06995927,
0.030787794,
0.04810884,
0.037135385,
0.0068392092,
0.06759879,
0.049763102,
0.008472162,
0.07170584,
0.0076969583,
-0.005139827,
-0.0031728086,
0.024646448,
-0.06879641,
0.05249289,
-0.009404918,
0.10184627,
-0.013639711,
-0.022681188,
0.021382388,
-0.09593746,
0.024071718,
-0.072101034,
-0.04462981,
0.033456877,
-0.03942254,
0.020099705,
-0.07495305,
-0.008311987,
0.013811793,
-0.09847922,
0.0336409,
0.08235891,
-0.0034134828,
-0.05005179,
-2.0283256e-33,
-0.13664234,
0.06463093,
0.05221015,
0.10102781,
0.016344123,
-0.01269384,
-0.09024102,
-0.023596523,
0.0057664234,
0.10294541,
-0.025930807,
-0.040247634,
0.034446176,
0.019228913,
-0.056902077,
0.019905953,
0.018969242,
-0.039362065,
0.011287794,
0.056024995,
-0.016000811,
0.058928564,
-0.038211577,
-0.030445429,
-0.02130076,
0.031401403,
-0.021228284,
-0.01400283,
-0.051042903,
0.048970606,
0.018451849,
-0.015488385,
-0.05033241,
0.053844187,
-0.050984643,
0.016940817,
-0.032773405,
-0.02502497,
0.000826887,
0.10213942,
0.04724571,
0.010156266,
-0.11653258,
0.012165439,
-0.029735534,
-0.09959623,
-0.052066926,
0.06851813,
0.054645896,
-0.066007115,
0.025503889,
0.013539478,
0.008429433,
-0.10756056,
-0.08184448,
0.07179834,
0.007978949,
-0.013011469,
0.020322459,
0.07827889,
-0.07320297,
-0.1153648,
0.04087073,
0.04355079,
-0.0012279376,
0.045840748,
-0.004366462,
0.074786335,
-0.017625354,
-0.046014115,
0.022716347,
0.057738,
-0.015408269,
0.007771719,
-0.04381374,
-0.05289107,
-0.08783473,
0.016243288,
-0.018398289,
-0.05679973,
0.036058675,
-0.040418148,
0.039242174,
0.083593465,
-0.019223504,
0.05582025,
0.04756948,
-0.07378718,
0.03371102,
-0.08680738,
-0.010659349,
0.0524085,
0.009771544,
0.023841262,
-0.086208895,
-1.7164519e-08,
0.021028979,
-0.051292755,
0.11877283,
-0.04687027,
0.06566496,
0.058750976,
-0.050496,
0.055720143,
-0.040577173,
0.055665523,
0.025019526,
-0.001681203,
-0.031047702,
0.022228474,
0.028109053,
0.03163934,
-0.025502652,
0.020898303,
-0.023064507,
0.013436037,
0.07504084,
0.022279648,
0.028908938,
-0.014271217,
0.025474275,
-0.051414162,
-0.014502164,
0.014646399,
-0.028023712,
0.08406334,
-0.07755092,
0.038713943,
-0.0043370826,
0.025676368,
0.12571524,
0.06996381,
0.0059321956,
-0.10410214,
-0.041439336,
0.016119901,
-0.040744506,
0.017772397,
-0.09114363,
-0.026066387,
0.055598073,
0.016705057,
0.016444646,
-0.11935461,
0.02789905,
0.0151745565,
0.042357437,
0.06817164,
0.05782822,
0.063278705,
0.06748475,
0.059781626,
0.06468886,
-0.06749451,
-0.035589237,
0.0640055,
0.008595763,
0.003157698,
0.009343837,
-0.08392565
-0.043116726,
0.008762204,
0.06876551,
0.018154446,
0.046014935,
0.0026075789,
-0.0032023117,
-0.041317876,
-0.09075395,
-0.033095382,
-0.026616864,
0.0077496697,
0.020235015,
-0.03252394,
-0.035852764,
0.031051183,
-0.039273262,
-0.011288686,
-0.1097229,
-0.1294173,
0.018025845,
0.011457748,
-0.072298184,
-0.013640621,
0.035424188,
0.024748072,
0.03384521,
0.07259934,
-0.012619609,
-0.058619946,
0.05801557,
-0.08161403,
0.064947575,
0.001362615,
-0.06751795,
0.035076257,
-0.044989314,
-0.0047651185,
0.039968234,
-0.01040782,
0.019694408,
-0.09855809,
-0.012823173,
0.01890794,
0.09571055,
0.115746535,
-0.04069045,
-0.02680746,
-0.04694828,
0.022680543,
-0.08849123,
-0.023503046,
-0.022990132,
-0.031088889,
-0.052039262,
0.042437814,
0.011638174,
0.0670399,
0.027137857,
-0.0021473,
0.046701267,
-0.08202047,
-0.03838818,
0.052178502,
0.09778113,
-0.0006593349,
-0.051926874,
0.09100724,
-0.016121143,
-0.06875496,
0.007669393,
0.0767284,
-0.0017276715,
0.01433612,
0.038044788,
-0.004464167,
0.011304684,
0.0006356988,
0.08827611,
-0.0593169,
-0.04269011,
-0.04821714,
-0.053063165,
0.033073585,
0.008053761,
-0.04257827,
-0.03806659,
-0.007204833,
0.010878339,
-0.054683488,
0.03902928,
-0.06775304,
-0.023547798,
-0.038845137,
0.034658056,
0.015339489,
0.0073782727,
-0.123479486,
0.03620066,
0.13195266,
-0.06441574,
0.03353106,
-0.014377511,
0.0014469373,
0.031026753,
-0.039825514,
0.023753827,
-0.0028518923,
0.097023025,
-0.13331918,
-0.05414865,
0.019609982,
0.06981739,
-0.05350471,
0.0017914361,
0.02123565,
0.019793358,
0.03652012,
0.008757212,
0.018963538,
-0.07163105,
-0.018745081,
0.03101379,
0.09108634,
0.016522765,
-0.08622687,
-0.083000556,
-1.4120944e-34,
-0.07204795,
-0.0454863,
-0.027961366,
0.05822211,
-0.010502984,
-0.061186932,
0.026028452,
-0.06577434,
0.029192366,
0.0122880135,
-0.063328385,
0.040566593,
0.036464784,
0.019783257,
0.087558,
0.028167294,
0.044170283,
0.076228,
0.029474925,
-0.0022399179,
0.043097593,
0.025920164,
2.2395505e-05,
-0.03851217,
-0.016177999,
0.03336546,
0.021168817,
-0.0234282,
0.009798394,
0.03357645,
0.03013725,
0.060346767,
-0.065224335,
-0.015980415,
0.019157061,
-0.0025903578,
-0.0466378,
0.027946537,
0.02100925,
0.0074677323,
-0.048780043,
-0.007029379,
0.019858357,
0.016415412,
-0.0638162,
0.031251393,
0.09193477,
-0.031419653,
0.022252394,
-0.01500479,
0.0025760988,
-0.031387188,
-0.015299431,
-0.02546342,
0.08234505,
0.14331058,
-0.025547996,
-0.005159215,
-0.023134073,
-0.031177375,
0.06997682,
0.030782456,
0.048128117,
0.037137397,
0.0068431245,
0.06755107,
0.049724884,
0.008470394,
0.071763836,
0.0076690027,
-0.005134569,
-0.0031549458,
0.024666298,
-0.068752035,
0.05245442,
-0.00935608,
0.10184588,
-0.013630788,
-0.022619508,
0.021436714,
-0.095911086,
0.024078555,
-0.07211819,
-0.04461444,
0.03340193,
-0.039429355,
0.020107377,
-0.074943066,
-0.008328609,
0.013822816,
-0.098455004,
0.03365863,
0.0823121,
-0.003396206,
-0.0499897,
-2.0274605e-33,
-0.13668069,
0.06462584,
0.052196007,
0.100969166,
0.016337585,
-0.012695544,
-0.09028159,
-0.02356374,
0.005722851,
0.10296686,
-0.025897449,
-0.04024869,
0.034410108,
0.019260515,
-0.056976542,
0.019898219,
0.018957885,
-0.03935449,
0.011276682,
0.056057617,
-0.015980229,
0.058943093,
-0.038266417,
-0.03044946,
-0.021351444,
0.031391833,
-0.021235785,
-0.013972733,
-0.051025163,
0.048980854,
0.018483348,
-0.015526178,
-0.050335266,
0.053864546,
-0.051029664,
0.016963435,
-0.032785386,
-0.024993876,
0.000785349,
0.10212783,
0.047282238,
0.010184973,
-0.11654175,
0.0121573685,
-0.029727131,
-0.09965936,
-0.052029923,
0.06852823,
0.054656398,
-0.065998994,
0.025493179,
0.013522059,
0.008406762,
-0.10758715,
-0.08182221,
0.07181613,
0.008019134,
-0.013016491,
0.020291433,
0.07824832,
-0.07321792,
-0.11531359,
0.040891647,
0.04357381,
-0.0012217899,
0.045807034,
-0.0044387314,
0.07476453,
-0.017609056,
-0.045983914,
0.022713736,
0.05770199,
-0.01545519,
0.007768293,
-0.043805454,
-0.052848887,
-0.08787122,
0.016240425,
-0.018441278,
-0.05685473,
0.036065023,
-0.04042333,
0.039200664,
0.08363829,
-0.019230386,
0.055873565,
0.047601603,
-0.073787,
0.03373948,
-0.08676912,
-0.010690602,
0.052389733,
0.009766554,
0.023823792,
-0.08622312,
-1.7164984e-08,
0.02098433,
-0.051278073,
0.118761696,
-0.046744175,
0.06562692,
0.05873887,
-0.05050669,
0.05573273,
-0.040608365,
0.05565212,
0.025007756,
-0.0016481675,
-0.030990602,
0.022212071,
0.028143445,
0.031635366,
-0.025462067,
0.020907363,
-0.0230822,
0.013461223,
0.075033404,
0.02227541,
0.028905692,
-0.014230868,
0.025434028,
-0.051393002,
-0.014499751,
0.0146705145,
-0.027979253,
0.084023595,
-0.07754991,
0.038684603,
-0.004379834,
0.025665374,
0.12571882,
0.06997437,
0.0059620147,
-0.10417642,
-0.041501433,
0.016078206,
-0.040800873,
0.017794596,
-0.091134265,
-0.026061513,
0.055591512,
0.016653784,
0.016463995,
-0.119408,
0.027920188,
0.015162422,
0.04233569,
0.06814759,
0.057812255,
0.06331279,
0.06752363,
0.05975722,
0.06466393,
-0.06744258,
-0.035575487,
0.0640129,
0.00857161,
0.0031763979,
0.009383616,
-0.08389455
]
]
}