- Would run
- 19 of 799 tests (2.4%)
- Newly failed
- 4: 1 caught, 3 missed; 1 more failed that never passed on this branch in the window, so they have no verification point
- Impact map
- 97 test files with a footprint, from tonight's map, which includes this run's own logs (no earlier night's map exists), so its coverage of new tests is flattering
What the change reached
Routes whose handler code, or code under it, changed since the tests' verification run: 4 in all, 1 called by a selected test, 2 called by no test at all.
| Untested route | Because these changed |
|---|---|
| GET /api/monitor/controls/{} | tildaobj.OPVisit |
| GET /api/monitor/sidepanel/{} | tildaobj.OPVisit |
Routes it reached (4)
| Route | Because these changed |
|---|---|
| GET /api/documents/tasks/{} | tildaobj.OPVisit |
| GET /api/monitor/controls/{} | tildaobj.OPVisit |
| GET /api/monitor/sidepanel/{} | tildaobj.OPVisit |
| GET /api/monitor/tasks/{} | tildaobj.OPVisit |
Routes that answered differently
Compared with each test's verification run: 4 in tests the selection would skip, 0 in tests it would run.
| Test file | Route | Was | Now | |
|---|---|---|---|---|
| skipped | automation/tests/docsvc/test_document_share_grants.py | PATCH /api/documents/v2 | 2xx, 5xx | 2xx |
| skipped | automation/tests/docsvc/test_document_tmf_promotion.py | PATCH /api/documents/v2 | 2xx, 5xx | 2xx |
| skipped | automation/tests/docsvc/test_update_association.py | PATCH /api/documents/v2 | 2xx, 5xx | 2xx |
| skipped | automation/tests/onboardingsvc/organization/smo/test_create_smo.py | DELETE /api/organizations/{}/members/{} | 2xx, 403 | 2xx, 403, 5xx |
LLM review (shadow: scored, not applied)
claude-sonnet-5-5, $0.079. Of the files it would remove, 2 had a test fail.
Functionality it judged affected:
- Careplan study protocol (participant visit schedule) · The study protocol visits now carry anchorVisitId and anchorVisitName. Explicit anchors are resolved per protocol version in processStudyProtocolV2Result, with offline visit dates feeding the anchored dating.
- Output careplan visit windows and anchoring · setOutputCarePlanAnchors applies ANCHORED_TO explicit anchors and recomputes appointment date and day ranges. StudyPeriod and the explicit-anchor flag are now passed to the window computation.
- Studio protocol schedule of activities (SoA) · ProtocolSoaVisit gains anchor id and name. The repo query and keepSoaAnchorsInSoa decide which anchors show in the SoA.
- Shared explicit-anchor lookup (careplanlib FetchMappedAnchors) · The helper now returns the anchor name as well as visit ids and picks the lowest anchor ref. Other callers, such as booking and scheduling, may be affected.
- Task and monitor views that include visits (documents tasks, monitor controls, sidepanel, tasks) (associated) · These routes reach the OPVisit struct, which only gains optional fields. Impact is limited to additive JSON.
- Appointment scheduling and rescheduling (associated) · Scheduling consumes visit windows and anchors from the careplan and study protocol, so changed window computation could alter the data it works from.
| Would add | Why |
|---|---|
| automation/tests/execsvc/test_v2_complete_all_activities.py | Calls GET /api/trialexec/v2/careplan/{}/studyprotocol. The change adds anchorVisitId and anchorVisitName to the protocol visits and changes how explicit anchors are read in processStudyProtocolV2Result. |
| automation/tests/tusker/test_execution_tasks.py | Reads GET /api/trialexec/careplan/{} and the v2 studyprotocol. setOutputCarePlanAnchors now runs on the output careplan and can recompute visit windows, so the visit payloads these tests rely on may change. |
| automation/tests/schedsvc/test_rescheduling.py | Reads studyprotocol visits and appointment/date ranges after scheduling. setDateOrDayRangeForOPVisit now passes StudyPeriod and an explicit-anchor flag, which can change the computed windows. |
| automation/tests/schedsvc/test_cancellation.py | Same dependency as the rescheduling test: studyprotocol visit data and date ranges after appointment changes. |
| automation/tests/schedsvc/test_manual_appointment.py | Same dependency: it reads the studyprotocol visit contract and appointment windows. |
| automation/tests/schedsvc/test_schedules_for_settings.py | Generates schedules and reads studyprotocol visits, whose window and anchor computation the change touches. |
| Would remove | Why |
|---|---|
| automation/tests/docsvc/test_edl_crud.py failed | Only docsvc routes (events and documents). The change adds omitempty anchor fields to execsvc, studiosvc and tildaobj visit structs and alters careplan and SoA anchor logic that docsvc does not use. |
| automation/tests/virtualassistant/test_gated_facility_change_flow.py failed | Exercises virtual-assistant work orders and documents. It never reads visit or anchor payloads, so the additive anchor fields cannot affect it. |
Missed
| Test | Verified at | Calls | Triage verdict |
|---|---|---|---|
| automation/tests/docsvc/test_edl_tracking.py::TestEDLTracking::test_04_no_metadata_inheritance | #590 | docsvc | flaky (history) |
| automation/tests/workplansvc/test_work_plan_task.py::TestWorkPlanTaskRejectAndDelete::test_reject_review_task_records_outcome_and_skips_downstream | #590 | workplansvc | flaky (history) |
| automation/tests/workplansvc/test_work_plan_task.py::TestWorkPlanTaskRejectAndDelete::test_delete_last_todo_on_checklist_task_pins_backend_behavior | #590 | workplansvc | flaky (history) |
Caught (1)
| Test | Verified at | Selected because |
|---|---|---|
| automation/tests/virtualassistant/test_gated_facility_change_flow.py::TestGatedFacilityChangeFlow::test_closing_the_sponsor_gate_releases_the_next_outreach | #586 | what changed could not be read |
Why tests were selected
| Reason | Tests | By this reason alone |
|---|---|---|
| the code behind a route it calls changed | 17 | 17 |
| never passed on this branch in the window | 1 | 1 |
| what changed could not be read | 1 | 1 |
What changed since each verification run
Each test is compared with the newest earlier run on this branch where it passed. Most tests share one such run; a test that had been failing goes back further.
since #590 · 0 suite commits · 16 services' code changed
| Service whose code changed | Because of |
|---|---|
| advpsvc | tildaobj/output_obj_defs.go |
| dashql | tildaobj/output_obj_defs.go |
| dashrsvc | tildaobj/output_obj_defs.go |
| docsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| dslsvc | tildaobj/output_obj_defs.go |
| enrollsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| execsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, execsvc/pkg/model/model.go, execsvc/pkg/repo/careplanV2.go, execsvc/pkg/repo/careplanV2_test.go, execsvc/pkg/repo/careplan_db.go, (+2 more) |
| finsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| notifsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| onboardingsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| patientsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| regsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| schedsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| studiosvc | studiosvc/pkg/model/model.go, studiosvc/pkg/repo/protocol_visit.go, studiosvc/pkg/repo/visit_anchor_integration_test.go, studiosvc/pkg/studio/protocol_visit.go, studiosvc/pkg/studio/protocol_visit_anchor_test.go, tildaobj/output_obj_defs.go |
| tusker | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| workplansvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
since #586 · 0 services' code changed · a run recorded no images
no service's code changed
since #589 · 0 suite commits · 16 services' code changed
| Service whose code changed | Because of |
|---|---|
| advpsvc | tildaobj/output_obj_defs.go |
| dashql | tildaobj/output_obj_defs.go |
| dashrsvc | tildaobj/output_obj_defs.go |
| docsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| dslsvc | tildaobj/output_obj_defs.go |
| enrollsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| execsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, execsvc/pkg/model/model.go, execsvc/pkg/repo/careplanV2.go, execsvc/pkg/repo/careplanV2_test.go, execsvc/pkg/repo/careplan_db.go, (+2 more) |
| finsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| notifsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| onboardingsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| patientsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| regsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| schedsvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| studiosvc | studiosvc/pkg/model/model.go, studiosvc/pkg/repo/protocol_visit.go, studiosvc/pkg/repo/visit_anchor_integration_test.go, studiosvc/pkg/studio/protocol_visit.go, studiosvc/pkg/studio/protocol_visit_anchor_test.go, tildaobj/output_obj_defs.go |
| tusker | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
| workplansvc | common/careplanlib/visit.go, common/careplanlib/visit_test.go, tildaobj/output_obj_defs.go |
Rebuilt with no change of their own (1): swaggersvc