258 lines
6.2 KiB
JSON
258 lines
6.2 KiB
JSON
[
|
|
{
|
|
"name": "a running step",
|
|
"of": "state:steps/<node>.<id>",
|
|
"given": {
|
|
"v": 1,
|
|
"id": "a1b2",
|
|
"tool": "build",
|
|
"node": "ace",
|
|
"state": "running",
|
|
"started": "2026-11-05T10:00:00Z"
|
|
}
|
|
},
|
|
{
|
|
"name": "a paused node",
|
|
"of": "state:pauses/paused.<node>",
|
|
"given": {
|
|
"v": 1,
|
|
"paused": true,
|
|
"by": "operator@shanks",
|
|
"at": "2026-11-05T10:00:00Z"
|
|
}
|
|
},
|
|
{
|
|
"name": "a node's capacity",
|
|
"of": "state:pauses/capacity.<node>",
|
|
"given": {
|
|
"v": 1,
|
|
"effective": 2,
|
|
"configured": 2,
|
|
"why": "the configured steps fit the cores"
|
|
}
|
|
},
|
|
{
|
|
"name": "a node's toolchain",
|
|
"of": "state:toolchains/<node>.<language>",
|
|
"given": {
|
|
"v": 1,
|
|
"language": "go",
|
|
"version": "1.26.0",
|
|
"recipe": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "a build ask",
|
|
"of": "accept:delivery",
|
|
"subject": "mesh.seat.node-build-go.accept.delivery",
|
|
"given": {
|
|
"id": "a1b2",
|
|
"kind": "build",
|
|
"language": "go",
|
|
"asker": "mesh-delivery-builder",
|
|
"build": {
|
|
"module": "nats",
|
|
"artifacts": [
|
|
{
|
|
"artifact": "go"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "a check ask with its fetch, siblings and levels",
|
|
"of": "accept:check",
|
|
"subject": "mesh.seat.node-build-go.accept.check",
|
|
"given": {
|
|
"v": 1,
|
|
"id": "c3d4",
|
|
"kind": "check",
|
|
"language": "go",
|
|
"asker": "mesh-delivery-checker",
|
|
"at": "2026-11-05T10:00:00Z",
|
|
"check": {
|
|
"fetch": {
|
|
"repository": "novox/mesh-catalog",
|
|
"commit": "0123456789abcdef0123456789abcdef01234567",
|
|
"ref": "refs/pull/7/head",
|
|
"base": "89abcdef0123456789abcdef0123456789abcdef",
|
|
"beside": [
|
|
{
|
|
"repository": "novox/mesh-sdk",
|
|
"commit": "fedcba9876543210fedcba9876543210fedcba98"
|
|
}
|
|
],
|
|
"packages": {
|
|
"git.novox.be/novox/mesh-sdk/go": "fedcba9876543210fedcba9876543210fedcba98"
|
|
}
|
|
},
|
|
"levels": [
|
|
"unit",
|
|
"integration"
|
|
],
|
|
"kept": true,
|
|
"toolchain": {
|
|
"language": "go",
|
|
"version": "1.26.0",
|
|
"recipe": "2"
|
|
},
|
|
"node-names": [
|
|
"ace",
|
|
"g14"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "a finished build step with its artifacts",
|
|
"of": "state:steps/<node>.<id>",
|
|
"given": {
|
|
"v": 1,
|
|
"id": "a1b2",
|
|
"tool": "build",
|
|
"node": "ace",
|
|
"state": "passed",
|
|
"started": "2026-11-05T10:00:00Z",
|
|
"ended": "2026-11-05T10:03:00Z",
|
|
"result": {
|
|
"artifacts": [
|
|
{
|
|
"artifact": "go",
|
|
"digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"reference": "container-image-registry/nats/go@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
}
|
|
],
|
|
"toolchain": {
|
|
"language": "go",
|
|
"version": "1.26.0",
|
|
"recipe": "1"
|
|
},
|
|
"imports": [
|
|
"git.novox.be/novox/mesh-sdk/go"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "a finished check step with its levels",
|
|
"of": "state:steps/<node>.<id>",
|
|
"given": {
|
|
"v": 1,
|
|
"id": "c3d4",
|
|
"tool": "check",
|
|
"node": "ace",
|
|
"state": "passed",
|
|
"started": "2026-11-05T10:00:00Z",
|
|
"ended": "2026-11-05T10:06:00Z",
|
|
"result": {
|
|
"fetch": {
|
|
"workspace": "mvii1iwu5414e4",
|
|
"commit": "0123456789abcdef0123456789abcdef01234567",
|
|
"modules": [
|
|
"."
|
|
],
|
|
"base": "abcdef0123456789abcdef0123456789abcdef01",
|
|
"merge": "fedcba9876543210fedcba9876543210fedcba98",
|
|
"changed": [
|
|
"a.go",
|
|
"modules/m/main.go"
|
|
],
|
|
"trees": {
|
|
"modules/m": {
|
|
"tree": "1111111111111111111111111111111111111111",
|
|
"manifest": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",
|
|
"locks": {
|
|
"go.sum": "c5fc83c01e92404452b986527d239140ccf9a48b88e0c268fbf38c2e1429e9c9"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"levels": [
|
|
{
|
|
"level": "unit",
|
|
"digest": {
|
|
"level": "unit",
|
|
"packages": [
|
|
{
|
|
"package": "./modules/a",
|
|
"digest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
}
|
|
]
|
|
},
|
|
"kept": [
|
|
{
|
|
"package": "./modules/a",
|
|
"digest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
"tests": 12
|
|
}
|
|
],
|
|
"tests": [
|
|
{
|
|
"package": "./modules/b",
|
|
"pass": true
|
|
}
|
|
],
|
|
"unmet": [
|
|
{
|
|
"package": "./modules/c",
|
|
"needs": [
|
|
"docker"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "a declined step",
|
|
"of": "state:steps/<node>.<id>",
|
|
"given": {
|
|
"v": 1,
|
|
"id": "c3d5",
|
|
"tool": "check",
|
|
"node": "ace",
|
|
"state": "refused",
|
|
"started": "2026-11-05T10:00:00Z",
|
|
"result": {
|
|
"declined": true,
|
|
"needs": [
|
|
"docker"
|
|
],
|
|
"lacks": [
|
|
"docker"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "a finished check step whose head does not merge",
|
|
"of": "state:steps/<node>.<id>",
|
|
"given": {
|
|
"v": 1,
|
|
"id": "c3d5",
|
|
"tool": "check",
|
|
"node": "ace",
|
|
"state": "passed",
|
|
"started": "2026-11-05T10:00:00Z",
|
|
"ended": "2026-11-05T10:01:00Z",
|
|
"result": {
|
|
"fetch": {
|
|
"workspace": "mvii1iwz5050eb",
|
|
"commit": "0123456789abcdef0123456789abcdef01234567",
|
|
"modules": [
|
|
"."
|
|
],
|
|
"base": "abcdef0123456789abcdef0123456789abcdef01",
|
|
"conflicts": [
|
|
"a.go",
|
|
"sub/b.go"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|