You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Scoped API verify: a FHIR search OperationOutcome entry is read as a marker match #2526
Found by the independent review of #2525. Not blocking there, and it predates that PR.
A FHIR searchset Bundle can carry an OperationOutcome entry with search.mode: outcome (a warning or an error about the search itself). txplan/scoped.py_search reads every entry.*.resource as a matching record. So an outcome entry with an id:
counts as a found create, so recovery can adopt a write that never landed;
counts toward duplicate_write.
Fix: let a pack declare which items are matches. One way is a search_match filter, e.g. {path: search.mode, equals: match} on the entry, or resourceType equal to the collection's type. Then any outcome entry with a non-informational severity should make the search an error, not a match. This is the same missing-evidence class as the rest of #2525's fixes.
Activity
fix(flow): do not treat a FHIR OperationOutcome as a search match (Op…