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
Data Contract latestResult is not updated after semantics validation fails following an entity field change #30179
When an entity's fields are changed such that a data contract's semantics rule now fails (e.g. removing the owner referenced by a semantics rule), re-running the contract correctly marks the individual semantics check as Failed, but the contract's aggregate latestResult (used to drive the "Contract Failed" indicator on the entity header / Explore listing) is not updated to reflect the new failure. The UI is left showing a stale/previous status even though the underlying validation genuinely failed.
Steps to Reproduce
Create a table (or other contract-supporting entity) and set an owner (e.g. Shrabanti).
Create a Data Contract on the entity with a semantics rule that asserts on the owner (e.g. Owner Is ).
Run the contract — semantics passes, latestResult shows Success.
Remove the owner from the entity entirely.
Run the contract again (Run Now / /validate).
Expected Behavior
The semantics check fails (as it correctly does).
The contract's latestResult.status is updated to Failed, and the entity header's "Contract Failed" button/badge reflects this immediately.
Actual Behavior
The semantics check shows Failed inside the Contract tab (per-check status is correct).
The contract's latestResult (aggregate status consumed by DataAssetsHeader.component.tsx's data-contract-latest-result-btn, and likely by the Explore listing card) is not updated to Failed — it remains on the previous run's status, so the failure isn't surfaced where users would expect it.
Impact
Users cannot trust the "Contract Failed" indicator on the entity page / Explore listing after an entity change causes a semantics failure — they have to open the Contract tab and check the semantics status manually to discover the real state.
Activity
yan-3005 commentedon Aug 7, 2026
Not applicable from backend for data COntract, it is an ETag issue