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": 51147375,
"load_duration": 33379959,
"total_duration": 16658862,
"load_duration": 6238467,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.055990793,
0.076004684,
-0.09247725,
0.014340361,
0.058780864,
-0.032434482,
0.020954052,
0.028818125,
-0.06591213,
0.013541593,
0.12999941,
0.004603084,
-0.0069239275,
-0.055457443,
-0.047553156,
-0.029139794,
-0.12236376,
-0.05360872,
-0.014706594,
0.05984688,
0.034442738,
0.02076038,
-0.048697792,
0.0135388365,
0.058592733,
-0.003076384,
-0.031565297,
0.082541116,
-0.031259205,
-0.12057633,
0.038319625,
0.06574785,
0.06415721,
0.038382582,
0.12570712,
0.03108174,
0.10821103,
-0.0019794356,
-0.024704305,
0.028765837,
0.01268161,
-0.039844505,
0.043253522,
-0.015898596,
-0.0135526005,
-0.0050831717,
-0.007911988,
0.039783813,
0.0036548872,
-0.033632487,
-0.058547974,
0.0048877494,
-0.089586094,
-0.010457663,
0.059202507,
-0.020414542,
0.014278556,
0.013986488,
-0.0046022516,
0.0383391,
0.0048145773,
0.029772853,
-0.020863408,
0.018640704,
0.12422993,
-0.023236223,
-0.040323637,
-0.023598222,
-0.007448043,
-0.09083128,
-0.16859712,
0.01012451,
-0.035808884,
0.010595173,
-0.02050494,
0.0020821376,
-0.10925222,
0.00793264,
0.048889533,
-0.11391199,
-0.06072707,
-0.13435508,
0.0063265716,
-0.008838073,
-0.03153269,
0.099169336,
0.055310693,
0.0068571265,
-0.023463152,
-0.0031599961,
0.036782328,
0.014336826,
0.022220163,
0.047114056,
0.007079763,
0.06806425,
0.01851431,
0.040882625,
0.055058856,
0.09488346,
-0.015833577,
-7.924328e-05,
0.010821554,
0.09177704,
-0.07464829,
-0.06471165,
0.07013805,
-0.04499751,
0.057702336,
-0.0260911,
0.006323043,
-0.09500501,
-0.010549514,
-0.07887475,
0.039744847,
-0.04154404,
-0.055268157,
0.07540271,
-0.04667509,
0.036143072,
0.080297194,
-0.036381353,
-0.03477274,
0.01701203,
-0.047007203,
-0.06519774,
0.062141683,
-4.222482e-33,
-0.0017580023,
-0.09383388,
-0.02982657,
0.1257841,
0.03802007,
-0.03654342,
0.0060920226,
0.05906885,
-0.11074452,
0.005664566,
-0.0259852,
-0.074819505,
0.008342821,
0.027451068,
-0.05248069,
0.02401768,
-0.004380289,
0.039321493,
-0.04213744,
-0.027290314,
0.054677974,
0.02707243,
-0.03329442,
-0.060589895,
-0.050737355,
0.017969057,
-0.0035060972,
-0.04666249,
0.073946096,
0.01333894,
-0.0033873583,
-0.046544433,
-0.060105033,
0.03406923,
0.001542676,
0.039177947,
0.03989323,
-0.012346489,
-0.030511485,
-0.0019157606,
-0.014608986,
-0.012997742,
0.019522104,
-0.022349002,
0.074362256,
-0.053366993,
-0.023993475,
0.029225096,
0.027534606,
0.015111057,
-0.020442221,
0.043327376,
0.019660354,
0.017330697,
-0.0035011724,
0.019482937,
-0.0003428041,
0.0004143988,
-0.005117252,
0.06624799,
0.027922852,
0.041020587,
-0.067166425,
0.028737254,
-0.03478325,
-0.055551115,
-0.032713737,
-0.08099247,
0.09216284,
0.06395264,
-0.049168136,
-0.039908994,
0.036915958,
-0.001602359,
0.00033041168,
-0.026015632,
-0.005999889,
0.05474541,
-0.09568287,
-0.05186289,
-0.048838183,
-0.08639551,
-0.034023147,
-0.033257127,
-0.05651867,
-0.051131375,
0.00809173,
-0.08581851,
0.06507323,
-0.085427366,
0.027997404,
0.029847065,
-0.031673994,
-0.08560956,
0.1017672,
2.1855676e-33,
0.01160785,
0.077607885,
-0.017380483,
0.005239329,
0.0009684126,
0.06543702,
0.07256893,
-0.044318836,
-0.04749324,
0.14031002,
-0.025741624,
0.0057860985,
0.040946104,
-0.054880083,
0.074413285,
-0.023610368,
0.018364722,
-0.060585637,
-0.044149306,
0.0027854694,
-0.04580664,
0.1172219,
0.10268574,
0.07907412,
-0.0466143,
0.018618405,
0.029834948,
0.037265483,
0.02273822,
-0.0026589038,
0.041726097,
0.06439532,
-0.089163445,
0.018188318,
0.024064727,
-0.096389584,
0.08642254,
-0.05389359,
0.01923105,
0.045092683,
0.045125954,
0.09655961,
0.014908797,
0.059611585,
0.03066662,
0.05882299,
0.111484826,
0.016632542,
0.011590394,
-0.023702666,
-0.008617484,
-0.055030316,
0.047606383,
-0.014632687,
-0.014156344,
0.069926,
0.032047603,
0.042642817,
-0.053942375,
0.031047028,
0.009216673,
0.033024028,
-0.019033706,
0.005568194,
-0.014985451,
-0.09193244,
-0.03210824,
0.015367608,
0.029150328,
0.01250386,
-0.004827391,
0.023345906,
-0.028271332,
-0.08454125,
0.051068563,
-0.0133641455,
-0.029022738,
-0.02258452,
0.010884119,
-0.009810021,
0.049751773,
-0.0032637494,
-0.038813565,
0.027924104,
0.017925078,
0.005337612,
0.058691237,
0.09577674,
-0.014308608,
0.006972794,
-0.02733344,
0.06912433,
0.05727631,
0.03206042,
0.0042422824,
-1.6766318e-08,
-0.036354303,
-0.09146416,
-0.026319364,
-0.007941995,
-0.024127059,
0.09896698,
-0.04723083,
-0.03767135,
-0.029419973,
-0.022513283,
0.04125822,
-0.0011487947,
-0.05570366,
0.020679709,
-0.038118906,
-0.0524994,
-0.02624128,
-0.05336954,
-0.040593866,
-0.0073642326,
-0.0014442836,
0.02714257,
0.027141048,
0.00932513,
-0.00026505854,
0.038233075,
0.037096914,
0.08405413,
-0.06340637,
-0.014856458,
0.05038612,
0.06703033,
0.027668556,
-0.04360097,
-0.012041474,
0.08500689,
0.111594744,
0.1046117,
0.019726463,
-0.0003025109,
-0.04110389,
0.009575226,
-0.05285304,
-0.0026365265,
-0.031144748,
-0.08860188,
-0.06762232,
-0.07451522,
-0.053012833,
-0.09560941,
-0.05273455,
0.013032144,
0.0029190276,
0.041905046,
-0.04522114,
0.016730292,
0.017214278,
0.021578068,
-0.03718778,
0.02353425,
0.052041385,
0.06444499,
0.02387539,
-0.025236009
-0.055982195,
0.076081045,
-0.092433155,
0.014348906,
0.058773536,
-0.032442085,
0.020963855,
0.028817905,
-0.06589273,
0.013538555,
0.12999825,
0.0045920787,
-0.006909012,
-0.055475082,
-0.047584433,
-0.029108394,
-0.12240743,
-0.053608917,
-0.01469641,
0.059820697,
0.034437098,
0.020720147,
-0.04865705,
0.013548686,
0.0586202,
-0.0030596491,
-0.03157386,
0.08258042,
-0.03125673,
-0.12059294,
0.038315985,
0.06574817,
0.06415242,
0.038379226,
0.12571476,
0.031110935,
0.1082007,
-0.001945952,
-0.024701951,
0.028813468,
0.0127212815,
-0.039838783,
0.043286823,
-0.01592365,
-0.013537497,
-0.005082726,
-0.007908334,
0.03983111,
0.003692527,
-0.03362251,
-0.058581255,
0.0048970715,
-0.08960359,
-0.010458434,
0.059172295,
-0.020381752,
0.014312179,
0.013974074,
-0.004614098,
0.038257506,
0.0048046876,
0.029754879,
-0.020845208,
0.018606082,
0.12421981,
-0.0232267,
-0.040324386,
-0.023599995,
-0.0074541806,
-0.090772845,
-0.16855139,
0.010115335,
-0.035782356,
0.010589896,
-0.020527367,
0.0020988148,
-0.10928735,
0.007924992,
0.04890187,
-0.113910094,
-0.060739312,
-0.13437672,
0.00634339,
-0.008847756,
-0.031561375,
0.09914905,
0.055312507,
0.0068518873,
-0.023520693,
-0.0031644772,
0.03681182,
0.01432514,
0.022244632,
0.047091875,
0.007081216,
0.06810163,
0.01849201,
0.040876437,
0.0550351,
0.09491265,
-0.015807496,
-7.8463614e-05,
0.010782611,
0.09179502,
-0.074678205,
-0.06468329,
0.07012851,
-0.04499402,
0.057698727,
-0.026082484,
0.006340654,
-0.095005274,
-0.010555381,
-0.07885503,
0.039741103,
-0.04152419,
-0.055226922,
0.07541398,
-0.046700906,
0.036149766,
0.08029784,
-0.036375977,
-0.03479682,
0.017001636,
-0.047019735,
-0.065193616,
0.062124435,
-4.2218427e-33,
-0.0017721883,
-0.09384802,
-0.029816238,
0.1257514,
0.037986845,
-0.036565077,
0.0060834913,
0.059064236,
-0.11073993,
0.0056816707,
-0.02600264,
-0.074865155,
0.008368443,
0.027423527,
-0.052494608,
0.024021218,
-0.004405381,
0.039293334,
-0.042134702,
-0.02727807,
0.0547222,
0.027060617,
-0.033269312,
-0.06058816,
-0.05074509,
0.017971171,
-0.0035045573,
-0.04667931,
0.073935926,
0.013332051,
-0.0033654193,
-0.04656567,
-0.060090553,
0.034060493,
0.0015471254,
0.039180268,
0.03989967,
-0.012337066,
-0.030525556,
-0.0019079247,
-0.01460898,
-0.012969273,
0.0195347,
-0.022350095,
0.07438301,
-0.053325966,
-0.02395582,
0.0292596,
0.027539466,
0.015120207,
-0.020437608,
0.04332795,
0.019630946,
0.01733148,
-0.0034844875,
0.019485317,
-0.0003494216,
0.00042686076,
-0.005132303,
0.066248745,
0.027956294,
0.04101923,
-0.06715309,
0.028716685,
-0.034805898,
-0.0555862,
-0.032694634,
-0.081002966,
0.092122965,
0.06396523,
-0.049184497,
-0.03989705,
0.0369496,
-0.0015811125,
0.0003197812,
-0.026036698,
-0.0060006436,
0.054738022,
-0.09564789,
-0.051893853,
-0.048824586,
-0.086377576,
-0.034007866,
-0.033272535,
-0.05652991,
-0.051139913,
0.008112306,
-0.08580783,
0.06505675,
-0.08542722,
0.028040707,
0.029830497,
-0.031668846,
-0.085617274,
0.101759925,
2.1862516e-33,
0.0116090225,
0.07760366,
-0.01735762,
0.0052205133,
0.000975667,
0.065414004,
0.07253235,
-0.04430889,
-0.047520436,
0.14030467,
-0.025719156,
0.005793378,
0.04094832,
-0.054858785,
0.07442516,
-0.023601599,
0.018334351,
-0.060549837,
-0.044134542,
0.0027906233,
-0.04578033,
0.117253944,
0.10268663,
0.07909348,
-0.04660703,
0.01862913,
0.029805424,
0.03725584,
0.022773262,
-0.002695987,
0.041698016,
0.06442998,
-0.08914443,
0.018201683,
0.024052765,
-0.096402094,
0.086406566,
-0.053927243,
0.01922541,
0.045094177,
0.04512779,
0.09656579,
0.014912764,
0.05959895,
0.030681113,
0.058840565,
0.11149792,
0.016654478,
0.011594341,
-0.023696017,
-0.008650225,
-0.055055793,
0.04757928,
-0.014643343,
-0.014162865,
0.06991306,
0.03207973,
0.0426524,
-0.05397539,
0.031076223,
0.009192395,
0.03302898,
-0.01901568,
0.0055926023,
-0.014975381,
-0.09193982,
-0.032133788,
0.015386497,
0.029159075,
0.0125140045,
-0.0048286216,
0.023340749,
-0.028264781,
-0.08455668,
0.051091656,
-0.013328911,
-0.029051399,
-0.022525461,
0.0108897155,
-0.009800699,
0.049736347,
-0.0032429877,
-0.03881739,
0.027952043,
0.017933605,
0.0053533562,
0.058684465,
0.0957579,
-0.014328832,
0.007005975,
-0.02730476,
0.06912227,
0.05728153,
0.032041542,
0.0042575295,
-1.6768182e-08,
-0.036365103,
-0.091483496,
-0.026359037,
-0.007929498,
-0.02413145,
0.09893336,
-0.047247022,
-0.03765342,
-0.029432135,
-0.022519268,
0.04128326,
-0.0011647358,
-0.055700593,
0.02070786,
-0.0381106,
-0.052463897,
-0.02626158,
-0.053371817,
-0.040604327,
-0.007350147,
-0.0014813344,
0.027132856,
0.027119234,
0.009304667,
-0.0002654552,
0.03823097,
0.03706377,
0.08402369,
-0.06339772,
-0.014845903,
0.05038436,
0.06699758,
0.027672214,
-0.04359535,
-0.012074228,
0.08498164,
0.111630745,
0.10461064,
0.01975323,
-0.0002619162,
-0.041080646,
0.00960582,
-0.052899837,
-0.0026609222,
-0.031148938,
-0.08861712,
-0.06763032,
-0.074505664,
-0.05304462,
-0.09555963,
-0.052730557,
0.013020395,
0.0029235827,
0.04188656,
-0.045235366,
0.016710248,
0.017224982,
0.021616042,
-0.0371995,
0.023536215,
0.05206289,
0.0644171,
0.023864746,
-0.02523672
]
]
}