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
Tests that passed at their verification point, failed in this run, and would not have been selected. A miss the triage agent calls flaky or environment would not have been caught by any selection; a miss of a real change means a link is missing between that test and what changed.
| Run | Test | Calls | Triage verdict |
|---|---|---|---|
| api-tests-production #621 | automation/tests/workplansvc/test_work_plan_config.py::TestWorkPlanConfig::test_create_config_async_returns_milestones_when_ready verified at #620 |
execsvc, onboardingsvc, virtual-assistant, workplansvc | unknown |
| api-tests-production #621 | automation/tests/workplansvc/test_work_plan_config.py::TestWorkPlanConfig::test_work_order_config_reads_back_over_v2_with_its_draft verified at #620 |
execsvc, onboardingsvc, virtual-assistant, workplansvc | unknown |
| api-tests-production #621 | automation/tests/workplansvc/test_work_plan_config.py::TestWorkPlanConfig::test_patch_config_then_update_instructions_then_add_user_task_item verified at #620 |
execsvc, onboardingsvc, virtual-assistant, workplansvc | unknown |
| api-tests-production #618 | automation/tests/virtualassistant/test_work_order_language.py::TestWorkOrderLanguage::test_inbound_reply_translation_trail_mail_and_org_toggle verified at #617 |
docsvc, onboardingsvc, virtual-assistant | flaky (history) |
| api-tests-production #617 | automation/tests/workplansvc/test_work_plan_task.py::TestWorkPlanTask::test_get_checklist_task_returns_todos verified at #616 |
workplansvc | flaky (history) |
| api-tests-production #617 | automation/tests/workplansvc/test_work_plan_task.py::TestWorkPlanTask::test_add_and_complete_todos_finishes_checklist_task verified at #616 |
workplansvc | flaky (history) |
| api-tests-production #617 | automation/tests/workplansvc/test_work_plan_task.py::TestWorkPlanTask::test_approve_review_task_completes_item verified at #616 |
workplansvc | flaky (history) |
| api-tests-master #591 | automation/tests/docsvc/test_edl_tracking.py::TestEDLTracking::test_04_no_metadata_inheritance verified at #590 |
docsvc | flaky (history) |
| api-tests-master #591 | automation/tests/workplansvc/test_work_plan_task.py::TestWorkPlanTaskRejectAndDelete::test_reject_review_task_records_outcome_and_skips_downstream verified at #590 |
workplansvc | flaky (history) |
| api-tests-master #591 | automation/tests/workplansvc/test_work_plan_task.py::TestWorkPlanTaskRejectAndDelete::test_delete_last_todo_on_checklist_task_pins_backend_behavior verified at #590 |
workplansvc | flaky (history) |
Routes that answered differently in tests the selection would skip
The test may still have passed, but the route gave it a different kind of answer than at the test's last pass (a 2xx became a 5xx, a 404 became a 409). That is functionality the change touched that the selection would not have run.
| Run | Test file | Route | Was | Now |
|---|---|---|---|---|
| api-tests-master #591 | automation/tests/docsvc/test_document_share_grants.py | PATCH /api/documents/v2 | 2xx, 5xx | 2xx |
| api-tests-master #591 | automation/tests/docsvc/test_document_tmf_promotion.py | PATCH /api/documents/v2 | 2xx, 5xx | 2xx |
| api-tests-master #591 | automation/tests/docsvc/test_update_association.py | PATCH /api/documents/v2 | 2xx, 5xx | 2xx |
| api-tests-master #591 | automation/tests/onboardingsvc/organization/smo/test_create_smo.py | DELETE /api/organizations/{}/members/{} | 2xx, 403 | 2xx, 403, 5xx |
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/documents | 14 |
| DELETE /api/documents/notes/{} | 14 |
| DELETE /api/documents/{}/comments/{} | 14 |
| DELETE /api/documents/{}/query/{} | 14 |
| GET /api/documents/notes | 14 |
| GET /api/documents/notes/{} | 14 |
| GET /api/documents/{}/comments | 14 |
| GET /api/documents/{}/query/{} | 14 |
| GET /api/monitor/controls/{} | 12 |
| GET /api/monitor/sidepanel/{} | 12 |
| DELETE /api/documents/archives | 11 |
| DELETE /api/workflow | 11 |
| DELETE /api/docQC/study/{}/plans/{} | 10 |
| DELETE /api/documents/collections/{}/documents | 10 |
| DELETE /api/documents/folders/manager/{} | 10 |
| DELETE /api/documents/folders/subArtifacts/{} | 10 |
| DELETE /api/events/{}/placeholders/matches | 10 |
| DELETE /api/events/{}/placeholders/{}/matches | 10 |
| DELETE /api/organizations/{} | 10 |
| DELETE /api/partners/{} | 10 |
| DELETE /api/scale/organizations/{}/purge | 10 |
| DELETE /api/sites/{}/locations/{} | 10 |
| DELETE /api/studio/protocols/{}/autoqueries/{} | 10 |
| DELETE /api/trialexec/careplan/{}/ae/{}/activity/question/flag/{} | 10 |
| DELETE /api/trialexec/careplan/{}/visit/{}/activity/question/flag/{} | 10 |
| DELETE /api/workflow/study | 10 |
| GET /api/docQC/study/{}/plans | 10 |
| GET /api/docQC/study/{}/plans/{} | 10 |
| GET /api/monitor/studysitepanel/{}/{} | 10 |
| DELETE /api/documents/collections/{} | 9 |
| DELETE /api/documents/documentAttributes/{}/{} | 9 |
| DELETE /api/documents/folders/{}/content | 9 |
| DELETE /api/documents/org/reports/{} | 9 |
| DELETE /api/documents/study/{}/reports/{} | 9 |
| DELETE /api/documents/{}/enhance/fields/{} | 9 |
| DELETE /api/documents/{}/enhance/signers/{} | 9 |
| DELETE /api/fileassets/{} | 9 |
| DELETE /api/studies/{}/notification-digests/{} | 9 |
| DELETE /api/studio/activities/{} | 9 |
| DELETE /api/studio/controls/{} | 9 |
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 | 5,142 | 0 | 0% |
| a suite file it imports changed | 4,686 | 0 | 0% |
| the code behind a route it calls changed | 3,818 | 952 | 7% |
| the web app changed in code every screen stands on | 2,438 | 0 | 0% |
| no coverage log names this file | 2,410 | 0 | 0% |
| a service it calls changed in code the route map cannot see (Python, go.mod, code no route reaches) | 1,741 | 445 | 3% |
| never passed on this branch in the window | 1,497 | 1,497 | 11% |
| the test's own file changed | 1,117 | 0 | 0% |
| a service it calls consumes a Pub/Sub topic whose publisher changed | 586 | 0 | 0% |
| what changed could not be read | 2 | 2 | 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 |
| api/auth.go | 15 | advpsvc, dashql, docsvc, dslsvc, enrollsvc, execsvc, finsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, studiosvc, tusker, workplansvc |
| common/authzlib | 15 | advpsvc, dashql, docsvc, dslsvc, enrollsvc, execsvc, finsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, studiosvc, tusker, workplansvc |
| common/changeLog | 15 | advpsvc, dashql, docsvc, dslsvc, enrollsvc, execsvc, finsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, studiosvc, tusker, workplansvc |
| common/notiflib | 15 | advpsvc, dashql, docsvc, dslsvc, enrollsvc, execsvc, finsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, studiosvc, tusker, workplansvc |
| tildaobj/output_obj_defs.go | 15 | advpsvc, dashql, dashrsvc, docsvc, dslsvc, enrollsvc, 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 | 13 | advpsvc, dashql, dashrsvc, dslsvc, enrollsvc, finsvc, notifsvc, onboardingsvc, patientsvc, schedsvc, studiosvc, tusker, workplansvc |
| tildaobj/studio_obj_defs.go | 13 | advpsvc, dashql, dashrsvc, docsvc, dslsvc, enrollsvc, finsvc, notifsvc, onboardingsvc, patientsvc, schedsvc, tusker, workplansvc |
| common/careplanlib | 11 | docsvc, enrollsvc, execsvc, finsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, tusker, workplansvc |
| common/params | 11 | advpsvc, dashql, dashrsvc, dslsvc, enrollsvc, finsvc, onboardingsvc, patientsvc, schedsvc, studiosvc, tusker |
| tildaobj/model.go | 11 | advpsvc, dashql, dashrsvc, dslsvc, enrollsvc, finsvc, notifsvc, patientsvc, schedsvc, tusker, workplansvc |
| tildaobj/tusker_obj_defs.go | 11 | advpsvc, dashrsvc, dslsvc, notifsvc, onboardingsvc, patientsvc, regsvc, schedsvc, studiosvc, tusker, workplansvc |
| tildaobj/agent_actor.go | 9 | dashql, dashrsvc, docsvc, dslsvc, onboardingsvc, patientsvc, schedsvc, tusker, workplansvc |
| common/doclib | 8 | docsvc, enrollsvc, execsvc, finsvc, notifsvc, onboardingsvc, regsvc, workplansvc |
Runs
| Run | Branch | Would run | Newly failed | Caught | Missed |
|---|---|---|---|---|---|
| api-tests-master #599 6d ago |
master | 1069/1069 | 7 | 7 | 0 |
| api-tests-production #621 6d ago |
production | 24/780 | 3 | 0 | 3 |
| api-tests-production #620 7d ago |
production | 353/780 | 0 | 0 | 0 |
| e2e-tests-master #879 8d ago |
master | 625/625 | 17 | 17 | 0 |
| api-tests-master #597 8d ago |
master | 1012/1012 | 27 | 27 | 0 |
| e2e-tests-production #858 8d ago |
production | 473/473 | 2 | 2 | 0 |
| api-tests-production #619 8d ago |
production | 343/780 | 0 | 0 | 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-production #857 10d ago |
production | 474/474 | 0 | 0 | 0 |
| api-tests-production #618 10d ago |
production | 24/780 | 1 | 0 | 1 |
| e2e-tests-master #874 11d ago |
master | 579/579 | 2 | 2 | 0 |
| e2e-tests-master #873 11d ago |
master | 576/576 | 0 | 0 | 0 |
| api-tests-master #593 11d ago |
master | 908/908 | 11 | 11 | 0 |
| api-tests-production #617 11d ago |
production | 355/780 | 3 | 0 | 3 |
| api-tests-master #592 12d ago |
master | 800/800 | 3 | 3 | 0 |
| api-tests-production #616 12d ago |
production | 83/780 | 0 | 0 | 0 |
| api-tests-master #591 13d ago |
master | 19/799 | 4 | 1 | 3 |
| api-tests-production #615 13d ago |
production | 15/780 | 0 | 0 | 0 |