Xray
all clusters 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 1 hour▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-24 10:01:10.
› →|
updated 5d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.

‹ Test triage

[Test failure] EDL test_04 waits on the AI to make a Protocol placeholder; this run it made none

Flaky test confidence medium · low priority · api-tests-master, last seen in build 599

The verdict

Fix is in
the automation suite (e2e): the test is flaky
Issue
ENG-8920 · Completed
Owner
[email protected] (last changed test_edl_tracking.py (0deca7fbe))
Filed in
Backlog, Test Agent Automation
History when filed
flaky, this error since build 599
Branches
fails on master only: production is unaffected (api-tests-production build 621). Fix it before master is released to production.
The wait at test_edl_tracking.py:410 (helper edl_helpers.py:143-197) polls GET /api/events/{id} for trackedDocuments on the Protocol deliverable. That placeholder is written by the virtual assistant (VA) and depends on an LLM run. The last read showed the Trial scope with aiState 'Complete' and still no placeholder. e2e/automation/knowledge/edl.md lines 70-71 and 173-175 say 'Complete with no placeholders' means the LLM left the deliverable out, and that this is final, so a longer wait won't help. Every GET returned 200 and no service logged an error. No VA EDL code changed between builds 597 and 599. The history shows it failing and passing in turn (6 failures in 30 runs), and production build 621 passes. Not verified: the VA's INFO line 'LLM excluded deliverable ... created=0' for event 108f568e. X-ray keeps only ERROR lines, so the VA logs would confirm it. To make it stable: create the placeholder in the test with POST /api/events/placeholders (Placeholder.create_bulk with edl_helpers.placeholder_doc, deliverableId and the Trial eventScopeId). edl.md §3 recommends this for tests that need a placeholder they can count on.

History of this root cause

  • filed ENG-8920 · build 599 6d ago
    Flaky test, confidence medium; 1 test; to [email protected] in Backlog

Tests 1

Oldest to newest, up to 30 runs. Green passed, red failed with this error, amber failed with another error. Skipped and collapsed runs are left out. Newest build: 599.

TestHistoryNewest runReading
test_04_no_metadata_inheritance
EDLTracking
did not run

How the agent decided

Models
claude-sonnet-5-5 ($0.31, 9 lookups), then claude-opus-5-5 ($0.82, 11 lookups)
Settled by
the escalation model, because the first was unsure
Cost
$1.13

What it looked up (20, in order)

