Skip to content

Conversation

@xibz
Copy link
Contributor

@xibz xibz commented Feb 11, 2026

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.

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>
@xibz xibz requested a review from a team as a code owner February 11, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant