Merge branch 'feat/47-G-fix11-b5j' into feat/47-G-join11

# Conflicts:
#	modules/mesh-delivery-assigner/internal/assigngraph/graph_test.go
This commit is contained in:
2026-11-12 10:37:21 +01:00
32 changed files with 1805 additions and 950 deletions
@@ -523,8 +523,18 @@ type CatalogOf struct {
Source int64 `json:"source,omitempty"`
}
// ChangeAfterItem is a type of the contract.
type ChangeAfterItem struct {
// the kind of the edge that orders the change after that one: provisioning, contribution or acting
Kind string `json:"kind"`
Module string `json:"module"`
Node string `json:"node"`
}
// Change is one module on a node whose version differs between two revisions.
type Change struct {
// the other changes of the difference it is ordered after, each with its edge's kind (design 47 G section 512)
After []ChangeAfterItem `json:"after,omitempty"`
// the edges that moved
Edges []Edge `json:"edges,omitempty"`
// the fingerprint before; absent when it is new there
@@ -1028,6 +1028,30 @@
"$ref": "#/defs/Edge"
},
"description": "the edges that moved"
},
"after": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "string"
},
"module": {
"type": "string"
},
"kind": {
"type": "string",
"description": "the kind of the edge that orders the change after that one: provisioning, contribution or acting"
}
},
"required": [
"node",
"module",
"kind"
]
},
"description": "the other changes of the difference it is ordered after, each with its edge's kind (design 47 G section 512)"
}
},
"required": [
@@ -192,8 +192,17 @@ export interface CatalogOf {
"source"?: number;
}
export interface ChangeAfterItem {
/** the kind of the edge that orders the change after that one: provisioning, contribution or acting */
"kind": string;
"module": string;
"node": string;
}
/** one module on a node whose version differs between two revisions */
export interface Change {
/** the other changes of the difference it is ordered after, each with its edge's kind (design 47 G section 512) */
"after"?: ChangeAfterItem[];
/** the edges that moved */
"edges"?: Edge[];
/** the fingerprint before; absent when it is new there */