1. read_file repo=main, path=e2e/automation/utils/helpers/edl_helpers.py, start_line=130, end_line=215 · 4143 chars back
e2e/automation/utils/helpers/edl_helpers.py (252 lines), lines 130-215: 130 deliv_id = deliverable.get("tildaid") 131 if deliv_id in deliverable_ids: 132 tracked_docs = deliverable.get("trackedDocuments", []) 133 if deliv_id not in placeholders_by_deliverable: 134 placeholders_by_deliverable[deliv_id] = [] 135 for doc in tracked_docs: 136 doc_id = doc.get("tildaid") 137 if doc_id: 138 placeholders_by_deliverable[deliv_id].append(doc_id) 139 140 return placeholders_by_deliverable 141 142 143 def wait_for_placeholders(test_headers, event_id, deliverable_ids=None, max_wait=60, until_ai_complete=False): 144 """Poll the event every 5 s until any deliverable (or each of deliverable_ids, when given) has trackedDocuments 145 (TimeoutError after max_wait, naming each scope's aiState). until_ai_complete also waits for every scope with 146 deliverables to read aiState Complete (edl.md). 147 148 Returns the extract_placeholders_by_deliverable dict when deliverable_ids is given, else all ids. 149 """ 150 event_api = Event(test_headers) 151 interval = 5 152 max_retries = max_wait // interval 153 last_seen = {} 154 155 def _check(): 156 response = event_api.get_by_id(event_id) 157 last_seen["status"] = response.status_code 158 if response.status_code != 200: 159 … (2643 more characters not kept)
2. commits repo=main, path=e2e/automation/utils/helpers/edl_helpers.py, since=2026-11-10T00:00:00Z · 146 chars back
0deca7fbe 2026-11-16T10:57 Harsh-Tilda: [E2E] TA 113 gated api test scope (#17496) 660324a8b 2026-11-12T17:43 Harsh-Tilda: edl test fixes (#17402)
3. search_code repo=main, text=aiState, path_prefix=e2e/automation/knowledge · 534 chars back
e2e/automation/knowledge/edl.md 27: - New scopes: Event `Active` → scope `Pending` with `aiState: Pending` (the VA runs); Event `Draft` → scope `Draft` with 28: `aiState: Complete` (an unset aiState spins the UI forever). A new scope's `aiNotes` defaults to event `aiNotes` + `scratchpad`. 55: `POST /api/events/placeholders` as the tildasense bot when a scope has `aiState: Pending`. A test that waits for 64: `max_wait`: that also waits for every scope with deliverables to read `aiState: Complete`, which the VA writes only
4. service_errors service=docsvc · 2946 chars back
+5m docsvc observability/middleware.go:281: Request completed — 500 · task is already completed +9m docsvc handlers/helpers.go:61: could not update document: Either object does not exist OR object has been updated since last read +9m docsvc observability/middleware.go:281: Request completed — 500 · could not update document: Either object does not exist OR object has been updated since last read +10m docsvc observability/middleware.go:281: Request completed — 500 · could not update document: Either object does not exist OR object has been updated since last read +10m docsvc handlers/helpers.go:61: could not update document: Either object does not exist OR object has been updated since last read +10m docsvc handlers/helpers.go:61: could not update document: Either object does not exist OR object has been updated since last read +10m docsvc observability/middleware.go:281: Request completed — 500 · could not update document: Either object does not exist OR object has been updated since last read +10m docsvc handlers/helpers.go:61: could not update document stateTag: Either object does not exist OR object has been updated since last read +10m docsvc observability/middleware.go:281: Request completed — 500 · could not update document stateTag: Either object does not exist OR object has been updated since last read +10m docsvc tildadb/util.go:993: failed to process db result — Neo4jError: Neo.TransientError.Transaction.DeadlockDetected (ForsetiClient[transactionId=8365, clientId=8 … (1446 more characters not kept)
5. read_file repo=main, path=e2e/automation/knowledge/edl.md, start_line=20, end_line=80 · 6012 chars back
e2e/automation/knowledge/edl.md (182 lines), lines 20-80: 20 Trial/Country; FDF, Form FDA 1572, Protocol Signature Page and CTA are Site only). 21 - **The Trial scope is implicit.** `CreateEvent` creates it when any deliverable has `applyToTrial`, and an update that 22 adds or turns on `applyToTrial` creates it too (`ensureTrialEventScopeForEvent`). `POST /api/events/{id}/scopes` 23 never creates it and its response lists only the Country/Site scopes it made — read the Trial scope off `GET /api/events/{id}`. 24 An event with no `applyToTrial` deliverable has no Trial scope at all. 25 - `scopeCountries`/`scopeSites` on `POST /api/events` still work but are deprecated in favour of the scopes endpoint. 26 A duplicate country/site scope is **409**; a Country scope's `scopeId` is the country string as sent (`"USA"`). 27 - New scopes: Event `Active` → scope `Pending` with `aiState: Pending` (the VA runs); Event `Draft` → scope `Draft` with 28 `aiState: Complete` (an unset aiState spins the UI forever). A new scope's `aiNotes` defaults to event `aiNotes` + `scratchpad`. 29 - Decisions (`PATCH /api/events/{id}/scopes`): `Pending → Confirmed` is one-way. **Confirming** auto-accepts every 30 `Pending` placeholder, auto-rejects every `PendingForDelete` one and leaves `Rejected` alone; the first confirm 31 freezes the deliverables' `aiNotes` into `frozenDeliverableNotes`. `Ignored` sets status `Archived`; `Ignored → Pending` restores 32 `Pending`. When no scope is left … (4512 more characters not kept)
6. service_errors text=placeholder · 2538 chars back
+14m docsvc observability/middleware.go:281: Request completed — 500 · {"message":"failed to delete placeholder 6258c5b2-46f9-448a-8cdd-30500d5ef095: failed to delete document: couldn't get all document related objects: Neo4jError: +14m docsvc handlers/helpers.go:61: failed to delete placeholder 6258c5b2-46f9-448a-8cdd-30500d5ef095: failed to delete document: couldn't get all document related objects: Neo4jError: Neo.TransientError.Transaction.DeadlockDetected (ForsetiClient[transactionId=10201, clientId=849] can't acquire ExclusiveLock{owner=ForsetiClient[transactionId=10200, clientId=845]} on NODE_RELATIONSHIP_GROUP_DELETE(5926) because holders of that lock +15m docsvc observability/middleware.go:281: Request completed — 500 · {"success":[],"failures":[{"index":0,"error":"placeholder tracking: entry 0: Deliverable a9568612-fcb7-41e9-8984-c95d620c9964 not found","documentName":"100 - I +15m docsvc observability/middleware.go:281: Request completed — 500 · {"success":[],"failures":[{"index":0,"error":"placeholder tracking: entry 0: Deliverable a9568612-fcb7-41e9-8984-c95d620c9964 not found","documentName":"100 - I +15m docsvc observability/middleware.go:281: Request completed — 500 · {"success":[],"failures":[{"index":0,"error":"placeholder tracking: entry 0: Deliverable a9568612-fcb7-41e9-8984-c95d620c9964 not found","documentName":"100 - I +15m virtual-assistant document_subscriber/constants.py:90: [DocumentSubscriber] event handler permanent failure — acking to drop (no r … (1038 more characters not kept)
7. search_code repo=main, text=excluded, path_prefix=e2e/automation/knowledge · 762 chars back
e2e/automation/knowledge/edl.md 71: is still waiting on the lock, `Complete` with no placeholders that the LLM excluded the deliverable (§7). 175: `excludedArtifacts`, and the apply logs `LLM excluded deliverable ... created=0` — final, so no wait helps. A Trial-scope e2e/automation/knowledge/workplans.md 66: Every agent resolution pass (create, `PUT /instructions`, Regenerate) reconciles each config milestone's items in `SaveWorkPlanMilestoneItemsByMilestoneIdForConfigReconcile` (`repo/workplan_milestone_ e2e/automation/knowledge/workorder.md 54: - `GET /work-orders/{id}/wo-tasks` — `status` accepts only `Pending|Completed`; filter `Discarded` client-side. Every row carries `subtask_count` (Discarded excluded), `subtask_completed_count` and `s
8. read_file repo=main, path=e2e/automation/knowledge/edl.md, start_line=160, end_line=182 · 1956 chars back
e2e/automation/knowledge/edl.md (182 lines), lines 160-182: 160 161 ## 7. What is agent behaviour, and the chronic `test_03` timeout 162 163 | Layer | Mechanism | LLM? | Affected by `aiNotes`? | 164 | --- | --- | --- | --- | 165 | Scope fan-out | Go — `APPLICABLE_TO` edges from `applyTo*` | No | No | 166 | Cardinality per deliverable | `deliverable_kinds.yaml` keyed by TMF code | No | Only via a `kind=` override in `scratchpad` | 167 | Placeholder creation, naming, per-person identity, exclusions | VA prompt | Yes | Yes | 168 | Agent-side match candidates | VA, partitioned as §4 | Partly | — | 169 170 A three-scope test is clean whatever the notes say; the hazard is prose that contradicts the config, which makes a 171 count unable to tell a bug from a judgment call. 172 173 **Deliverable names steer the LLM.** A name with no `deliverable_kinds.yaml` entry gets no kind, so the prompt's rule 3b 174 (`edl_placeholder_prompt.txt`) applies: a per-person **credential** with no site team assigned goes to 175 `excludedArtifacts`, and the apply logs `LLM excluded deliverable ... created=0` — final, so no wait helps. A Trial-scope 176 event never has a site team, so keep EDL test deliverable names free of person or credential wording. 177 178 ## Event change log (EDL audit log, ENG-8628) 179 180 - Rows come from `common/edlaudit`: `type` is `Event`/`Scope`/`Deliverable`, `action` a code (`event.created`, `field.changed`, `event.archived`, `scope.added`, `scope.removed`, `delivera … (456 more characters not kept)
9. service_errors text=108f568e-4940-4405-85dd-daf095d7d10e · 88 chars back
no error line matches during the run (X-ray keeps ERROR lines; an INFO line is not here)
10. read_file repo=main, path=e2e/automation/utils/helpers/edl_helpers.py, start_line=130, end_line=210 · 3886 chars back
e2e/automation/utils/helpers/edl_helpers.py (252 lines), lines 130-210: 130 deliv_id = deliverable.get("tildaid") 131 if deliv_id in deliverable_ids: 132 tracked_docs = deliverable.get("trackedDocuments", []) 133 if deliv_id not in placeholders_by_deliverable: 134 placeholders_by_deliverable[deliv_id] = [] 135 for doc in tracked_docs: 136 doc_id = doc.get("tildaid") 137 if doc_id: 138 placeholders_by_deliverable[deliv_id].append(doc_id) 139 140 return placeholders_by_deliverable 141 142 143 def wait_for_placeholders(test_headers, event_id, deliverable_ids=None, max_wait=60, until_ai_complete=False): 144 """Poll the event every 5 s until any deliverable (or each of deliverable_ids, when given) has trackedDocuments 145 (TimeoutError after max_wait, naming each scope's aiState). until_ai_complete also waits for every scope with 146 deliverables to read aiState Complete (edl.md). 147 148 Returns the extract_placeholders_by_deliverable dict when deliverable_ids is given, else all ids. 149 """ 150 event_api = Event(test_headers) 151 interval = 5 152 max_retries = max_wait // interval 153 last_seen = {} 154 155 def _check(): 156 response = event_api.get_by_id(event_id) 157 last_seen["status"] = response.status_code 158 if response.status_code != 200: 159 … (2386 more characters not kept)
11. search_code repo=main, text=placeholders to be created, path_prefix=e2e/automation/knowledge · 30 chars back
no match on the default branch
12. search_code repo=main, text=aiState, path_prefix=e2e/automation/knowledge · 534 chars back
e2e/automation/knowledge/edl.md 27: - New scopes: Event `Active` → scope `Pending` with `aiState: Pending` (the VA runs); Event `Draft` → scope `Draft` with 28: `aiState: Complete` (an unset aiState spins the UI forever). A new scope's `aiNotes` defaults to event `aiNotes` + `scratchpad`. 55: `POST /api/events/placeholders` as the tildasense bot when a scope has `aiState: Pending`. A test that waits for 64: `max_wait`: that also waits for every scope with deliverables to read `aiState: Complete`, which the VA writes only
13. read_file repo=main, path=e2e/automation/knowledge/edl.md, start_line=1, end_line=100 · 9319 chars back
e2e/automation/knowledge/edl.md (182 lines), lines 1-100: 1 # EDL Events, Placeholders, Matching and TMF-Location Sync 2 3 > **Purpose:** Event instances, EventScopes, placeholder state, matching/acceptance, listing and TMF-location sync — read by `test_edl_crud.py`, `test_edl_tracking.py`, `test_edl_tmf_location_sync.py`, `tests/fixtures/ed 4 > 5 > **Last updated:** 2026-11-16 | change-log shape (audit log rewrite, ENG-8628) read from `common/edlaudit` and `event.go`; test_30–35 passed live (ENG-8848) 6 7 Authoritative code: `docsvc/pkg/models/event/` (`event.go`, `eventscope.go`, `placeholder.go`, `documentmatch.go`, 8 `deliverable_tmf_sync.go`), `docsvc/pkg/models/document/tmf_deliverable_sync.go`, `common/doclib/placeholder_state.go`, 9 `data-science/virtual_assistant/src/edl/` (placeholder generation and agent-side matching). Templates, deliverable 10 scope claims and TMF-location identity are in `edl-event-templates.md`; EDL+WO configs in `event-work-orders.md`. 11 12 ## 1. Event instances and scopes 13 14 - **Graph** (`tildaobj/edl_obj_defs.go`): `Event -[:REQUIRES_RESOLUTION_OF]-> Deliverable` (created with the event, one 15 call); `EventScope -[:PART_OF_EVENT]-> Event`; `EventScope -[:APPLICABLE_TO]-> Deliverable` (from `applyTo*`, or 16 `REJECTED_FROM` with a reason); `Deliverable -[:TRACKS_PLACEHOLDER]-> Document -[:SCOPED_TO]-> EventScope`; the 17 placeholder's matches are `MATCHING_DOCUMENT` / `ACCEPTED_DOCUMENT` / `IGNORED_DOCUMENT`. One deliverable se … (7819 more characters not kept)
14. read_file repo=main, path=e2e/automation/knowledge/edl.md, start_line=70, end_line=182 · 9802 chars back
e2e/automation/knowledge/edl.md (182 lines), lines 70-182: 70 timeout names each scope's `aiState`: `Pending` means the VA never picked it up, `InProgress` that its run failed or 71 is still waiting on the lock, `Complete` with no placeholders that the LLM excluded the deliverable (§7). 72 73 Initial state, `ResolvePlaceholderInitialState` in `common/doclib/placeholder_state.go`: 74 75 | Caller | `state` omitted | `state` sent | 76 | --- | --- | --- | 77 | tildasense bot (`IsAgentCaller`: email == `TildaSenseBot`) | `Pending`, origin `Agent` | must be `Pending` or `Accepted` | 78 | anyone else (every test user) | **`Accepted`**, origin `Manual` | must be `Pending` or `Accepted`; else that row fails | 79 80 So a test-created placeholder starts `Accepted`. A test that needs the confirm-time auto-accept (`test_36`) must send 81 `"state": "Pending"`. The placeholder document's `tmfLevel` defaults to its EventScope's `scopeType`. Each row needs 82 `deliverableId` and `eventScopeId`. Bulk create answers 200 / 207 / 500. 83 84 `test_03c` guards `PATCH /api/documents/v2` on a placeholder: `primaryVersion` returns `nil` for a version-less 85 document and `docMetaUpdateV2` mirrors version fields onto the document only when a primary version exists, so the 86 node keeps status `Placeholder`. 87 88 States on `TRACKS_PLACEHOLDER`: `Pending`, `Accepted`, `Rejected` (`reason` mandatory), `PendingForDelete` (agent 89 proposal to remove; resolving it back to `Accepted` also needs a `reas … (8302 more characters not kept)
15. read_file repo=main, path=e2e/automation/knowledge/edl.md, start_line=155, end_line=182 · 2429 chars back
e2e/automation/knowledge/edl.md (182 lines), lines 155-182: 155 | Delete (folder: whole subtree) | terminal `TMF location no longer exists`, replacing all other text; `tmfTildaId` kept | 156 | First sub-artifact under an artifact | artifact constraints are deleted, so its applyTo warning clears | 157 158 `FolderManager.import_from_file` treats a Cloudflare 520/524 as success only once the `TMF` study root folder exists — 159 a non-empty `folders` list can be a half-finished CURE import, which errors every EDL test downstream. 160 161 ## 7. What is agent behaviour, and the chronic `test_03` timeout 162 163 | Layer | Mechanism | LLM? | Affected by `aiNotes`? | 164 | --- | --- | --- | --- | 165 | Scope fan-out | Go — `APPLICABLE_TO` edges from `applyTo*` | No | No | 166 | Cardinality per deliverable | `deliverable_kinds.yaml` keyed by TMF code | No | Only via a `kind=` override in `scratchpad` | 167 | Placeholder creation, naming, per-person identity, exclusions | VA prompt | Yes | Yes | 168 | Agent-side match candidates | VA, partitioned as §4 | Partly | — | 169 170 A three-scope test is clean whatever the notes say; the hazard is prose that contradicts the config, which makes a 171 count unable to tell a bug from a judgment call. 172 173 **Deliverable names steer the LLM.** A name with no `deliverable_kinds.yaml` entry gets no kind, so the prompt's rule 3b 174 (`edl_placeholder_prompt.txt`) applies: a per-person **credential** with no site team assigned goes to 175 `exclu … (929 more characters not kept)
16. service_errors text=108f568e-4940-4405-85dd-daf095d7d10e · 88 chars back
no error line matches during the run (X-ray keeps ERROR lines; an INFO line is not here)
17. service_errors text=excluded · 88 chars back
no error line matches during the run (X-ray keeps ERROR lines; an INFO line is not here)
18. commits repo=main, path=e2e/automation/tests/docsvc/test_edl_tracking.py, since=2026-11-10T00:00:00Z · 146 chars back
0deca7fbe 2026-11-16T10:57 Harsh-Tilda: [E2E] TA 113 gated api test scope (#17496) 660324a8b 2026-11-12T17:43 Harsh-Tilda: edl test fixes (#17402)
19. commits repo=main, path=data-science/virtual_assistant/src/edl, since=2026-11-10T00:00:00Z · 640 chars back
0322345d6 2026-11-13T23:22 mvelamatt: feat(feed): suggest a work order for missing documents after EDL matching (ENG-8794) (#17444) 7676bf4e2 2026-11-13T02:49 mvelamatt: feat(edl): EDL plans on sponsor roles; mapping changes move rows over Pub/Sub (ENG-8626) (#17415) 9b80cb7b6 2026-11-12T06:30 arzatskis: Use camelCase for API query params and JSON fields across Go and Python services (#17334) 7c3f9439a 2026-11-11T05:28 mvelamatt: feat(edl): EDL audit log with actors, groups and a read API (ENG-8628) (#17349) 2bf2d50f8 2026-11-10T23:47 mvelamatt: feat(staff): sponsor mapped roles in DOA review, EDL and work orders (ENG-8626) (#17346)
20. commit_diff repo=main, sha=0deca7fbe, path=e2e/automation/tests/docsvc/test_edl_tracking.py · 2820 chars back
0deca7fbe 2026-11-16T10:57 Harsh-Tilda: [E2E] TA 113 gated api test scope (#17496) 20 files changed: e2e/automation/knowledge/edl.md, e2e/automation/knowledge/event-work-orders.md, e2e/automation/knowledge/workorder-gating.md, e2e/automation/knowledge/workorder.md, e2e/automation/models/organization.py, e2e/automation/models/work_order_activity.py, e2e/automation/models/work_order_task.py, e2e/automation/tests/docsvc/test_edl_crud.py, e2e/automation/tests/docsvc/test_edl_tracking.py, e2e/automation/tests/fixtures/edl_fixtures.py, e2e/automation/tests/fixtures/gated_template_fixtures.py, e2e/automation/tests/fixtures/work_order_fixtures.py, e2e/automation/tests/onboardingsvc/test_studies_list.py, e2e/automation/tests/virtualassistant/test_event_work_order.py, e2e/automation/tests/virtualassistant/test_gated_chat_discipline.py, e2e/automation/tests/virtualassistant/test_gated_facility_change_flow.py, e2e/automation/tests/virtualassistant/test_gated_manual_controls.py, e2e/automation/tests/virtualassistant/test_gated_substantial_amendment_flow.py, e2e/automation/tests/virtualassistant/test_gated_template_preview.py, e2e/automation/utils/helpers/edl_helpers.py --- e2e/automation/tests/docsvc/test_edl_tracking.py @@ -7,11 +7,11 @@ from automation.models.document import Document from automation.models.event import Event from automation.models.event_placeholder import EventPlaceholder +from automation.models.placeholder import Placeholder from automation.utils.helpers.edl_helpe … (1320 more characters not kept)

What it was shown (build 599, 44.4 KB)

The run
{ "job": "api-tests-master", "build": 599, "kind": "api-tests", "result": "SUCCESS", "started": "2026-11-17T00:21:42Z", "tests": 1077, "failed": 17, "test_commit": "c5bdd62a9", "branch": "master", "cluster_prepared": { "mode": "prepare", "result": "ready", "product_commit": "c5bdd62a9" } }
services
[ "docsvc", "execsvc", "patientsvc", "schedsvc", "enrollsvc", "studiosvc", "finsvc", "notifsvc", "dslsvc", "authz", "dashQL", "dashRsvc", "regsvc", "advpsvc", "workplansvc", "datasvc", "payoutsvc", "tusker", "authsvc", "eventsvc", "ehrsvc", "docproc", "studioai", "sense" ]
The cluster during the run
{ "cluster": "automation", "findings_opened_around_the_run": [], "long_standing_findings_left_out": 19, "pods_in_trouble_during_the_run": [ { "workload": "tilda/data-monitor", "crash": 4.0, "first_minutes_after_run_start": -11 }, { "workload": "tilda/ontologysvc", "probe": 2.0, "first_minutes_after_run_start": -11 }, { "workload": "tilda/rag-agent", "probe": 3.0, "first_minutes_after_run_start": -11 } ], "deploys_during_the_run": [] }
The group
{ "tests": 1, "suite": "EDLTracking", "members": [ { "test": "automation/tests/docsvc/test_edl_tracking.py::TestEDLTracking::test_04_no_metadata_inheritance", "pattern": "flaky", "meaning": "passed and failed in turn: 6 failures and 7 changes in 30 runs", "newest_first": "F P P P F P P P P F F P P F F P P P P P P P P P P P P P P P", "failing_in_a_row": 1, "this_error_in_a_row": 1, "this_error_since_build": 599, "build_before_this_error": 597, "failing_since_build": 599, "last_passed_build": 597 } ] }
The failure
{ "test": "automation/tests/docsvc/test_edl_tracking.py::TestEDLTracking::test_04_no_metadata_inheritance", "status": "failed", "message": "TimeoutError: Timed out waiting for placeholders to be created after 60s on event 108f568e-4940-4405-85dd-daf095d7d10e; last GET status 200; scope (type, id, aiState) from the last 200: [('Trial', '', 'Complete')]", "traceback_tail": "automation/utils/helpers/edl_helpers.py:182: in wait_for_placeholders\n event_data = wait_for_condition(\nautomation/utils/helpers/wait_helper.py:27: in wait_for_condition\n raise TimeoutError(f\"Timed out waiting for {description} after {max_retries * interval}s\")\nE TimeoutError: Timed out waiting for placeholders to be created after 60s\n\nThe above exception was the direct cause of the following exception:\nautomation/tests/docsvc/test_edl_tracking.py:410: in test_04_no_metadata_inheritance\n event_placeholders = wait_for_placeholders(test_headers, event_id, deliverable_ids=[deliverable_id])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nautomation/utils/helpers/edl_helpers.py:194: in wait_for_placeholders\n raise TimeoutError(\nE TimeoutError: Timed out waiting for placeholders to be created after 60s on event 108f568e-4940-4405-85dd-daf095d7d10e; last GET status 200; scope (type, id, aiState) from the last 200: [('Trial', '', 'Complete')]", "requests": [ { "trace_id": "a917e57d264201373180d7a687dd7684", "method": "GET", "path": "/api/events/108f568e-4940-4405-85dd-daf095d7d10e", "status": "200", "error": "None" }, { "trace_id": "a917e57d264201373180d7a5b09a7a23", "method": "GET", "path": "/api/events/108f568e-4940-4405-85dd-daf095d7d10e", "status": "200", "error": "None" }, { "trace_id": "a917e57d264201373180d7ae89afe2a3", "method": "GET", "path": "/api/events/108f568e-4940-4405-85dd-daf095d7d10e", "status": "200", "error": "None" }, { "trace_id": "a917e57d264201373180d7a5eb2c5c0f", "method": "GET", "path": "/api/events/108f568e-4940-4405-85dd-daf095d7d10e", "status": "200", "error": "None" }, { "trace_id": "a917e57d264201373180d7a5b9debc4b", "method": "GET", "path": "/api/events/108f568e-4940-4405-85dd-daf095d7d10e", "status": "200", "error": "None" } ], "errors_the_services_logged_for_these_requests": "none: no service logged an error under these requests' trace ids" }
Console lines about this test
{ "from": "console.log", "lines": [ "523: ERROR E assert 14 == 13", "524: ERROR E + where 14 = len(['Document_Download', 'Document_Copy', 'Document_Review', 'Document_eSign', 'Document_Share', 'Document_Comment', ...])", "525: ERROR E + and 13 = len(['Document_Annotate', 'Document_Archive', 'Document_Assign', 'Document_Categorize', 'Document_Comment', 'Document_Copy', ...])", "526: ERROR _______________ TestEDLTracking.test_04_no_metadata_inheritance ________________", "527: INFO automation/utils/helpers/edl_helpers.py:182: in wait_for_placeholders", "528: INFO event_data = wait_for_condition(", "529: INFO automation/utils/helpers/wait_helper.py:27: in wait_for_condition", "530: INFO raise TimeoutError(f\"Timed out waiting for {description} after {max_retries * interval}s\")", "531: ERROR E TimeoutError: Timed out waiting for placeholders to be created after 60s", "532: INFO The above exception was the direct cause of the following exception:", "533: INFO automation/tests/docsvc/test_edl_tracking.py:410: in test_04_no_metadata_inheritance", "534: INFO event_placeholders = wait_for_placeholders(test_headers, event_id, deliverable_ids=[deliverable_id])", "535: INFO automation/utils/helpers/edl_helpers.py:194: in wait_for_placeholders", "536: INFO raise TimeoutError(", "\u2026", "569: INFO + and 13 = len(['Document_Annotate', 'Document_Archive', 'Document_Assign', 'Document_Comment', 'Document_Copy', 'Document_Categorize', ...])", "570: ERROR FAILED automation/tests/docsvc/document_review/test_document_review.py::TestDocumentReview::test_documents_after_rejection - AssertionError: assert 13 == 12", "571: ERROR FAILED automation/tests/docsvc/document_review/test_document_review.py::TestDocumentReview::test_documents_after_updating - AssertionError: Unexpected actions found: {'Document_Enhance'}", "572: ERROR FAILED automation/tests/docsvc/test_edl_tracking.py::TestEDLTracking::test_04_no_metadata_inheritance - TimeoutError: Timed out waiting for placeholders to be created after 60s on event 108f568e-4940-4405-85dd-daf095d7d10e; last GET status 200; scope (type, id, aiState) from the last 200: [('T", "573: ERROR ERROR automation/tests/studiosvc/test_studio_rules.py::TestStudioConfigurationLifecycle::test_edit_published_configuration_creates_listed_draft - AssertionError: Publish failed: 400 \u2014 {\"message\":\"could not publish protocol: validation failed: protocol cannot be published: rule \\\"rule_9LNZqrkF\\", "574: INFO + where 400 = <Response [400]>.status_code", "575: ERROR ERROR automation/tests/studiosvc/test_studio_rules.py::TestStudioConfigurationLifecycle::test_edit_in_editor_of_published_configuration_switches_to_draft_copy - AssertionError: Publish failed: 400 \u2014 {\"message\":\"could not publish protocol: validation failed: protocol cannot be published: rule \\" ] }
The test's history
{ "pattern": "flaky", "meaning": "passed and failed in turn: 6 failures and 7 changes in 30 runs", "newest_first": "F P P P F P P P P F F P P F F P P P P P P P P P P P P P P P", "failing_in_a_row": 1, "this_error_in_a_row": 1, "this_error_since_build": 599, "build_before_this_error": 597 }
other_branch
{ "branch": "production", "job": "api-tests-production", "build": 621, "these_tests_there": { "passing": 1 }, "reading": "fails on master only: production is unaffected (`api-tests-production` build 621). Fix it before master is released to production." }
The test's source
{ "repo": "tildabio/main", "at": "c5bdd62a9", "path": "e2e/automation/tests/docsvc/test_edl_tracking.py", "from_line": 358, "failing_line": 410, "code": "358 def test_04_no_metadata_inheritance(\n359 self, test_session, create_event_with_deliverables, create_event_scopes, tmf_folders\n360 ):\n361 \"\"\"\n362 Scenario: Verify No Metadata Inheritance\n363 - Create placeholder with specific metadata (description)\n364 - Upload document with different metadata\n365 - Accept match and promote\n366 - Verify accepted document retains its own metadata (no inheritance from placeholder)\n367 \"\"\"\n368 logger.info(\"\\n\" + \"=\" * 80)\n369 logger.info(\"TEST 04: No Metadata Inheritance from Placeholder\")\n370 logger.info(\"=\" * 80)\n371 \n372 test_headers = test_session.test_headers\n373 study_id = test_session.study_id\n374 file_prefix = test_session.file_prefix\n375 \n376 # Step 1: Get TMF SubArtifact\n377 logger.info(\"\\nStep 1: Getting TMF SubArtifact...\")\n378 tmf_subartifact = get_tmf_subartifact_for_deliverable(tmf_folders, \"Protocol\")\n379 tmf_subartifact_id = tmf_subartifact[\"subArtifactId\"]\n380 tmf_folder_id = tmf_subartifact[\"folderId\"]\n381 logger.info(f\"\u2713 SubArtifact ID: {tmf_subartifact_id}\")\n382 \n383 # Step 2 & 3: Create Event with Deliverable and Scopes (using fixtures)\n384 logger.info(\"\\nStep 2: Creating Event with Deliverable...\")\n385 \n386 event = create_event_with_deliverables(\n387 \"protocol_amendment\",\n388 isTemplate=False,\n389 name=\"Protocol Amendment Metadata Test\",\n390 description=\"Protocol amendment event for metadata inheritance test\",\n391 )\n392 event_id = event[\"tildaid\"]\n393 logger.info(f\"\u2713 Created Event: {event_id}\")\n394 \n395 # Extract deliverables from create response\n396 all_deliverables = event.get(\"deliverables\", [])\n397 logger.info(f\"\u2713 Event created with {len(all_deliverables)} deliverables from template\")\n398 \n399 # Find deliverable matching our TMF SubArtifact\n400 deliverable_id = find_deliverable_by_location(all_deliverables, \"Protocol\")\n401 \n402 logger.info(\"\\nStep 3: Creating Event Scopes...\")\n403 scopes = create_event_scopes(event_id)\n404 event_scope_id = scopes[\"trial\"][\"tildaid\"]\n405 logger.info(f\"\u2713 Created Event Scopes, Trial scope: {event_scope_id}\")\n406 \n407 # Step 5: Wait for placeholders to be created\n408 logger.info(\"\\nStep 5: Waiting for placeholders...\")\n409 \n410> event_placeholders = wait_for_placeholders(test_headers, event_id, deliverable_ids=[deliverable_id])\n411 \n412 deliverable_placeholders = event_placeholders.get(deliverable_id, [])\n413 assert len(deliverable_placeholders) >= 1, (\n414 f\"Expected at least 1 placeholder for deliverable {deliverable_id}. \"\n415 f\"Available deliverables: {list(event_placeholders.keys())}\"\n416 )\n417 placeholder_id = deliverable_placeholders[0]\n418 logger.info(f\"\u2713 Using Placeholder: {placeholder_id}\")\n419 \n420 # Step 6: Upload Document with Different Metadata\n421 logger.info(\"\\nStep 6: Uploading Document with Different Metadata...\")\n422 tmp_file = create_tmp_file(suffix=f\"_{file_prefix}_protocol_v2.pdf\")\n423 doc_api = Document(test_headers)\n424 \n425 upload_response = doc_api.post_file(\n426 {\n427 \"description\": \"DOCUMENT: Final approved protocol amendment version 2.0\",\n428 \"fileName\": f\"{file_prefix}_Protocol_v2.pdf\"," }
Commits in the window
{ "between": "build 597 (last pass, started 2026-11-15T00:26:03Z) and build 599 (first failure of the streak, started 2026-11-17T00:21:42Z)", "test_repo": { "repo": "tildabio/main", "range": "03f9c2d6b..c5bdd62a9", "href": "https://github.com/tildabio/main/compare/03f9c2d6b8bcadfd46ddaf810027681ae8e40891...c5bdd62a98509030f5769bfc435dd772c6ca5eeb", "total": 52, "commits": [ { "sha": "c5bdd62a9", "subject": "fix(authz): staff bulk import is all-or-nothing, 422 on refused rows (ENG-8657) (#17515)", "login": "akshaysharma-tilda", "name": "akshaysharma-tilda", "date": "2026-11-16T22:31", "touches": [ "authz/pkg", "e2e/automation" ] }, { "sha": "6520f45b2", "subject": "feedsvc: demo-flow fixes for document, staff and request cards (#17517)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-16T22:20", "touches": [ "data-science/feedsvc" ] }, { "sha": "e770fbf1d", "subject": "fix(careplanlib): PI can sign off a screening visit after the subject left screening (ENG-8740) (#17478)", "login": "Shashank-Agrawal12", "name": "Shashank-Agrawal12", "date": "2026-11-16T18:16", "touches": [ "common/careplanlib", "execsvc/pkg" ] }, { "sha": "a557e97ff", "subject": "SSE for fileupload emails mailbox - initial impl (#17509)", "login": "vikrantsharma-tildabio", "name": "vikrantsharma-tildabio", "date": "2026-11-16T17:58", "touches": [ "data-science/packages", "data-science/virtual_assistant" ] }, { "sha": "d8ccef432", "subject": "chat-agent: studio_authoring resolves the open study configuration, visit and form from context (ENG-8592) (#17508)", "login": "sureshboddapati", "name": "Suresh Boddapati", "date": "2026-11-16T17:41", "touches": [ "data-science/chat-agent" ] }, { "sha": "8b80e3e2f", "subject": "fix(docsvc): split accepted vs suggested matches in placeholder export (ENG-7494) (#17505)", "login": "susheelkumar-cmyk", "name": "susheelkumar-cmyk", "date": "2026-11-16T16:02", "touches": [ "docsvc/pkg" ] }, { "sha": "a28d70403", "subject": "evals: work-order eval rework and judge calibration (EC-1) (#17418)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T15:49", "touches": [ "data-science/chat-agent" ] }, { "sha": "4cf808b2a", "subject": "fix(studiosvc): put the org in the Timer and ESign NODE KEY so org-level titles are unique per org (ENG-8586, ENG-8741) (#17391)", "login": "danherberttilda", "name": "Dan Herbert", "date": "2026-11-16T15:33", "touches": [ "studiosvc/pkg", "tildaobj/schema_owner_test.go", "tildaobj/schema_retired.go", "tildaobj/studio_obj_defs.go" ] }, { "sha": "d7e283183", "subject": "fix concurrency issue and add support for parallel run (#17506)", "login": "Harsh-Tilda", "name": "Harsh Agarwal", "date": "2026-11-16T15:21", "touches": [ "e2e/.gitignore", "e2e/CLAUDE.md", "e2e/TEST_ARCHITECTURE.md", "e2e/automation", "e2e/pyproject.toml", "e2e/run-tests.sh", "e2e/uv.lock" ] }, { "sha": "d4a45f5f0", "subject": "fix(authz): site-staff bulk import is all-or-nothing, 422 on refused rows (ENG-8657) (#17502)", "login": "akshaysharma-tilda", "name": "akshaysharma-tilda", "date": "2026-11-16T14:59", "touches": [ "authz/pkg" ] }, { "sha": "7abc30f55", "subject": "chat-agent: study_configuration, studio_visit and studio_form context kinds (ENG-8592) (#17500)", "login": "avdkishore", "name": "Kishore", "date": "2026-11-16T14:54" }, { "sha": "88a093d22", "subject": "Cover visit activities v2: list, save, skip, resume, edit cycle, sign-off, audit log, unscheduled visit and ch (ENG-8864) (#17495)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-16T13:13" }, { "sha": "d9115c14b", "subject": "fix(docsvc): skip unparseable changelog JSON in migrate-original-filename (ENG-8671) (#17443)", "login": "susheelkumar-cmyk", "name": "susheelkumar-cmyk", "date": "2026-11-16T11:26" }, { "sha": "11a3e5b2d", "subject": "chat-agent: one short date form on work-order cards, 13 Nov 2026, with MM/DD/YYYY allowed from work orders (ENG-8247) (#17425)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T11:11" }, { "sha": "3262c1f2e", "subject": "va: short date form in card summaries and steer messages; parser accepts 13 Nov 2026 (ENG-8247) (#17430)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T11:11" }, { "sha": "91b905144", "subject": "fix(docsvc): an explicit site filter only narrows the caller's site scope (ENG-8613) (#17419)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T11:10" }, { "sha": "ccc68752a", "subject": "fix(ci): stop logging into Auth0 for [email protected] in CI (#17481)", "login": "ojasgo", "name": "ojasgo", "date": "2026-11-16T11:00" }, { "sha": "0deca7fbe", "subject": "[E2E] TA 113 gated api test scope (#17496)", "login": "Harsh-Tilda", "name": "Harsh Agarwal", "date": "2026-11-16T10:57" }, { "sha": "b410a7af1", "subject": "Fix tusker task tests: empty stats are [] and the outside-study user is TEST_NON_STUDY (ENG-8849) (#17494)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-16T09:52" }, { "sha": "48784f6be", "subject": "Update EDL change-log e2e tests to the EDL audit log row shape (ENG-8848) (#17493)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-16T09:50" }, { "sha": "2a51624b3", "subject": "Fix recommendations e2e tests for docproc's camelCase wire format (ENG-8843) (#17488)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-16T08:19" }, { "sha": "2a0c94e40", "subject": "docsvc: reject 0-byte uploads when leaving Upload Pending (#17483)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-11-16T08:00" }, { "sha": "82fca1828", "subject": "docsvc: return tmfFiledAt in version responses and stamp bulk-created TMF docs (ENG-8136) (#17421)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-11-16T07:59" }, { "sha": "ad956ca0a", "subject": "Let CRO orgs add new document versions (#17480)", "login": "krishnaatluru-cpu", "name": "Krishna Chaitanya", "date": "2026-11-16T07:28" }, { "sha": "3ee108f6b", "subject": "fix(ontologysvc): 1572 staff audit skips EDL placeholders (#17475)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-16T07:02" } ] }, "product": { "repo": "tildabio/main", "range": "f56eb0825..c5bdd62a9", "href": "https://github.com/tildabio/main/compare/f56eb0825bfbee4bda1bbdd94df66a0c0d9709df...c5bdd62a98509030f5769bfc435dd772c6ca5eeb", "total": 41, "commits": [ { "sha": "c5bdd62a9", "subject": "fix(authz): staff bulk import is all-or-nothing, 422 on refused rows (ENG-8657) (#17515)", "login": "akshaysharma-tilda", "name": "akshaysharma-tilda", "date": "2026-11-16T22:31", "touches": [ "authz/pkg", "e2e/automation" ] }, { "sha": "6520f45b2", "subject": "feedsvc: demo-flow fixes for document, staff and request cards (#17517)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-16T22:20", "touches": [ "data-science/feedsvc" ] }, { "sha": "e770fbf1d", "subject": "fix(careplanlib): PI can sign off a screening visit after the subject left screening (ENG-8740) (#17478)", "login": "Shashank-Agrawal12", "name": "Shashank-Agrawal12", "date": "2026-11-16T18:16", "touches": [ "common/careplanlib", "execsvc/pkg" ] }, { "sha": "a557e97ff", "subject": "SSE for fileupload emails mailbox - initial impl (#17509)", "login": "vikrantsharma-tildabio", "name": "vikrantsharma-tildabio", "date": "2026-11-16T17:58", "touches": [ "data-science/packages", "data-science/virtual_assistant" ] }, { "sha": "d8ccef432", "subject": "chat-agent: studio_authoring resolves the open study configuration, visit and form from context (ENG-8592) (#17508)", "login": "sureshboddapati", "name": "Suresh Boddapati", "date": "2026-11-16T17:41", "touches": [ "data-science/chat-agent" ] }, { "sha": "8b80e3e2f", "subject": "fix(docsvc): split accepted vs suggested matches in placeholder export (ENG-7494) (#17505)", "login": "susheelkumar-cmyk", "name": "susheelkumar-cmyk", "date": "2026-11-16T16:02", "touches": [ "docsvc/pkg" ] }, { "sha": "a28d70403", "subject": "evals: work-order eval rework and judge calibration (EC-1) (#17418)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T15:49", "touches": [ "data-science/chat-agent" ] }, { "sha": "4cf808b2a", "subject": "fix(studiosvc): put the org in the Timer and ESign NODE KEY so org-level titles are unique per org (ENG-8586, ENG-8741) (#17391)", "login": "danherberttilda", "name": "Dan Herbert", "date": "2026-11-16T15:33", "touches": [ "studiosvc/pkg", "tildaobj/schema_owner_test.go", "tildaobj/schema_retired.go", "tildaobj/studio_obj_defs.go" ] }, { "sha": "d7e283183", "subject": "fix concurrency issue and add support for parallel run (#17506)", "login": "Harsh-Tilda", "name": "Harsh Agarwal", "date": "2026-11-16T15:21", "touches": [ "e2e/.gitignore", "e2e/CLAUDE.md", "e2e/TEST_ARCHITECTURE.md", "e2e/automation", "e2e/pyproject.toml", "e2e/run-tests.sh", "e2e/uv.lock" ] }, { "sha": "d4a45f5f0", "subject": "fix(authz): site-staff bulk import is all-or-nothing, 422 on refused rows (ENG-8657) (#17502)", "login": "akshaysharma-tilda", "name": "akshaysharma-tilda", "date": "2026-11-16T14:59", "touches": [ "authz/pkg" ] }, { "sha": "7abc30f55", "subject": "chat-agent: study_configuration, studio_visit and studio_form context kinds (ENG-8592) (#17500)", "login": "avdkishore", "name": "Kishore", "date": "2026-11-16T14:54" }, { "sha": "88a093d22", "subject": "Cover visit activities v2: list, save, skip, resume, edit cycle, sign-off, audit log, unscheduled visit and ch (ENG-8864) (#17495)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-16T13:13" }, { "sha": "d9115c14b", "subject": "fix(docsvc): skip unparseable changelog JSON in migrate-original-filename (ENG-8671) (#17443)", "login": "susheelkumar-cmyk", "name": "susheelkumar-cmyk", "date": "2026-11-16T11:26" }, { "sha": "11a3e5b2d", "subject": "chat-agent: one short date form on work-order cards, 13 Nov 2026, with MM/DD/YYYY allowed from work orders (ENG-8247) (#17425)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T11:11" }, { "sha": "3262c1f2e", "subject": "va: short date form in card summaries and steer messages; parser accepts 13 Nov 2026 (ENG-8247) (#17430)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T11:11" }, { "sha": "91b905144", "subject": "fix(docsvc): an explicit site filter only narrows the caller's site scope (ENG-8613) (#17419)", "login": "TadasValaitiz", "name": "Tadas Valaitis", "date": "2026-11-16T11:10" }, { "sha": "ccc68752a", "subject": "fix(ci): stop logging into Auth0 for [email protected] in CI (#17481)", "login": "ojasgo", "name": "ojasgo", "date": "2026-11-16T11:00" }, { "sha": "0deca7fbe", "subject": "[E2E] TA 113 gated api test scope (#17496)", "login": "Harsh-Tilda", "name": "Harsh Agarwal", "date": "2026-11-16T10:57" }, { "sha": "b410a7af1", "subject": "Fix tusker task tests: empty stats are [] and the outside-study user is TEST_NON_STUDY (ENG-8849) (#17494)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-16T09:52" }, { "sha": "48784f6be", "subject": "Update EDL change-log e2e tests to the EDL audit log row shape (ENG-8848) (#17493)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-16T09:50" }, { "sha": "2a51624b3", "subject": "Fix recommendations e2e tests for docproc's camelCase wire format (ENG-8843) (#17488)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-16T08:19" }, { "sha": "2a0c94e40", "subject": "docsvc: reject 0-byte uploads when leaving Upload Pending (#17483)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-11-16T08:00" }, { "sha": "82fca1828", "subject": "docsvc: return tmfFiledAt in version responses and stamp bulk-created TMF docs (ENG-8136) (#17421)", "login": "vishal23karedla", "name": "Vishal Karedla", "date": "2026-11-16T07:59" }, { "sha": "ad956ca0a", "subject": "Let CRO orgs add new document versions (#17480)", "login": "krishnaatluru-cpu", "name": "Krishna Chaitanya", "date": "2026-11-16T07:28" }, { "sha": "3ee108f6b", "subject": "fix(ontologysvc): 1572 staff audit skips EDL placeholders (#17475)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-16T07:02" } ] } }
The issue as the agent wrote it
**Fix is in:** the automation suite (e2e): the test is flaky. **What failed:** `TimeoutError: Timed out waiting for placeholders to be created after 60s on event 108f568e-4940-4405-85dd-daf095d7d10e; last GET status 200; scope (type, id, aiState) from the last 200: [('Trial', '', 'Complete')]` **Flaky test**, confidence medium. Found in `api-tests-master` build 599: [run in X-ray](https://xray.tilda.pizza/tests/run/api-tests-master/599). **Root cause in X-ray:** [the verdict, each test's history and the evidence the agent read](https://xray.tilda.pizza/test-triage/7f5f2bd41e33e3) **Branches:** fails on master only: production is unaffected (`api-tests-production` build 621). Fix it before master is released to production. The wait at test_edl_tracking.py:410 (helper edl_helpers.py:143-197) polls GET /api/events/{id} for trackedDocuments on the Protocol deliverable. That placeholder is written by the virtual assistant (VA) and depends on an LLM run. The last read showed the Trial scope with aiState 'Complete' and still no placeholder. e2e/automation/knowledge/edl.md lines 70-71 and 173-175 say 'Complete with no placeholders' means the LLM left the deliverable out, and that this is final, so a longer wait won't help. Every GET returned 200 and no service logged an error. No VA EDL code changed between builds 597 and 599. The history shows it failing and passing in turn (6 failures in 30 runs), and production build 621 passes. Not verified: the VA's INFO line 'LLM excluded deliverable ... created=0' for event 108f568e. X-ray keeps only ERROR lines, so the VA logs would confirm it. To make it stable: create the placeholder in the test with POST /api/events/placeholders (Placeholder.create_bulk with edl_helpers.placeholder_doc, deliverableId and the Trial eventScopeId). edl.md §3 recommends this for tests that need a placeholder they can count on. **Assigned to:** [email protected] (last changed test_edl_tracking.py (0deca7fbe)). **Failing tests (1):** - [automation/tests/docsvc/test_edl_tracking.py::TestEDLTracking::test_04_no_metadata_inheritance](https://xray.tilda.pizza/tests/case/a5573672077cc621) (new in this run) **Error:** ``` TimeoutError: Timed out waiting for placeholders to be created after 60s on event 108f568e-4940-4405-85dd-daf095d7d10e; last GET status 200; scope (type, id, aiState) from the last 200: [('Trial', '', 'Complete')] ``` +++ Agent notes Filed by X-ray's triage agent. Models asked: claude-sonnet-5-5, claude-opus-5-5; settled by escalate; 20 lookups in the code and its history. Group `triage:7f5f2bd41e33e3` (one issue per root cause). A wrong verdict can be corrected on the run page in X-ray. +++