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": 36244625,
"load_duration": 29784250,
"total_duration": 14017069,
"load_duration": 6084798,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.062304743,
0.04315718,
-0.056847535,
0.03486019,
-0.045148205,
-0.1325256,
0.021795923,
0.039035086,
-0.048403695,
-0.03187157,
-0.03934502,
0.006355416,
0.07870429,
-0.004275144,
0.023635335,
-0.02171452,
-0.055756103,
-0.009452624,
0.03968397,
-0.11446917,
-0.011574315,
0.06161675,
-0.026243819,
0.024376081,
0.029439807,
-0.0035745306,
-0.0014413354,
-0.0031348146,
0.0137771955,
-0.00021878166,
-0.0148119675,
0.08438267,
0.06679146,
0.042289164,
0.0077238376,
0.073178865,
-0.008341517,
-0.094652176,
-0.09245101,
0.0075944075,
-0.07389992,
0.015481098,
-0.04405396,
-0.04497366,
-0.041315924,
0.06968346,
-0.027464444,
0.014380017,
-0.036109854,
-0.006690219,
-0.080297194,
-5.8296577e-05,
-0.03897778,
-0.049029846,
0.017797105,
-0.0064906515,
0.05977029,
-0.0031445406,
-0.024804324,
-0.114971094,
-0.047434244,
0.018489277,
-0.009801151,
0.09573786,
-0.009445709,
-0.035714474,
-0.031265706,
-0.0032087746,
0.07714283,
-0.076175354,
-0.11878057,
-0.06322687,
-0.0045974515,
0.06524851,
0.045755487,
-0.13797933,
0.045973603,
-0.03356543,
-0.013575197,
0.004536992,
0.01706251,
-0.0016689816,
-0.051292486,
0.10251468,
0.015364908,
-0.05339754,
0.046751976,
0.11428272,
-0.0060051866,
0.010296865,
-0.03160346,
-0.051935352,
0.02092994,
0.008887596,
-0.069010794,
0.08132733,
0.012102074,
-0.06409327,
-0.036342084,
0.046690084,
0.011248327,
-0.050334014,
0.073782355,
-0.02119414,
0.0324611,
-0.026148362,
0.06814877,
-0.03795885,
0.030811384,
-0.037118603,
-0.036956605,
-0.02943471,
-0.0328876,
-0.00579801,
0.04255975,
0.05469473,
-0.01927437,
0.12277417,
0.0037985598,
0.032079652,
0.023717156,
0.019211154,
0.019987307,
-0.012261412,
-0.032464176,
-0.004472998,
-0.03568547,
-6.953471e-33,
-0.02200053,
-0.06861985,
-0.035355665,
0.008892092,
0.07110619,
-0.02524488,
0.091491714,
-0.009333656,
-0.059515916,
-0.03471947,
0.04331791,
0.033350475,
0.02423151,
0.08795865,
0.020580785,
-0.00087637454,
-0.012995603,
0.088356934,
0.04568453,
0.025818799,
0.054319557,
0.09676607,
0.02314351,
0.024316499,
0.014192086,
-0.01867069,
-0.024500258,
-0.032566376,
0.025218401,
0.016804473,
-0.07628905,
0.012665322,
-0.021314982,
0.006895667,
0.030793479,
-0.00033363912,
0.0005291749,
-0.08589274,
0.040542576,
0.0062958263,
-0.009977536,
0.0016065374,
0.012649728,
-0.036491103,
-0.023085777,
0.012404348,
-0.0051287347,
0.020217113,
-0.08761001,
0.0451902,
-0.0012827619,
-0.06574815,
0.07477121,
0.08403992,
-0.01390955,
0.05589554,
0.019330526,
-0.019641383,
-0.016001293,
-0.02915193,
0.037374426,
0.068089314,
0.069200926,
-0.007668733,
0.021160824,
0.040417258,
0.035068225,
0.082075246,
0.08809441,
0.05050193,
-0.059343174,
0.04576526,
-0.025118835,
0.03583576,
-0.028081506,
0.019838363,
0.033905286,
-0.07977674,
0.023003135,
0.062460173,
-0.034886148,
-0.05390937,
-0.016114287,
-0.0057315156,
-0.03051132,
-0.02269694,
-0.010376983,
0.06762264,
-0.010560655,
-0.09605588,
-0.07854035,
-0.08528194,
0.029969428,
-0.0059528793,
-0.039581347,
2.9781768e-33,
0.011482255,
0.010417832,
-0.0698601,
0.019292813,
-0.08453582,
-0.08570265,
0.06624837,
0.063025005,
0.050434116,
0.033736084,
-0.0058885855,
-0.069622226,
0.12551048,
0.021380005,
0.07413853,
0.0342258,
-0.045818888,
0.014834041,
-0.012672501,
0.0036430089,
-0.08024709,
0.06730083,
-0.056032285,
-0.086702436,
-0.027874194,
-0.03391202,
-0.03872441,
-0.07792124,
-0.017794719,
0.061800934,
0.014696384,
0.019996569,
-0.08146178,
0.052340467,
0.06287676,
-0.0015751559,
0.040512506,
-0.027605608,
-0.009630798,
-0.017303543,
0.11392578,
0.044186074,
0.035317622,
0.12113664,
0.018812222,
0.049269576,
-0.036081262,
0.07789768,
-0.0296637,
-0.07068735,
-0.006731622,
0.0060941395,
0.042274125,
-0.039680813,
-0.048600707,
-0.03980193,
0.032409266,
0.03371183,
-0.092499994,
-0.049876206,
-0.06597403,
-0.042388365,
0.031259395,
0.011791109,
-0.04424881,
0.04685171,
-0.12302249,
-0.034650978,
-0.01387166,
-0.13122807,
0.1448325,
0.0056148693,
-0.0031096544,
0.022904772,
-0.07642485,
0.016454488,
-0.019540928,
-0.024970472,
-0.068574235,
0.07073104,
0.026643677,
-0.035163663,
-0.0015607082,
0.029314166,
-0.08943546,
-0.022545528,
-0.031130569,
0.053781237,
0.007896568,
0.023091432,
-0.0043701245,
0.05380369,
0.01729408,
0.05636822,
-0.05328019,
-1.3478804e-08,
-0.039678477,
0.013365443,
0.036817312,
0.009736139,
0.004703614,
0.06661744,
0.02291141,
-0.047423527,
-0.04049001,
0.0068159057,
0.008662143,
-0.006292634,
-0.045681197,
-0.06387613,
-0.013174571,
0.11696965,
0.016895585,
-0.0013498863,
0.023227682,
0.022274282,
0.07852807,
-0.04508963,
-0.009177306,
0.06640095,
-0.06651727,
-0.015498115,
0.054094598,
0.07642527,
0.0082470365,
-0.12409585,
0.01265297,
-0.017635401,
-0.020622984,
0.03250185,
-0.012997484,
0.022324847,
0.010529934,
-0.0883164,
0.021471445,
-0.0029947716,
-0.03183814,
0.0718419,
0.010377949,
0.0035974192,
0.048932698,
0.07039089,
-0.03657371,
-0.035186097,
-0.03655875,
-0.07017832,
-0.030322824,
0.028595895,
-0.019070871,
-0.0025186248,
0.021279149,
0.07436103,
-0.114249244,
-0.027311146,
-0.0107884705,
0.010422842,
-0.022787437,
0.11515081,
0.18532182,
-0.026544156
-0.062299512,
0.04314291,
-0.056856677,
0.03487498,
-0.045130543,
-0.13253723,
0.021801258,
0.03905167,
-0.048422147,
-0.031866066,
-0.039334282,
0.0063861525,
0.078711785,
-0.004295658,
0.023596749,
-0.021716505,
-0.05573506,
-0.009471944,
0.039706443,
-0.114432074,
-0.011571138,
0.061599534,
-0.026234824,
0.02437703,
0.029446855,
-0.0035651308,
-0.00145838,
-0.00313903,
0.0137839755,
-0.00021519467,
-0.014771578,
0.08437898,
0.06679487,
0.042340428,
0.0076946374,
0.07313361,
-0.008328885,
-0.09465153,
-0.09245484,
0.0076101488,
-0.07390885,
0.015470385,
-0.044050634,
-0.044988655,
-0.041298985,
0.06967625,
-0.027475385,
0.01439177,
-0.03610871,
-0.0066690356,
-0.08027576,
-6.320903e-05,
-0.038967375,
-0.04901159,
0.01780741,
-0.0064625116,
0.05977013,
-0.003139111,
-0.024790227,
-0.11497569,
-0.04741595,
0.018494949,
-0.009821916,
0.09573474,
-0.009432823,
-0.03572252,
-0.031270232,
-0.0032188955,
0.07713915,
-0.07621238,
-0.11879392,
-0.063214734,
-0.004622067,
0.06525516,
0.045760594,
-0.13793096,
0.045978762,
-0.033560168,
-0.013592423,
0.0045015467,
0.01705248,
-0.0016773397,
-0.05126322,
0.102517396,
0.015358336,
-0.05337354,
0.046742212,
0.11427399,
-0.005986359,
0.010281509,
-0.031590212,
-0.05193758,
0.02094042,
0.00889564,
-0.06902529,
0.08132795,
0.012084552,
-0.06408848,
-0.03637125,
0.04667938,
0.011233042,
-0.050319683,
0.073782675,
-0.021215191,
0.03245006,
-0.026153775,
0.06814923,
-0.03795168,
0.030797591,
-0.037129108,
-0.03695134,
-0.029432079,
-0.032888234,
-0.00580058,
0.04259698,
0.05470057,
-0.019268109,
0.12275155,
0.003795531,
0.03207379,
0.02372011,
0.019182375,
0.01998619,
-0.012273767,
-0.03248627,
-0.0044953367,
-0.035685856,
-6.953945e-33,
-0.02199191,
-0.0686648,
-0.0353737,
0.00889737,
0.07112167,
-0.025211865,
0.0914874,
-0.009342371,
-0.05954011,
-0.03471374,
0.043332614,
0.0333655,
0.024237446,
0.08791945,
0.020623982,
-0.00088081614,
-0.013014688,
0.088370614,
0.04570386,
0.025825853,
0.05431844,
0.09674628,
0.023137445,
0.024317676,
0.014196965,
-0.018658916,
-0.02449057,
-0.03254813,
0.025230253,
0.0167997,
-0.07629053,
0.012663858,
-0.02127982,
0.006900138,
0.03077926,
-0.00032187518,
0.0005111945,
-0.085893854,
0.040517006,
0.006310925,
-0.009996223,
0.0015871905,
0.012663539,
-0.036496088,
-0.02311059,
0.012365358,
-0.0051299105,
0.020204524,
-0.08760432,
0.045186196,
-0.0012780412,
-0.06578143,
0.07478501,
0.08405124,
-0.013907717,
0.055900548,
0.01933963,
-0.019657157,
-0.016009875,
-0.029160723,
0.03739787,
0.06809498,
0.06920713,
-0.007672135,
0.021142934,
0.04040559,
0.035094846,
0.08207594,
0.088103354,
0.050499115,
-0.05933218,
0.045776226,
-0.025103334,
0.03583547,
-0.028066712,
0.019852906,
0.033922214,
-0.07975417,
0.02300144,
0.062443927,
-0.03490803,
-0.053939816,
-0.01613488,
-0.0057205497,
-0.030501934,
-0.02271051,
-0.010379288,
0.06760881,
-0.010573027,
-0.09605811,
-0.07852684,
-0.085278705,
0.029953092,
-0.005949969,
-0.03959023,
2.979382e-33,
0.011482047,
0.010405214,
-0.06986261,
0.019275747,
-0.08455298,
-0.08570306,
0.066268414,
0.06303412,
0.05044079,
0.033729207,
-0.005918433,
-0.06963068,
0.12552938,
0.021379305,
0.07415631,
0.034211684,
-0.045811858,
0.014828219,
-0.012704339,
0.0036554744,
-0.080252334,
0.06730209,
-0.05603338,
-0.08669251,
-0.02789593,
-0.033893805,
-0.03873136,
-0.07794548,
-0.017803997,
0.061792277,
0.014711371,
0.020018095,
-0.08146497,
0.052354332,
0.06289804,
-0.0015964498,
0.040503405,
-0.027576957,
-0.009646813,
-0.017321808,
0.113927364,
0.04419595,
0.035337232,
0.12111621,
0.018830014,
0.049245883,
-0.036052346,
0.07788832,
-0.02968157,
-0.070657946,
-0.006732323,
0.0060839457,
0.042294417,
-0.03963716,
-0.048594773,
-0.039805196,
0.03239508,
0.033688314,
-0.092505686,
-0.049885467,
-0.0659565,
-0.04236759,
0.031238468,
0.011814915,
-0.044232145,
0.046881076,
-0.12301668,
-0.03465581,
-0.01388215,
-0.13120441,
0.14485523,
0.0056016897,
-0.0030743086,
0.022897985,
-0.076423965,
0.016426744,
-0.019541634,
-0.02496784,
-0.06859387,
0.070740156,
0.026620118,
-0.0351797,
-0.0015670933,
0.029303383,
-0.08942909,
-0.022550073,
-0.031130616,
0.05381134,
0.007876352,
0.023096293,
-0.0043927482,
0.05381174,
0.017291587,
0.056370165,
-0.053297367,
-1.3478304e-08,
-0.039681002,
0.01336931,
0.03682005,
0.009732852,
0.004675352,
0.06660335,
0.022932611,
-0.04741615,
-0.04049429,
0.006841735,
0.008672197,
-0.0062891566,
-0.045680486,
-0.06389349,
-0.013189537,
0.11696302,
0.016887287,
-0.0013747291,
0.023227474,
0.02228575,
0.07854934,
-0.045100793,
-0.009169939,
0.066385396,
-0.06650943,
-0.015503365,
0.054116882,
0.07644889,
0.008241338,
-0.124083355,
0.012669299,
-0.017633973,
-0.020603409,
0.03251493,
-0.013004719,
0.022333013,
0.010550418,
-0.08830502,
0.021466808,
-0.0029931213,
-0.031842466,
0.071854234,
0.010362922,
0.0036116007,
0.04894235,
0.070390284,
-0.0365594,
-0.035181943,
-0.03654571,
-0.07017962,
-0.030360749,
0.028622892,
-0.019087547,
-0.0025200765,
0.02127114,
0.07437197,
-0.114239074,
-0.027314458,
-0.010757821,
0.01041863,
-0.022775937,
0.1151369,
0.18533714,
-0.026517315
]
]
}