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": 37544375,
"load_duration": 27636125,
"total_duration": 19830334,
"load_duration": 7418054,
"prompt_eval_count": 9,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.060630284,
0.06372823,
-0.059383437,
-0.010313639,
-0.11985778,
0.033409074,
0.056847293,
-0.0064553,
0.029896382,
-0.05037607,
0.015193001,
-0.0634204,
0.015119892,
-0.08354324,
0.0092577925,
0.044272587,
-0.024397198,
-0.05100177,
-0.028086444,
-0.07390362,
0.07088186,
0.08101153,
0.006050408,
-0.043090094,
0.010714593,
-0.01581376,
0.0351736,
0.06538307,
0.03639655,
-0.05625738,
0.073681176,
0.04730274,
0.067169026,
-0.01207242,
-0.018193275,
0.0042488067,
0.029168725,
0.0067459582,
0.037927665,
0.0024767139,
0.014044963,
0.022671249,
-0.090508185,
0.041952047,
-0.07933115,
0.031992197,
-0.038355146,
0.037013844,
-0.0036946274,
-0.016986867,
0.03696087,
-0.07697335,
-0.020080294,
0.07733012,
0.04521822,
-0.007816803,
-0.0058926586,
0.009962128,
0.033492323,
0.09000152,
0.016161384,
0.036999356,
-0.039193578,
-0.010969346,
0.023929566,
-0.03698458,
-0.008227196,
0.018780757,
-0.0006967325,
-0.062018193,
-0.030388007,
-0.037649162,
-0.04654288,
0.038450293,
-0.010377299,
-0.032971557,
0.013547814,
-0.059036925,
0.0630603,
0.0159564,
-0.04845087,
-0.069917254,
-0.022502322,
0.04408022,
0.03618941,
0.060470726,
-0.04313285,
0.028797466,
0.0062393937,
0.01027349,
-0.078714885,
-0.091531575,
0.04391341,
0.013202597,
-0.0037814155,
0.0102497,
0.020225797,
0.05634384,
-0.09700619,
0.06577961,
0.047118917,
0.01876648,
0.12445029,
-0.06447121,
-0.012632697,
0.016056264,
0.08604982,
0.024878234,
0.10627678,
-0.043176394,
-0.046339765,
-0.03149599,
-0.001784808,
-0.023469802,
-0.05079461,
0.0046657966,
0.043237828,
0.057146583,
-0.065833576,
0.032975562,
-0.028763266,
0.037831448,
0.00017829033,
0.043322463,
-0.13265091,
0.0263673,
-0.04247752,
-3.3340873e-33,
-0.0022191573,
0.050657377,
0.028066125,
-0.033898965,
-0.0045730886,
-0.034653578,
-0.08628417,
0.043108672,
0.01022734,
0.044009056,
-0.03020062,
-0.0936044,
-0.06522928,
-0.059762992,
0.037560984,
-0.025942331,
-0.06655938,
0.0043691625,
0.018846871,
-0.035582166,
0.02240012,
0.08943218,
0.033568345,
-0.11379316,
0.03822112,
-0.044403847,
0.10261262,
-0.07330182,
0.089390896,
0.056668896,
-0.009407597,
-0.0646505,
0.016652016,
0.007326742,
0.005187682,
0.0051324354,
-0.013595071,
-0.04918112,
-0.06672084,
0.010838405,
0.04638185,
-0.11490209,
-0.055054087,
0.040443793,
-0.032746885,
0.03498173,
-0.023567867,
-0.012213799,
0.048050664,
0.01159698,
0.007860181,
0.03801084,
-0.027765153,
0.003296162,
-0.0033349432,
0.006083357,
0.03200884,
0.048306234,
0.013800832,
0.036165927,
-0.022672432,
0.09197581,
0.029846204,
0.08112345,
-0.08677228,
-0.028041098,
0.0556574,
-0.030357547,
-0.016538681,
0.031826265,
-0.07586954,
-0.009915978,
0.028101236,
0.002207158,
-0.10496646,
-0.023673821,
-0.024204832,
-0.0003132271,
0.0016462951,
-0.037603874,
0.025533162,
-0.05221861,
0.021656586,
0.099111386,
-0.06896361,
-0.018568028,
0.07245527,
-0.10582686,
-0.08505038,
-0.029969748,
-0.015717981,
-0.056855034,
-0.02698479,
-0.06410572,
0.0057078917,
1.2902391e-33,
0.05490771,
-0.036417797,
-0.0023541928,
-0.03591478,
0.106852315,
-0.04931468,
0.037884213,
0.050633065,
-0.083874516,
-0.018756155,
0.0036251817,
0.028974183,
-0.0027879397,
-0.036439158,
0.11148004,
0.051007163,
0.040258586,
0.09245398,
-0.01367112,
-0.070999645,
-0.043213032,
-0.060117763,
-0.03019449,
0.009107182,
-0.044254936,
0.04843456,
0.117205575,
-0.009833911,
0.0023962231,
0.09339494,
-0.059902366,
0.0101377955,
-0.03777244,
-0.04344207,
-0.14677393,
-0.022666233,
-0.008934328,
-0.02157697,
-0.021902358,
-0.06611372,
0.016243221,
0.062620856,
0.01056146,
0.04721975,
-0.087221384,
0.009420561,
-0.017691165,
-0.03847053,
0.010398396,
0.022942957,
0.099518456,
-0.021421565,
0.0016765085,
-0.039359514,
0.01641369,
0.039669517,
-0.119695365,
0.009885617,
0.003855461,
0.018273395,
-0.0454586,
0.0020496584,
0.024263415,
0.016978405,
0.06884217,
-0.027432522,
-0.01813802,
0.053840507,
-0.028815664,
-0.045221787,
0.11472852,
0.019796453,
-0.05785514,
0.016556906,
-0.07362942,
0.04025756,
-0.01510899,
0.0067040483,
-0.049666926,
0.045941774,
0.077951804,
-0.042951427,
0.021852365,
0.063826546,
0.08110754,
-0.070652775,
-0.03245094,
0.09259784,
-0.020451743,
0.0701599,
-0.020740295,
0.09339449,
-0.051164806,
0.039440546,
0.02560772,
-1.6767814e-08,
0.001529873,
0.0080792755,
-0.017666567,
-0.034070052,
0.06805411,
0.07387949,
-0.07592055,
-0.11369049,
-0.022008128,
0.009088418,
0.03108134,
-0.0056734695,
-0.0462051,
0.0037219985,
0.013269294,
-0.03213892,
-0.05557376,
-0.010602884,
0.006751397,
-0.025462827,
-0.0836812,
0.08886153,
0.005159859,
-0.051621262,
-0.051873572,
0.039706588,
-0.042155124,
0.057125967,
0.088910565,
0.049736783,
0.04144574,
0.094677895,
-0.037107926,
-0.06845684,
-0.061673928,
0.09891817,
-0.05952751,
-0.0331722,
-0.026014913,
0.077612035,
0.056150436,
0.010709955,
0.018974187,
0.056079865,
-0.041700333,
-0.02731697,
0.10184176,
-0.036189064,
-0.029914921,
-0.043333948,
0.043660097,
0.018800316,
-0.0042763646,
0.055898346,
-0.0034344571,
0.060258396,
-0.1337251,
0.008184424,
-0.031549457,
0.022398692,
0.037932154,
0.024529235,
0.068037644,
0.07021777
-0.060639773,
0.06372565,
-0.05936291,
-0.010300041,
-0.11982569,
0.033425555,
0.056833234,
-0.0064585046,
0.029884538,
-0.050377,
0.015235641,
-0.06343532,
0.015153007,
-0.08355496,
0.009256003,
0.044258773,
-0.024394983,
-0.050998896,
-0.028089164,
-0.073907696,
0.0708678,
0.081041634,
0.0060154344,
-0.043091357,
0.010724255,
-0.0157963,
0.03515573,
0.06535516,
0.036405835,
-0.056207117,
0.073691264,
0.047304515,
0.06716326,
-0.012080835,
-0.018201472,
0.004228335,
0.029158425,
0.0067739366,
0.037928075,
0.0024743075,
0.014024643,
0.022656543,
-0.090546414,
0.04194943,
-0.0793169,
0.03200897,
-0.03836494,
0.036980182,
-0.0037388564,
-0.016997939,
0.03697645,
-0.07700678,
-0.020121705,
0.077319205,
0.04524197,
-0.007828367,
-0.005898434,
0.009954127,
0.033502743,
0.08998491,
0.01617543,
0.036984075,
-0.039189536,
-0.010982272,
0.023962036,
-0.036975376,
-0.008243782,
0.018792296,
-0.0006868037,
-0.06198398,
-0.030387625,
-0.03764361,
-0.0465636,
0.038446005,
-0.010364095,
-0.03298246,
0.013548113,
-0.059034206,
0.06306018,
0.015928335,
-0.048439246,
-0.06992423,
-0.02249995,
0.044059318,
0.036188874,
0.0604999,
-0.043173794,
0.02878105,
0.00625082,
0.010277735,
-0.07871832,
-0.09155406,
0.043908454,
0.013187137,
-0.0037733258,
0.010227577,
0.020180272,
0.056316458,
-0.097017966,
0.06576817,
0.04714018,
0.018830564,
0.124457024,
-0.064480856,
-0.012605383,
0.016036145,
0.08604121,
0.024867544,
0.10626747,
-0.04315638,
-0.046307754,
-0.031482875,
-0.0017896753,
-0.023491126,
-0.05078794,
0.0046478175,
0.043237753,
0.05715731,
-0.06581743,
0.032969296,
-0.028760076,
0.037811063,
0.00016727838,
0.043302964,
-0.13265245,
0.0263716,
-0.042466283,
-3.3353205e-33,
-0.002227074,
0.05063068,
0.028064998,
-0.033884156,
-0.0045258533,
-0.03464052,
-0.086286224,
0.04311723,
0.01025313,
0.044037264,
-0.03019185,
-0.09359287,
-0.065240555,
-0.059729856,
0.037555248,
-0.025923185,
-0.06656174,
0.0043645045,
0.018837698,
-0.035559133,
0.022410586,
0.089450255,
0.033591606,
-0.11377698,
0.03821906,
-0.044418316,
0.10258541,
-0.07330748,
0.089376666,
0.056672454,
-0.009439043,
-0.064637296,
0.016651757,
0.007316741,
0.0052164183,
0.0051133917,
-0.013578286,
-0.04917494,
-0.06671976,
0.010861998,
0.04635771,
-0.114912644,
-0.055052113,
0.040456027,
-0.032764934,
0.03497564,
-0.023565749,
-0.0122220665,
0.048061397,
0.011574431,
0.0078836065,
0.038066708,
-0.02776296,
0.0033052622,
-0.0033062513,
0.0060893223,
0.032002907,
0.048337206,
0.013765614,
0.0361784,
-0.022666454,
0.09200785,
0.029846026,
0.08113161,
-0.08676324,
-0.028000059,
0.05564783,
-0.030363169,
-0.01651962,
0.031817682,
-0.07585742,
-0.009924711,
0.028093029,
0.0022190511,
-0.10494398,
-0.023684397,
-0.02419872,
-0.00029041493,
0.0016061965,
-0.037576895,
0.025535172,
-0.052210968,
0.021654254,
0.099135235,
-0.06895632,
-0.018578324,
0.0724588,
-0.105865955,
-0.08502584,
-0.030003337,
-0.015741726,
-0.05684276,
-0.027024021,
-0.06408883,
0.005700278,
1.2909128e-33,
0.054930277,
-0.036410004,
-0.0023171217,
-0.035894036,
0.1068399,
-0.049308524,
0.037888233,
0.050643876,
-0.08384806,
-0.018762833,
0.0036076272,
0.028958267,
-0.0028438307,
-0.036437068,
0.11147226,
0.051020138,
0.04023225,
0.09245051,
-0.01367069,
-0.07095874,
-0.043207154,
-0.060137726,
-0.030198809,
0.009124354,
-0.04424328,
0.04844442,
0.117211945,
-0.009819735,
0.002429452,
0.09333068,
-0.05990318,
0.010140399,
-0.03776785,
-0.043452136,
-0.14679956,
-0.022661027,
-0.008955439,
-0.021544594,
-0.021905722,
-0.066112846,
0.016239611,
0.062623896,
0.010557838,
0.047209036,
-0.087235674,
0.0094077485,
-0.01769091,
-0.038465302,
0.010402301,
0.022951292,
0.09949292,
-0.021435224,
0.0016363884,
-0.039346013,
0.016425362,
0.039651647,
-0.11970253,
0.009909306,
0.003858687,
0.0182787,
-0.04543836,
0.0020555719,
0.024242649,
0.016967652,
0.06883535,
-0.027423857,
-0.0181242,
0.053814657,
-0.02883445,
-0.045210328,
0.11474227,
0.019766666,
-0.057896398,
0.016537277,
-0.0736607,
0.040268008,
-0.015094288,
0.006702388,
-0.049662724,
0.045974977,
0.077959426,
-0.04295526,
0.02186354,
0.063874446,
0.08110985,
-0.07061161,
-0.032482613,
0.09260675,
-0.020442914,
0.07014854,
-0.020733764,
0.093375094,
-0.05119609,
0.039442588,
0.025606012,
-1.6766675e-08,
0.0015268949,
0.008090479,
-0.017678792,
-0.03410393,
0.068066135,
0.07387084,
-0.07586656,
-0.113715105,
-0.022030246,
0.0091101825,
0.031090891,
-0.005711195,
-0.04621522,
0.003679675,
0.013247459,
-0.032131832,
-0.05559878,
-0.010590206,
0.006735521,
-0.025462449,
-0.08367791,
0.08888197,
0.0051492383,
-0.051671468,
-0.051902205,
0.039699014,
-0.042151738,
0.05715088,
0.088929184,
0.049737025,
0.041459583,
0.0946667,
-0.037086494,
-0.06848715,
-0.06164879,
0.09891768,
-0.05950153,
-0.03321193,
-0.025980823,
0.07762438,
0.05616985,
0.010686045,
0.01899881,
0.056079634,
-0.04168257,
-0.027310291,
0.10182688,
-0.036167838,
-0.029922716,
-0.04332533,
0.0436739,
0.01878726,
-0.0042941514,
0.055926275,
-0.0034490179,
0.060258176,
-0.13373649,
0.008205703,
-0.03154335,
0.02240309,
0.03797733,
0.02454498,
0.06804169,
0.07020173
]
]
}