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": 58258750,
"load_duration": 25899542,
"total_duration": 15536662,
"load_duration": 7128104,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.028407024,
0.08176727,
-0.07856116,
0.027924549,
0.05008439,
-0.035268802,
-0.0040619136,
0.029315198,
-0.05775003,
0.013769637,
0.14610882,
-0.012019041,
-0.024392882,
-0.05509032,
-0.02661779,
-0.013253934,
-0.109151706,
-0.037233494,
-0.0036058167,
0.04766495,
0.06212885,
0.0070259646,
-0.015513743,
-0.008010851,
0.037648663,
0.01587603,
-0.041856695,
0.09732178,
-0.025641596,
-0.11368298,
0.03550726,
0.07043342,
0.016779423,
0.02220752,
0.123395406,
0.0077137193,
0.12550895,
0.008077936,
-0.026158499,
0.0028612812,
0.018155744,
-0.04666325,
0.041025575,
0.0013476727,
0.0019516364,
0.008663665,
0.016689047,
0.02200178,
0.0020768014,
-0.032861207,
-0.086455174,
0.008047145,
-0.07434091,
-0.016292974,
0.06051878,
0.005966867,
0.0160179,
0.021412006,
0.009540338,
0.03177335,
0.023032434,
0.03437097,
-0.04224765,
0.024748176,
0.116213955,
-0.024936162,
-0.03895259,
-0.024991278,
-0.020854436,
-0.08835937,
-0.15073228,
0.020921277,
-0.022518696,
0.0023868105,
0.0057663955,
-0.0015790414,
-0.11985628,
-0.0029912454,
0.0550998,
-0.11830636,
-0.058846988,
-0.15046737,
0.018624697,
-0.0093440395,
-0.028901154,
0.08400474,
0.0437436,
-0.0006745939,
-0.052540295,
0.00024754918,
0.040431518,
0.0066545215,
0.02609114,
0.051891107,
0.012606882,
0.061448827,
0.013889043,
0.038454182,
0.048222367,
0.104106456,
-0.026478294,
-0.021488149,
-0.020865437,
0.05061779,
-0.05171592,
-0.07573864,
0.057483904,
-0.049993664,
0.06528295,
-0.02875688,
0.038766492,
-0.062760465,
-0.0144796055,
-0.063462086,
0.06642258,
-0.014848135,
-0.03523116,
0.0774014,
-0.039893247,
0.032182425,
0.10171478,
-0.022525396,
-0.059299074,
0.00038746602,
-0.05779858,
-0.07034273,
0.06375495,
-4.088634e-33,
-0.021801252,
-0.07985834,
-0.013881648,
0.14923096,
0.02520313,
-0.042283125,
-0.0067697223,
0.054634638,
-0.09223034,
0.0081036305,
-0.03861765,
-0.117698364,
0.012977803,
0.034548674,
-0.01703291,
0.011910173,
0.012945288,
0.04277919,
-0.017591223,
-0.0184066,
0.06513148,
0.04050013,
-0.02252127,
-0.060939074,
-0.018603502,
0.011679816,
0.01410369,
-0.06763908,
0.08543174,
0.030138582,
0.010859261,
-0.054844614,
-0.024129191,
0.048327282,
0.00750549,
0.013356204,
0.024558878,
-0.005942624,
-0.045620095,
-0.00484637,
0.004418298,
-0.0023806267,
0.013590539,
-0.016870445,
0.06959721,
-0.07736302,
0.02058481,
0.0048155314,
0.055696823,
0.0131223425,
-0.011748222,
0.040935397,
0.007458848,
0.042072233,
0.010358565,
0.019406458,
0.011092792,
0.017259602,
0.018278012,
0.077335365,
0.019612921,
0.05268688,
-0.05863009,
0.039751627,
-0.050250556,
-0.048913844,
-0.05265637,
-0.09227304,
0.0755598,
0.08097828,
-0.022257954,
-0.042141132,
0.056546185,
0.023585746,
0.0015263582,
-0.049815144,
0.002336895,
0.028626408,
-0.06897293,
-0.04780049,
-0.048637427,
-0.076585636,
-0.03285766,
-0.046012525,
-0.0573021,
-0.080889866,
-0.008056378,
-0.0936112,
0.051229417,
-0.058302302,
-0.0005942833,
0.02222621,
-0.046907477,
-0.08964737,
0.1195762,
2.0452953e-33,
0.012159685,
0.086426094,
-0.023217503,
0.002771192,
-0.0010614472,
0.03487195,
0.07328719,
-0.049876485,
-0.041938163,
0.13486409,
-0.00690217,
0.006254477,
0.059122436,
-0.028893106,
0.09141587,
-0.018487127,
0.0077112317,
-0.044207573,
-0.0251735,
-0.014999972,
-0.035417248,
0.12413253,
0.13118097,
0.081015825,
-0.03327241,
0.003976432,
0.026454262,
0.026598025,
0.017349144,
-0.0036153824,
0.035460044,
0.05956128,
-0.124593176,
0.021954069,
0.025635097,
-0.11063109,
0.096061416,
-0.06731725,
-0.011819293,
0.042329434,
0.03790837,
0.10582649,
0.0073426333,
0.06629678,
0.022922922,
0.0494007,
0.14639522,
-0.0067070075,
0.004380622,
-0.029196544,
-0.009010303,
-0.08637028,
0.03588363,
0.0029887543,
-0.029351206,
0.07019312,
0.014898416,
0.028345235,
-0.040354595,
0.01916304,
0.015590835,
0.028637327,
-0.019529723,
-0.018309733,
-0.0054176697,
-0.093132764,
-0.06116049,
0.038816936,
0.02793884,
0.034137025,
-0.027511358,
0.010699668,
-0.05521562,
-0.07380209,
0.021521263,
-0.015450832,
-0.024988633,
-0.004755674,
0.030465573,
-0.024057997,
0.0341225,
-0.0103128245,
-0.012666524,
0.03628323,
-0.0044518244,
-0.014977736,
0.02790076,
0.0978009,
-0.026436698,
-0.005187212,
-0.019124882,
0.06205225,
0.052137945,
0.037870288,
0.012578256,
-1.705626e-08,
-0.05000592,
-0.08913878,
-0.0035273295,
-0.01577607,
-0.021846429,
0.07184407,
-0.050185654,
-0.010643527,
-0.030602882,
-0.01577121,
0.013220822,
-0.0025653532,
-0.04210823,
0.009286525,
-0.041129403,
-0.029615805,
0.002200794,
-0.032989334,
-0.05041253,
-0.021504797,
-0.0068345494,
0.0084738685,
0.03568697,
0.0252117,
-0.016504692,
0.04915123,
0.018349955,
0.049084183,
-0.058165494,
-0.015055481,
0.045743454,
0.049920842,
0.020444298,
-0.052004594,
-0.033592116,
0.061816722,
0.111411005,
0.07770497,
0.022457859,
0.0025742552,
-0.043929543,
0.008576763,
-0.036182683,
0.029673496,
-0.017278075,
-0.09458994,
-0.057882637,
-0.06579892,
-0.06124832,
-0.10455079,
-0.02925637,
0.0013624659,
0.0060532107,
0.04077331,
-0.036694046,
0.016800206,
0.005279432,
0.030968234,
-0.05446385,
0.0048696757,
0.070877954,
0.06684445,
0.017715273,
-0.029237686
-0.02839711,
0.0818053,
-0.07853445,
0.02792148,
0.05005452,
-0.035238173,
-0.0040396755,
0.02928838,
-0.057782255,
0.013747614,
0.14607728,
-0.012043185,
-0.024383053,
-0.055092573,
-0.026610607,
-0.01324528,
-0.109175414,
-0.037209943,
-0.0035725583,
0.04765195,
0.06211419,
0.00703526,
-0.015518899,
-0.007973487,
0.03763324,
0.01586704,
-0.041856498,
0.097324215,
-0.02564764,
-0.11369229,
0.035487138,
0.07041544,
0.016785262,
0.022201158,
0.1234195,
0.007680676,
0.12553541,
0.0081102215,
-0.026146678,
0.0028899247,
0.018154126,
-0.046665825,
0.041037504,
0.0013452142,
0.0019477131,
0.008671534,
0.016716687,
0.02204051,
0.0020750419,
-0.032865297,
-0.08644402,
0.008038449,
-0.07436438,
-0.016300498,
0.060510594,
0.0059645884,
0.015995186,
0.021407088,
0.009546037,
0.03173758,
0.023011131,
0.03439496,
-0.042227626,
0.024753809,
0.11620387,
-0.024936425,
-0.03898177,
-0.024962299,
-0.020868327,
-0.08833928,
-0.15071589,
0.020941459,
-0.022525651,
0.0023695363,
0.0057225176,
-0.0015978776,
-0.11984311,
-0.0029637238,
0.05510895,
-0.11829667,
-0.058854777,
-0.1504783,
0.018591402,
-0.009350579,
-0.02891901,
0.083976336,
0.043746613,
-0.0006955484,
-0.05254747,
0.00023166445,
0.04039829,
0.006650695,
0.02611124,
0.05187556,
0.012637232,
0.061457768,
0.013881842,
0.038474612,
0.04822178,
0.10411109,
-0.026456181,
-0.021487249,
-0.020877272,
0.050628837,
-0.051682167,
-0.07575808,
0.05747169,
-0.04998164,
0.06526268,
-0.028748322,
0.038778387,
-0.062783346,
-0.014459063,
-0.06346632,
0.06643585,
-0.014839471,
-0.03520943,
0.07738897,
-0.03990594,
0.03218616,
0.10172238,
-0.02251418,
-0.059295975,
0.00040212218,
-0.057794202,
-0.070333555,
0.06377695,
-4.0873922e-33,
-0.0217928,
-0.079860926,
-0.013875922,
0.14925155,
0.025234098,
-0.042267527,
-0.006789101,
0.054648004,
-0.09224933,
0.008109618,
-0.038605478,
-0.117707536,
0.012982382,
0.034528743,
-0.017045766,
0.01192032,
0.012973965,
0.042740148,
-0.017594555,
-0.018439855,
0.06514173,
0.040521882,
-0.022523073,
-0.060915224,
-0.018601585,
0.011646964,
0.0141018815,
-0.0676442,
0.085437365,
0.030129185,
0.010850847,
-0.054872133,
-0.024110869,
0.04832469,
0.0074957223,
0.013342751,
0.024545655,
-0.00593543,
-0.04560701,
-0.0048439344,
0.004394637,
-0.0023842545,
0.013562894,
-0.016870767,
0.06960542,
-0.077338316,
0.020594154,
0.004850868,
0.055702493,
0.013107641,
-0.011738689,
0.04095329,
0.0074854614,
0.04204865,
0.010375211,
0.019378148,
0.011061705,
0.01726371,
0.018246066,
0.07732507,
0.019622408,
0.052688163,
-0.058638565,
0.039727792,
-0.050275218,
-0.04894181,
-0.05262661,
-0.09227883,
0.07558117,
0.08100475,
-0.022263734,
-0.04214191,
0.056570332,
0.02357359,
0.0015351619,
-0.049823847,
0.0023157697,
0.028624237,
-0.06897604,
-0.047824685,
-0.04863061,
-0.07660466,
-0.03283358,
-0.045931168,
-0.05727989,
-0.08089162,
-0.008027813,
-0.09357923,
0.05126201,
-0.058291912,
-0.00058476225,
0.022253899,
-0.04685808,
-0.08969063,
0.11958076,
2.0447206e-33,
0.012184043,
0.08640385,
-0.023207484,
0.0027744523,
-0.0010493582,
0.034863044,
0.07328646,
-0.049892753,
-0.041898787,
0.13484605,
-0.00690132,
0.0062357984,
0.0591438,
-0.028874595,
0.09140647,
-0.018482381,
0.0077092745,
-0.044212285,
-0.025144871,
-0.014995891,
-0.03540694,
0.12411378,
0.13117358,
0.081000485,
-0.033294227,
0.0039907615,
0.026457148,
0.026615122,
0.017333155,
-0.0036460846,
0.035482634,
0.059582442,
-0.12458558,
0.021935958,
0.025609804,
-0.11062111,
0.096059345,
-0.06729404,
-0.011844103,
0.042349346,
0.03789521,
0.10581876,
0.007365172,
0.066275194,
0.02294345,
0.049393825,
0.14640132,
-0.0067232805,
0.004346095,
-0.029184747,
-0.009045802,
-0.086417,
0.03588149,
0.003007588,
-0.029339395,
0.070202544,
0.014933954,
0.02831331,
-0.04035844,
0.019160643,
0.015603886,
0.028645555,
-0.01953373,
-0.018291809,
-0.005431855,
-0.09320857,
-0.06113579,
0.038820617,
0.027979009,
0.034132123,
-0.027506083,
0.010690486,
-0.0551807,
-0.07381125,
0.02152818,
-0.015417321,
-0.024984676,
-0.0047469,
0.030462446,
-0.024068687,
0.034130465,
-0.010350399,
-0.012667777,
0.03628245,
-0.004432098,
-0.014948573,
0.027915701,
0.0978373,
-0.026430307,
-0.005174212,
-0.019117763,
0.062028185,
0.052109554,
0.0378246,
0.012581808,
-1.7055598e-08,
-0.050023284,
-0.08912732,
-0.0035682702,
-0.015776077,
-0.021857934,
0.07185828,
-0.050184846,
-0.010655182,
-0.030601466,
-0.015778068,
0.01321684,
-0.0025456804,
-0.042094428,
0.009284693,
-0.041169193,
-0.029597968,
0.0022024116,
-0.03303234,
-0.05039899,
-0.021473281,
-0.0068473304,
0.008506351,
0.035692476,
0.025189023,
-0.016516164,
0.049185548,
0.018324668,
0.049055174,
-0.05820532,
-0.015019503,
0.04573769,
0.049916334,
0.02044857,
-0.05203969,
-0.0335851,
0.061823603,
0.11141345,
0.077694215,
0.0224589,
0.0025537123,
-0.043906957,
0.008579427,
-0.03620856,
0.029681833,
-0.017270379,
-0.094624266,
-0.05785328,
-0.06581307,
-0.06124199,
-0.10454261,
-0.029261446,
0.0013341395,
0.0060936743,
0.040794034,
-0.036677115,
0.016793394,
0.0052748835,
0.03099207,
-0.054484233,
0.0048635365,
0.07086335,
0.066848375,
0.017699955,
-0.029221617
]
]
}