G1, D0: seat readers decode tolerantly and say their form
The seat generator gives every value, event and answer the wire field form (left out while 1) and a tolerant decoder answering the form it read; each contract carries its forms and a digest of its fields, and the compare fails a definition whose fields changed while its form did not. Every delivery seat is regenerated, and the readers take the form. Builds: design 47 H2 §780; H-A-352
This commit is contained in:
@@ -33,6 +33,8 @@ export interface AskTaken {
|
||||
"ask": string;
|
||||
"asker": string;
|
||||
"at": string;
|
||||
/** is the form of what this value carries, left out while it is 1 (design 47 H2 §780). */
|
||||
"form"?: number;
|
||||
/** the node that took it, as in the subject */
|
||||
"node": string;
|
||||
}
|
||||
@@ -429,6 +431,8 @@ export interface StepEnded {
|
||||
"commit"?: string;
|
||||
"ended"?: string;
|
||||
"fingerprint"?: string;
|
||||
/** is the form of what this value carries, left out while it is 1 (design 47 H2 §780). */
|
||||
"form"?: number;
|
||||
/** the ask's id */
|
||||
"id": string;
|
||||
/** the packages that passed at their digest, for the runner to keep */
|
||||
@@ -458,6 +462,8 @@ export interface StepProgress {
|
||||
"ask": string;
|
||||
"asker": string;
|
||||
"at": string;
|
||||
/** is the form of what this value carries, left out while it is 1 (design 47 H2 §780). */
|
||||
"form"?: number;
|
||||
"phase": "fetch" | "build" | "run" | "report";
|
||||
}
|
||||
|
||||
@@ -554,6 +560,8 @@ export interface Toolchain {
|
||||
export interface ToolchainReported {
|
||||
/** the digest of the program of the provision the build module requires for that language's toolchain, never the build module's own */
|
||||
"digest": string;
|
||||
/** is the form of what this value carries, left out while it is 1 (design 47 H2 §780). */
|
||||
"form"?: number;
|
||||
"language": string;
|
||||
"node": string;
|
||||
"recipe": string;
|
||||
@@ -619,6 +627,8 @@ export interface KeptArtifactAnswer {
|
||||
"digest"?: string;
|
||||
/** why it could not answer */
|
||||
"error"?: string;
|
||||
/** is the form of what this value carries, left out while it is 1 (design 47 H2 §780). */
|
||||
"form"?: number;
|
||||
/** the fingerprint asked */
|
||||
"fp": string;
|
||||
/** the module asked */
|
||||
@@ -658,6 +668,8 @@ export interface StepsAnswer {
|
||||
/** why a drop deleted nothing, naming the hand-act log when it refused */
|
||||
"error"?: string;
|
||||
"fingerprint"?: string;
|
||||
/** is the form of what this value carries, left out while it is 1 (design 47 H2 §780). */
|
||||
"form"?: number;
|
||||
/** answered from the kept answer */
|
||||
"kept"?: boolean;
|
||||
"steps"?: DetectedStep[];
|
||||
@@ -677,6 +689,8 @@ export interface OutputAnswer {
|
||||
"ask": string;
|
||||
/** how many chunks are sent; 0 when this node keeps no answer of that ask */
|
||||
"chunks": number;
|
||||
/** is the form of what this value carries, left out while it is 1 (design 47 H2 §780). */
|
||||
"form"?: number;
|
||||
}
|
||||
|
||||
/** is the body of the event step-ended. */
|
||||
|
||||
Reference in New Issue
Block a user