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
update(links): Relax link schemas to support domain-level identifier
This change updates all link schemas (START, END, RELATION, and embedded variants)
to allow references to either a CDEvent contextId, a domainId, or both.
Previously, links could only reference event context IDs. This limited
cross-system connectivity and encouraged embedding execution identifiers
in customData purely for graph reconstruction.
By allowing domainId alongside contextId:
- Links can represent relationships between domain executions
(e.g., pipelinerun) as well as individual events.
- Connectivity metadata no longer needs to be embedded in event payloads.
- Chain-first modeling constraints are relaxed, enabling relation-first
graph modeling.
- The change remains backward compatible.
At least one of contextId or domainId is now required for link endpoints.
AdditionalProperties are restricted to prevent schema drift.
This preserves existing semantics while improving flexibility and reducing
customData pollution.
Signed-off-by: xibz <bjp@apple.com>
0 commit comments