Files
mesh-delivery/contracts/ts/seats/meshbuilds/index.js
T
jschoubben 009c4c6e73 A-97: the seat mesh-builds accepts the build step and says its end
The accepted kind step (body StepRun: the pipeline, the branch, the source revision and each entry by module and
fingerprint) and the event step-ended.<node> (StepEnded: the same entries, the outcome), as mesh-wants has for its
composition step.

Builds: design 47 G A-97 (§230, §194, §473)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 00:04:41 +01:00

41 lines
1.3 KiB
JavaScript

// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// The contract of the seat "mesh-builds", defined whole (seats/mesh-builds/seat.json): The builder's seat: it says each artifact it published and each agreed toolchain, and answers a module's reserved version. Held once for the mesh (design 47 G section 52, section 307).
export const seat = "mesh-builds";
export const verbs = {
reserved: "reserved",
};
export const accepts = {
step: "step",
};
export const events = {
packagePublished: "package-published",
toolchainAgreed: "toolchain-agreed",
stepEnded: "step-ended",
};
export const family = { name: "mesh-builds.events", maxAgeDays: 7 };
export const packagePublishedStream = "SEAT_mesh-builds_package-published";
export const packagePublishedSubject = "mesh.seat.mesh-builds.event.package-published";
export const toolchainAgreedStream = "SEAT_mesh-builds_toolchain-agreed";
export const toolchainAgreedSubject = "mesh.seat.mesh-builds.event.toolchain-agreed";
export const stepEndedStream = "SEAT_mesh-builds_step-ended";
export function stepEndedSubject(node) {
return "mesh.seat.mesh-builds.event.step-ended." + node;
}
export const stepEndedSubjectAll = "mesh.seat.mesh-builds.event.step-ended.*";
export const stepSubject = "mesh.seat.mesh-builds.accept.step";