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": 23929167,
"load_duration": 17216625,
"total_duration": 14968443,
"load_duration": 6969545,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.042460807,
-0.06189971,
-0.0784711,
0.0064329687,
0.03129365,
0.00807445,
0.05801836,
0.025447326,
0.016402787,
0.045995634,
-0.028924342,
0.04451832,
0.05686613,
-0.015340794,
-0.07020505,
-0.057178136,
-0.07683263,
0.006748679,
0.0043323045,
-0.123651944,
0.0031534543,
-0.03258051,
-0.02936216,
0.024140852,
-0.028559243,
0.10224467,
0.0021632623,
-0.006975691,
0.025292527,
-0.055500276,
0.031231727,
-0.0070274337,
0.08430815,
-0.028431177,
-0.083029,
0.009555893,
-0.020029299,
-0.00243229,
-0.00768719,
-0.023077851,
-0.09293533,
-0.042625993,
-0.020000124,
0.008240663,
0.060970567,
0.050315727,
-0.0510085,
-0.008543903,
-0.030227834,
-0.03582846,
-0.17836656,
-0.047279052,
0.033892106,
0.031623542,
-0.008832113,
0.10480918,
0.033559043,
0.090348184,
-0.015757555,
-0.0125672715,
-0.084686965,
-0.114781834,
-0.13755985,
0.021652374,
0.047834594,
0.043243896,
0.008659893,
0.038724966,
0.046716973,
-0.077413626,
-0.04887495,
0.031287406,
0.022356613,
0.00043283988,
0.052321073,
-0.012254071,
-0.035172574,
-0.00825216,
-0.008866574,
-0.034267236,
-0.04576201,
0.002467568,
-0.040877618,
0.08047682,
0.09472728,
0.0413438,
0.0057974122,
0.044982508,
0.025369909,
0.006618073,
0.010467276,
-0.07960384,
-0.03108485,
-0.03528749,
0.01831391,
0.053473305,
0.06568304,
-0.07259002,
0.02523736,
0.10520362,
0.035732146,
0.028157586,
0.011687256,
0.044207197,
0.012604437,
0.0018819098,
0.03926183,
0.043135095,
0.09784739,
-0.08801336,
-0.06060836,
0.02681984,
0.0041358666,
0.033492945,
0.011799116,
0.009551661,
-0.0095491735,
-0.021212189,
-0.008917248,
0.029352615,
-0.012693442,
-0.019269384,
0.009901157,
-0.00812101,
0.018603146,
-0.0007501193,
-0.056115113,
-3.8018077e-33,
0.020848714,
0.0047160466,
0.019726405,
0.06024251,
-0.0685974,
-0.07497267,
0.007997452,
-0.047339544,
0.057801835,
0.049544968,
0.01878086,
0.03274472,
0.017663997,
0.07483022,
0.02496901,
-0.011843339,
-0.11212756,
0.0070379525,
0.028099466,
-0.01746246,
0.08173482,
-0.007920462,
0.032095373,
-0.12300146,
0.033773854,
0.025873141,
-0.0045020077,
0.079493225,
0.0040725255,
0.03305898,
0.008061117,
0.0134422695,
-0.03292251,
0.031554114,
0.04013794,
0.0014983519,
0.030762345,
0.029481992,
0.041350223,
-0.047438618,
0.03944708,
-0.07526981,
0.037927423,
-0.026016014,
0.016933467,
0.0136799775,
0.0071263947,
-0.05386736,
-0.07443268,
-0.006070775,
0.024427462,
-0.039844982,
-0.020661902,
-0.033354662,
0.009005565,
0.12111172,
-0.028260944,
-0.036192853,
-0.021332363,
0.05333571,
0.05161245,
-0.01204843,
0.035563566,
0.05408247,
0.060722187,
0.07159865,
0.04299143,
0.008544481,
0.07421879,
0.00841512,
-0.036342908,
-0.008549791,
-0.08816386,
-0.049075164,
0.00029373015,
-0.05127952,
0.03586739,
-0.030380003,
-0.012642127,
0.018771531,
0.01711824,
-0.06644723,
0.023793438,
0.0010271219,
-0.01939443,
-0.053452212,
-0.017060323,
-0.062207118,
-0.05962535,
-0.012172617,
-0.013190802,
-0.037036054,
0.00082622556,
0.098088354,
0.024690514,
2.1767905e-33,
-0.010088812,
-0.016811697,
-0.042140447,
0.08837209,
-0.028899776,
-0.0048947735,
-0.082139015,
0.029238816,
-0.043079354,
-0.014153092,
-0.028387645,
0.025998218,
-0.017625,
0.046511114,
-0.005768211,
0.030010609,
0.011375536,
0.017426634,
0.055062976,
0.032230247,
-0.07995765,
0.032486655,
-0.060016844,
-0.011561194,
0.010211269,
0.046528235,
0.001191399,
0.0786961,
-0.0446158,
0.032789085,
0.0023115936,
-0.03886269,
-0.017663589,
0.07913024,
-0.004583343,
0.043521065,
-0.031589273,
0.008867868,
-0.05013296,
0.068929516,
0.043675046,
0.019968731,
-0.08471742,
-0.046864275,
-0.0068198936,
-0.026138468,
-0.05107216,
0.054374695,
0.03069186,
-0.010925094,
0.04721093,
-0.017387696,
-0.020754937,
-0.081763394,
-0.027709637,
0.035980806,
0.05396534,
0.044874854,
0.059699643,
0.041227758,
-0.06664364,
-0.09201654,
0.008915574,
0.025849758,
-0.038651932,
-0.0044070315,
-0.052066546,
0.027435115,
0.012089562,
0.048306923,
0.059854515,
0.097325735,
-0.053612895,
-0.07639326,
0.015773866,
-0.0444848,
-0.13214406,
-0.0702488,
-0.10134438,
-0.11905995,
-0.027714504,
0.006891868,
-0.0053650527,
0.054135524,
-0.111159205,
0.07835098,
0.03506018,
0.016036613,
0.021490784,
-0.061526407,
0.007425222,
0.04833579,
-0.01361202,
0.012450488,
-0.12729599,
-1.4009424e-08,
-0.040908325,
-0.01596458,
0.060048707,
0.03804525,
0.0663794,
0.04727275,
-0.016112225,
0.09687414,
-0.04424251,
-0.028799534,
-0.01294642,
0.013026413,
0.022404836,
0.04713173,
0.06402557,
0.12130648,
0.06062839,
0.10218965,
-0.0757528,
-0.023806982,
0.12489501,
-0.045460615,
0.09545599,
0.021262301,
0.03731495,
-0.075220875,
-0.0026194793,
0.0472452,
0.048499025,
0.12358729,
0.017998053,
0.013811017,
-0.035893846,
-0.051789004,
0.06182457,
0.05160056,
0.008895317,
-0.12500942,
0.016453298,
-0.08590811,
-0.071096726,
0.06987216,
-0.036072273,
-0.0053715096,
-0.048762616,
0.00081640907,
-0.021502526,
-0.061078615,
0.002485032,
-0.032720752,
0.045743283,
0.038934175,
-0.024666062,
0.025897244,
0.10301431,
-0.013001504,
0.04783332,
-0.07114252,
0.046031926,
0.080549754,
-0.10302451,
0.08449227,
0.028010191,
-0.03697792
0.04246934,
-0.0618944,
-0.07845866,
0.006401396,
0.03128947,
0.008068856,
0.058044188,
0.025462082,
0.016408337,
0.04599356,
-0.028957082,
0.044486698,
0.05686555,
-0.015339846,
-0.07019087,
-0.057180382,
-0.07685297,
0.0067407293,
0.0043030772,
-0.12366419,
0.0031679699,
-0.03256299,
-0.029364487,
0.024145795,
-0.028551238,
0.10222551,
0.0021702712,
-0.006973446,
0.02528161,
-0.055480048,
0.031220673,
-0.0070450194,
0.08431401,
-0.028398452,
-0.08303615,
0.009541477,
-0.020037198,
-0.0024062425,
-0.0076945405,
-0.02308465,
-0.092934616,
-0.04263402,
-0.020023424,
0.008251729,
0.060961593,
0.050315246,
-0.051015448,
-0.008537156,
-0.030209582,
-0.035804313,
-0.17838922,
-0.047276836,
0.033887845,
0.03163823,
-0.0088280905,
0.10479794,
0.033603504,
0.09033551,
-0.015729368,
-0.01254892,
-0.08468991,
-0.11477985,
-0.13756058,
0.021674957,
0.04781672,
0.043237038,
0.008655867,
0.03871613,
0.046686046,
-0.07744882,
-0.048885334,
0.031265616,
0.022349542,
0.00042022156,
0.05231528,
-0.012255999,
-0.035176765,
-0.008271301,
-0.008876192,
-0.034259606,
-0.04576233,
0.0024646304,
-0.04088308,
0.080499224,
0.094756246,
0.041366395,
0.0058133435,
0.04500413,
0.025369063,
0.006633623,
0.010419986,
-0.07959981,
-0.031104978,
-0.03529105,
0.018313587,
0.053470284,
0.06567532,
-0.072590366,
0.025236402,
0.10520805,
0.03572949,
0.02814476,
0.011692066,
0.04416959,
0.012628916,
0.0019061499,
0.03925087,
0.043107945,
0.09784928,
-0.08801884,
-0.06063319,
0.026810031,
0.004124005,
0.033488054,
0.011797618,
0.009536534,
-0.009537672,
-0.02117513,
-0.008926071,
0.029353488,
-0.012708475,
-0.019247372,
0.009906199,
-0.008120285,
0.018623708,
-0.0007470326,
-0.056117814,
-3.8023727e-33,
0.020859266,
0.004704134,
0.019713905,
0.06026147,
-0.068616085,
-0.07496656,
0.007965563,
-0.047342513,
0.057801917,
0.049556054,
0.018799074,
0.0327276,
0.017686183,
0.07481851,
0.024969097,
-0.011860301,
-0.112135485,
0.0070053833,
0.028068872,
-0.017445812,
0.08173,
-0.007909387,
0.032085713,
-0.1230031,
0.03378858,
0.02584868,
-0.0044788863,
0.07950368,
0.0040581026,
0.033058096,
0.008016927,
0.013449756,
-0.03286121,
0.031516194,
0.04012885,
0.001483041,
0.030742006,
0.029510139,
0.0413387,
-0.04742168,
0.039420005,
-0.07528787,
0.03795314,
-0.026037993,
0.016913416,
0.013665059,
0.007120363,
-0.053870693,
-0.07446003,
-0.006065503,
0.024451725,
-0.039831672,
-0.020631628,
-0.033301804,
0.009001951,
0.121108405,
-0.028260462,
-0.036188155,
-0.02130734,
0.053347252,
0.05162655,
-0.012022209,
0.03556421,
0.054093517,
0.06071427,
0.07156984,
0.04303917,
0.008578926,
0.074212484,
0.008422386,
-0.03633554,
-0.008555927,
-0.08816405,
-0.04909204,
0.0002670324,
-0.05126362,
0.035850402,
-0.030379485,
-0.012650656,
0.018785939,
0.017106218,
-0.06643792,
0.023832165,
0.0010230087,
-0.019367155,
-0.053461894,
-0.017073216,
-0.062169686,
-0.059630387,
-0.012175827,
-0.013204632,
-0.037058014,
0.0008544243,
0.098082356,
0.024703579,
2.1766385e-33,
-0.010099368,
-0.0168182,
-0.042137686,
0.08836087,
-0.028925458,
-0.004915718,
-0.08213097,
0.029251399,
-0.04311282,
-0.014153079,
-0.028403684,
0.025994804,
-0.017619897,
0.04652408,
-0.0057673934,
0.030015819,
0.011373319,
0.017426124,
0.055063453,
0.032209422,
-0.079960845,
0.03246185,
-0.06001134,
-0.011566254,
0.01018926,
0.046531614,
0.0012229957,
0.078700714,
-0.04463173,
0.032767717,
0.0022977523,
-0.03884795,
-0.017658522,
0.07914583,
-0.0045653232,
0.043508887,
-0.03161254,
0.008865502,
-0.05014004,
0.068952896,
0.043693513,
0.019953411,
-0.08469415,
-0.046883006,
-0.006852297,
-0.026142156,
-0.05107832,
0.054367345,
0.030704534,
-0.010923592,
0.047204282,
-0.0173818,
-0.020731952,
-0.081755,
-0.027707007,
0.035971012,
0.053959154,
0.044867415,
0.059691377,
0.041240178,
-0.06663067,
-0.09200673,
0.00895469,
0.02584983,
-0.038639534,
-0.0043883775,
-0.052067816,
0.027416172,
0.01205728,
0.048341535,
0.05988727,
0.09733144,
-0.053652134,
-0.07638588,
0.015775586,
-0.04448138,
-0.13214125,
-0.070245154,
-0.10134073,
-0.11906563,
-0.02768927,
0.006883601,
-0.005372457,
0.0541394,
-0.11116945,
0.0783573,
0.035053268,
0.016029678,
0.021500655,
-0.06151511,
0.007436359,
0.04835127,
-0.013626688,
0.012427166,
-0.1272983,
-1.4008406e-08,
-0.040906746,
-0.015945766,
0.06004726,
0.03804035,
0.06638126,
0.047250524,
-0.016075904,
0.09685192,
-0.04424075,
-0.028788049,
-0.012935697,
0.012998786,
0.022392461,
0.047142737,
0.0640327,
0.12130623,
0.060611896,
0.10219882,
-0.075741336,
-0.023816003,
0.12488407,
-0.04545764,
0.095451295,
0.021275673,
0.037320722,
-0.0752353,
-0.002659371,
0.047237474,
0.048469283,
0.123593695,
0.018008605,
0.013809098,
-0.035921507,
-0.05181155,
0.06183518,
0.051568378,
0.008893763,
-0.1250224,
0.01645567,
-0.085920095,
-0.07108048,
0.0698563,
-0.036050897,
-0.005379485,
-0.04876276,
0.00080607267,
-0.021491177,
-0.06106662,
0.0024876762,
-0.03273843,
0.04576169,
0.03894835,
-0.024660163,
0.025903016,
0.10298729,
-0.013008437,
0.04784895,
-0.071141616,
0.046046503,
0.08054465,
-0.10302495,
0.08449142,
0.02803045,
-0.036991965
]
]
}