Test selection shadow
After every full run of api-tests-master, e2e-tests-master, api-tests-production, e2e-tests-production, each test is asked: since it last passed on the same branch, did anything it depends on change? This page shows how many tests that selection would have run and three ways of judging it: did it catch every test that newly failed, did it cover the functionality the change reached, and did any route answer differently in a test it would have skipped. An LLM reviews each selection beside the rules; its additions and removals are scored, not applied. Jenkins still runs everything.
OBS_TEST_SELECT_SHADOW on the ingester.Misses
None: every test that newly failed would have been selected.
Changed, and no test calls them
Routes whose code changed in the scored runs that neither suite calls. No selection can check these; each is a candidate for the test agent.
| Route | Runs it changed in |
|---|---|
| DELETE /api/docQC/study/{}/plans/{} | 5 |
| DELETE /api/documents | 5 |
| DELETE /api/documents/archives | 5 |
| DELETE /api/documents/collections/{} | 5 |
| DELETE /api/documents/collections/{}/documents | 5 |
| DELETE /api/documents/documentAttributes/{}/{} | 5 |
| DELETE /api/documents/folders/manager/{} | 5 |
| DELETE /api/documents/folders/subArtifacts/{} | 5 |
| DELETE /api/documents/folders/{}/content | 5 |
| DELETE /api/documents/notes/{} | 5 |
| DELETE /api/documents/org/reports/{} | 5 |
| DELETE /api/documents/study/{}/reports/{} | 5 |
| DELETE /api/documents/{}/comments/{} | 5 |
| DELETE /api/documents/{}/enhance/fields/{} | 5 |
| DELETE /api/documents/{}/enhance/signers/{} | 5 |
| DELETE /api/documents/{}/query/{} | 5 |
| DELETE /api/events/{}/placeholders/matches | 5 |
| DELETE /api/events/{}/placeholders/{}/matches | 5 |
| DELETE /api/fileassets/{} | 5 |
| DELETE /api/organizations/{} | 5 |
| DELETE /api/partners/site/{}/partner/{} | 5 |
| DELETE /api/partners/study/{}/partner/{}/sites | 5 |
| DELETE /api/partners/{} | 5 |
| DELETE /api/patients/{}/representative/{} | 5 |
| DELETE /api/pg/{} | 5 |
| DELETE /api/scale/organizations/{}/delegations/{} | 5 |
| DELETE /api/scale/organizations/{}/purge | 5 |
| DELETE /api/scale/users/{} | 5 |
| DELETE /api/sites/staff/{}/education/{} | 5 |
| DELETE /api/sites/staff/{}/pastStudies/{} | 5 |
| DELETE /api/sites/staff/{}/workExperience/{} | 5 |
| DELETE /api/sites/{}/locations/{} | 5 |
| DELETE /api/sponsor/{}/logo | 5 |
| DELETE /api/studies/{}/notification-digests/{} | 5 |
| DELETE /api/studio/activities/{} | 5 |
| DELETE /api/studio/controls/{} | 5 |
| DELETE /api/studio/docoverlays/{} | 5 |
| DELETE /api/studio/docreviews/{} | 5 |
| DELETE /api/studio/docuploads/{} | 5 |
| DELETE /api/studio/eSign/{} | 5 |
Why tests were selected, and where it runs more than it needs
Over the scored runs, how many tests each reason selected, and how many that reason alone selected: the tests a sharper version of that reason could leave out. A reason that selects many tests on its own is the place to refine before any run is cut short.
| Reason | Tests selected | Selected by this reason alone | Share of all tests run |
|---|---|---|---|
| suite configuration every test loads changed | 1,987 | 0 | 0% |
| a suite file it imports changed | 1,987 | 0 | 0% |
| the web app changed in code every screen stands on | 1,982 | 0 | 0% |
| no coverage log names this file | 1,971 | 0 | 0% |
| the test's own file changed | 745 | 0 | 0% |
| never passed on this branch in the window | 713 | 713 | 26% |
| the code behind a route it calls changed | 16 | 0 | 0% |
| a service it calls changed in code the route map cannot see (Python, go.mod, code no route reaches) | 16 | 0 | 0% |
Shared code that marked services as changed
The folders whose changes made the most deployments count as changed. A folder that marks many services at once (tildaobj, common/authlib) selects most of the suite for any edit; tracking which of its definitions each service uses would narrow that.
| Folder | Services it marked | Which |
|---|---|---|
| tildaobj/exec_obj_defs.go | 16 | advpsvc, dashql, dashrsvc, docsvc, dslsvc, enrollsvc, execsvc, finsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, studiosvc, tusker, workplansvc |
| tildaobj/doc_obj_defs.go | 13 | advpsvc, dashql, dashrsvc, dslsvc, enrollsvc, finsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, tusker, workplansvc |
| tildaobj/pubsub_defs.go | 12 | advpsvc, dashql, dashrsvc, dslsvc, enrollsvc, finsvc, notifsvc, onboardingsvc, patientsvc, schedsvc, tusker, workplansvc |
| tildaobj/studio_obj_defs.go | 12 | advpsvc, dashql, dashrsvc, dslsvc, enrollsvc, finsvc, notifsvc, onboardingsvc, patientsvc, schedsvc, tusker, workplansvc |
| tildaobj/tusker_obj_defs.go | 11 | advpsvc, dashrsvc, dslsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, studiosvc, tusker, workplansvc |
| tildaobj/model.go | 8 | advpsvc, dslsvc, enrollsvc, finsvc, notifsvc, patientsvc, schedsvc, tusker |
| common/params | 7 | advpsvc, dslsvc, enrollsvc, finsvc, onboardingsvc, patientsvc, studiosvc |
| common/doclib | 6 | docsvc, execsvc, notifsvc, onboardingsvc, regsvc, workplansvc |
| util/gcs | 6 | advpsvc, dslsvc, enrollsvc, patientsvc, schedsvc, tusker |
| util/pubsublib | 6 | advpsvc, dslsvc, enrollsvc, patientsvc, schedsvc, tusker |
| common/execlib | 4 | enrollsvc, execsvc, finsvc, regsvc |
| common/graphlib | 4 | finsvc, regsvc, studiosvc, workplansvc |
| data-science/packages/tilda-directives | 2 | chat-agent, virtual-assistant |
| analytics/catalog | 2 | dashql, dashrsvc |
| common/hdmlib | 2 | docsvc, execsvc |
Runs
| Run | Branch | Would run | Newly failed | Caught | Missed |
|---|---|---|---|---|---|
| e2e-tests-master #879 8d ago |
master | 625/625 | 17 | 17 | 0 |
| e2e-tests-master #878 9d ago |
master | 358/358 | 60 | 60 | 0 |
| e2e-tests-master #877 9d ago |
master | 5/5 | 0 | 0 | 0 |
| e2e-tests-master #876 10d ago |
master | 557/557 | 20 | 20 | 0 |
| e2e-tests-master #874 10d ago |
master | 579/579 | 2 | 2 | 0 |
| e2e-tests-master #873 11d ago |
master | 576/576 | 0 | 0 | 0 |