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": 32707708,
"load_duration": 23390000,
"total_duration": 16580079,
"load_duration": 6456308,
"prompt_eval_count": 8,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.054516047,
-0.016456056,
-0.010628294,
0.022998175,
0.011771307,
-0.11192805,
-0.009638266,
0.019111464,
0.048958372,
-0.040184658,
-0.022362057,
0.016236247,
0.009179422,
0.054799747,
0.049246185,
-0.095869735,
-0.031108288,
-0.010185289,
-0.02914681,
-0.08954776,
-0.0006788293,
0.03496997,
0.016079746,
0.003440155,
0.039660316,
-0.016080642,
-0.028411511,
0.021429215,
0.046082154,
-0.062199906,
-0.023051145,
0.10141082,
0.025186997,
-0.03625052,
-0.032918967,
0.034433577,
-0.016646268,
-0.066217534,
-0.06070787,
0.0006243064,
-0.06383077,
0.0077886702,
-0.005127284,
-0.036702275,
-0.023532037,
0.074247204,
-0.017199293,
0.064781435,
-0.00963324,
-0.0011216484,
-0.094671436,
0.029772488,
-0.0828219,
-0.053136364,
-0.014507852,
-0.015170829,
0.03712605,
0.071739994,
-0.018907284,
-0.11193762,
-0.11859575,
0.029719124,
0.030655412,
0.10308374,
-0.027978238,
-0.045611758,
0.0013704232,
0.004602404,
0.032320693,
-0.027153788,
-0.06603313,
-0.015827695,
0.01920783,
0.06879109,
0.047088612,
-0.1058506,
0.046279814,
-0.030967912,
-0.06984916,
-0.014879451,
-0.0014568317,
0.026731879,
-0.04702097,
0.076069675,
0.05755153,
-0.020301627,
0.038702164,
0.06855233,
-0.06817319,
-0.017392006,
0.057020444,
-0.0795406,
-0.014256318,
0.0036161602,
-0.05289696,
0.049625576,
0.021482797,
0.034989595,
0.025457244,
-0.004806878,
0.051217325,
-0.085426696,
0.07142323,
0.04465428,
0.039311107,
-0.013488202,
0.07088864,
-0.06598805,
0.05922822,
-0.023026757,
-0.027465338,
-0.046879534,
-0.03751372,
-0.0085191075,
0.05315477,
0.0037932945,
-0.020239882,
0.043557003,
-0.03434906,
0.04282584,
-0.007332412,
-0.0016165953,
0.041878954,
-0.025151564,
-0.0301328,
0.05601688,
-0.03388191,
-4.802144e-33,
0.008930927,
-0.10549414,
-0.022485359,
-0.00461374,
0.10122854,
-0.024063904,
0.072040126,
0.00826307,
-0.017573163,
-0.012551788,
0.011197847,
0.09432378,
0.025232295,
0.061275084,
0.028605146,
0.070148624,
-0.028050693,
0.042055413,
0.012653081,
0.051212482,
0.06987365,
0.113007665,
0.063927636,
0.04614841,
0.00071471,
-0.04746817,
-0.007670411,
-0.016275087,
-0.039374933,
-0.0060473024,
-0.057836913,
-0.032802302,
0.030103875,
0.049495216,
0.006514002,
-0.015127479,
0.027406687,
-0.13926439,
0.04688173,
-0.00014261098,
0.023295157,
0.014260961,
0.00048042598,
-0.019151432,
-0.02166308,
0.012344319,
-0.03541818,
-0.014996304,
-0.12476534,
0.017857043,
-0.015367026,
-0.030933712,
0.0775453,
0.067932405,
-0.002991927,
0.034482367,
0.07207725,
-0.008732087,
-0.0038812195,
-0.048092995,
0.021236168,
0.06584243,
0.07847724,
0.014562048,
0.066736475,
0.07221872,
0.03357779,
0.084165,
0.01657892,
0.04212138,
-0.059364557,
0.020403123,
-0.065706775,
0.045810685,
0.0029439582,
0.0034878643,
-0.008467763,
-0.14005418,
0.056226924,
0.05473064,
-0.060421,
-0.035074305,
-0.05707729,
-0.0104098,
-0.089569785,
-0.023614792,
0.0344653,
0.033663824,
0.06720568,
-0.0725603,
-0.04185905,
-0.08224899,
0.010631505,
-0.042881776,
-0.0014539668,
8.40692e-34,
-0.07032476,
0.0070766173,
-0.03506184,
0.021500606,
-0.11258514,
-0.045659322,
0.08482931,
0.050339974,
0.0533988,
0.01208183,
-0.0019384808,
-0.0860773,
0.09599927,
0.0037235345,
0.060938608,
0.015288853,
-0.040593054,
0.10491757,
0.07109598,
-0.0050172145,
-0.049021836,
0.091859885,
-0.09862007,
-0.012040684,
-0.016914355,
-0.028067894,
-0.12471722,
-0.078632146,
-0.018693453,
0.021743925,
0.0057838396,
0.051090635,
-0.08270728,
0.07299018,
0.014088154,
0.0010067249,
-0.03681869,
0.005664378,
0.017898101,
0.01379136,
0.049959406,
0.021462437,
0.11088524,
0.061694097,
0.018546695,
0.036211833,
-0.06682083,
0.036322806,
-0.021121122,
-0.079697676,
0.065231666,
0.002995329,
0.0188468,
-0.008694769,
-0.058170997,
-0.040058907,
0.051831294,
0.016280394,
-0.08779952,
-0.022270929,
-0.013231236,
-0.03801554,
0.0254927,
0.030549657,
-0.054053955,
0.040396415,
-0.116118245,
-0.026093038,
-0.004378966,
-0.15024145,
0.08058958,
-0.05766716,
0.02520104,
-0.0038984206,
-0.06448939,
0.020477816,
-0.034754846,
-0.029315596,
-0.052802563,
0.050487537,
-0.03663958,
-0.009309272,
-0.031305738,
-0.0010610216,
-0.089741714,
0.0445201,
-0.058746234,
0.028397618,
0.057035178,
-0.021242462,
0.024774676,
0.023253858,
-0.025503494,
0.066465355,
0.011176001,
-1.5780694e-08,
-0.043592602,
0.050871234,
0.009062051,
0.03658537,
0.002769079,
0.038917493,
-0.013205564,
0.006855097,
-0.006784634,
0.020516934,
-0.029890155,
-0.005596517,
-0.06777992,
-0.05436433,
0.02436097,
0.13761573,
-0.07139558,
0.007746665,
0.051632155,
0.059728563,
0.0424793,
-0.035606194,
-0.05791164,
0.044417217,
-0.105627485,
0.009701339,
-0.016052725,
0.03566595,
0.023313522,
-0.079250954,
0.0054293363,
-0.060480006,
-0.044735,
0.013152052,
-0.015912784,
-0.012098195,
0.0058634495,
-0.070984975,
0.017616477,
0.03611389,
0.023517592,
-0.007936504,
-0.03601146,
0.0059993765,
0.059939068,
0.0058700717,
-0.05880679,
-0.04119574,
-0.038231015,
-0.030013425,
0.01916342,
-0.020920184,
-0.008940394,
-0.025874808,
0.08722286,
0.042265054,
-0.09463029,
-0.034977533,
0.05149754,
0.042541843,
-0.01818799,
0.06035198,
0.1938343,
0.01467125
-0.054535713,
-0.01647897,
-0.010625582,
0.023008224,
0.011759344,
-0.111917414,
-0.009629101,
0.019088669,
0.048962217,
-0.040159587,
-0.022340449,
0.016200319,
0.009202871,
0.054802068,
0.049234793,
-0.09586973,
-0.03113037,
-0.010191666,
-0.029160725,
-0.08953834,
-0.0006810638,
0.034986537,
0.016088286,
0.003424259,
0.039658964,
-0.016078588,
-0.028393669,
0.021416757,
0.046096187,
-0.06216622,
-0.023037015,
0.1013916,
0.025191637,
-0.036257233,
-0.03293213,
0.034415286,
-0.016662724,
-0.06623385,
-0.060700428,
0.0006065483,
-0.06384223,
0.0078050094,
-0.0051191156,
-0.03669438,
-0.023559183,
0.07428184,
-0.01721832,
0.06481015,
-0.009654798,
-0.0010900846,
-0.09464753,
0.029771274,
-0.08282523,
-0.05314006,
-0.01452814,
-0.015171761,
0.037140947,
0.07173332,
-0.018937344,
-0.11191488,
-0.11860731,
0.029728845,
0.030656187,
0.103080384,
-0.027999118,
-0.04562904,
0.0013753629,
0.0045906254,
0.032285035,
-0.027159423,
-0.066034995,
-0.015820919,
0.019237159,
0.06880823,
0.04709089,
-0.10583619,
0.04628416,
-0.030952096,
-0.06985726,
-0.01489977,
-0.0014784886,
0.026742237,
-0.047020886,
0.07605717,
0.057562124,
-0.020296026,
0.038699575,
0.068533406,
-0.06815694,
-0.017370922,
0.057017475,
-0.079542115,
-0.014235115,
0.003623275,
-0.052890334,
0.04962317,
0.021482611,
0.03502143,
0.025463292,
-0.0048156767,
0.051208895,
-0.08542178,
0.07141962,
0.044664312,
0.03932115,
-0.013527642,
0.07087505,
-0.06600328,
0.05924568,
-0.023052538,
-0.027463019,
-0.046869196,
-0.03748807,
-0.008505666,
0.053133655,
0.0037986652,
-0.020212771,
0.043556064,
-0.034358878,
0.042805903,
-0.0073572295,
-0.0015867023,
0.04185437,
-0.02514704,
-0.030102273,
0.05600693,
-0.033871204,
-4.8017078e-33,
0.008951275,
-0.10545955,
-0.022469193,
-0.0046515064,
0.101191446,
-0.024060266,
0.0720429,
0.008255562,
-0.017577993,
-0.012554701,
0.011185812,
0.094320215,
0.02520196,
0.06127928,
0.028601166,
0.0701666,
-0.028017957,
0.042041674,
0.012637978,
0.051187877,
0.06988971,
0.11301735,
0.06395204,
0.04612332,
0.0007098928,
-0.047456842,
-0.007656803,
-0.016268259,
-0.039380968,
-0.0060521755,
-0.057859622,
-0.032785412,
0.030082524,
0.049507707,
0.0064935936,
-0.015132811,
0.027426424,
-0.1392769,
0.046868317,
-0.00012954268,
0.023331605,
0.014258741,
0.00046936277,
-0.019173825,
-0.021654885,
0.012334302,
-0.035438117,
-0.015027805,
-0.12477716,
0.017864512,
-0.0153814005,
-0.030930284,
0.07757873,
0.06792478,
-0.0030147473,
0.034457013,
0.072105244,
-0.008725219,
-0.0039085858,
-0.04809878,
0.021228116,
0.06583196,
0.078512274,
0.014584778,
0.06673733,
0.07221583,
0.033577427,
0.084169276,
0.016580611,
0.042122263,
-0.05934277,
0.020412177,
-0.06569441,
0.045803223,
0.0029223328,
0.0034806612,
-0.008458956,
-0.14005856,
0.056258015,
0.0547175,
-0.060439304,
-0.03508705,
-0.057089172,
-0.010407182,
-0.0895699,
-0.023597935,
0.03446976,
0.033670787,
0.06720999,
-0.0725774,
-0.041841872,
-0.08223708,
0.010613598,
-0.042911,
-0.0014353823,
8.40787e-34,
-0.07033168,
0.0070736655,
-0.035051774,
0.0215116,
-0.11255857,
-0.045679986,
0.08481424,
0.050349806,
0.053389013,
0.012061718,
-0.0019460444,
-0.08606971,
0.09598181,
0.0037098164,
0.060968198,
0.015265811,
-0.040588457,
0.1049424,
0.07111727,
-0.0050206287,
-0.048998516,
0.091846675,
-0.09864027,
-0.0120658465,
-0.016912753,
-0.028071038,
-0.12469634,
-0.07860433,
-0.018691944,
0.021778468,
0.0057638944,
0.051103488,
-0.08267645,
0.07295661,
0.014084549,
0.0009908162,
-0.0368374,
0.0056820577,
0.017890759,
0.013773187,
0.04993143,
0.021441808,
0.11090027,
0.0616793,
0.01855691,
0.03620899,
-0.066839695,
0.03632399,
-0.021137934,
-0.07972023,
0.06525973,
0.0030076413,
0.018850671,
-0.0086968895,
-0.05816279,
-0.040063396,
0.0518331,
0.01626531,
-0.087793276,
-0.022269959,
-0.013210075,
-0.038003217,
0.025518952,
0.030541278,
-0.05405989,
0.040391784,
-0.116105065,
-0.026072625,
-0.004357362,
-0.15028392,
0.080575064,
-0.05765118,
0.025196219,
-0.003874716,
-0.064485975,
0.020491246,
-0.03476756,
-0.029334074,
-0.05278849,
0.05050434,
-0.03664279,
-0.009323289,
-0.031295024,
-0.0010326867,
-0.08972744,
0.044515517,
-0.058742493,
0.028400177,
0.05706043,
-0.021254258,
0.024761314,
0.023270002,
-0.025499929,
0.06648831,
0.011162858,
-1.5781294e-08,
-0.043614857,
0.050878897,
0.009046982,
0.036620628,
0.0027418374,
0.038922437,
-0.013206618,
0.006840255,
-0.006766401,
0.020513676,
-0.0298916,
-0.0055974717,
-0.067749254,
-0.054363597,
0.024360858,
0.13762148,
-0.07138463,
0.007756891,
0.05164215,
0.05973908,
0.04245239,
-0.0355896,
-0.05790089,
0.04440935,
-0.10564156,
0.009710743,
-0.016090317,
0.03566852,
0.023329897,
-0.07925744,
0.0054290486,
-0.060488198,
-0.044711344,
0.013145073,
-0.015926179,
-0.012088508,
0.0058591575,
-0.0709944,
0.017609226,
0.03612532,
0.023530722,
-0.007937178,
-0.036036156,
0.0060040886,
0.059937168,
0.0058717513,
-0.05882341,
-0.041207276,
-0.03821708,
-0.030004062,
0.019161234,
-0.02088437,
-0.008930527,
-0.025869865,
0.08722182,
0.042273775,
-0.09460558,
-0.034966514,
0.051498678,
0.042548534,
-0.01819233,
0.06034196,
0.19383828,
0.014679242
]
]
}