@bakers-build/conductor 0.4.1-next.476 → 0.4.1-next.513
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -441,7 +441,7 @@ export class Conductor {
|
|
|
441
441
|
// server change is needed and no empty log is written.
|
|
442
442
|
const uploadedLog = (this.config.capture_logs ?? true) ? captured.log : '';
|
|
443
443
|
await this.remote.finalizeRun(r.runUuid, uploadedLog, captured.metrics);
|
|
444
|
-
this.logger.info({ run: r.runUuid, footprint: captured.metrics }, 'run finalised');
|
|
444
|
+
this.logger.info({ run: r.runUuid, state: r.state, footprint: captured.metrics }, 'run finalised');
|
|
445
445
|
}
|
|
446
446
|
catch (err) {
|
|
447
447
|
this.logger.warn({ run: r.runUuid, err: String(err) }, 'run finalise failed');
|
|
@@ -122,6 +122,8 @@ export interface ConductorStatus {
|
|
|
122
122
|
}
|
|
123
123
|
export interface FinalizableRun {
|
|
124
124
|
runUuid: string;
|
|
125
|
+
/** The run's terminal state; a `cancelled` run is stopped like a `done` one. */
|
|
126
|
+
state: 'done' | 'cancelled';
|
|
125
127
|
/** Numeric run id (the `#<runId>` tab-label token); scopes the run's tab-close at finalise (BB-183). */
|
|
126
128
|
runId: number;
|
|
127
129
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/conductor",
|
|
3
|
-
"version": "0.4.1-next.
|
|
3
|
+
"version": "0.4.1-next.513",
|
|
4
4
|
"description": "bakers.build conductor engine + CLI: registers, claims tickets via JSON:API, dispatches agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@dropsh/plugin-jsonapi-schema": "^0.8.2",
|
|
34
34
|
"@dropsh/plugin-oauth2": "^0.8.2",
|
|
35
|
-
"@bakers-build/core": "^0.4.1-next.
|
|
36
|
-
"@bakers-build/message": "^0.4.1-next.
|
|
35
|
+
"@bakers-build/core": "^0.4.1-next.513",
|
|
36
|
+
"@bakers-build/message": "^0.4.1-next.513",
|
|
37
37
|
"commander": "^12.1.0",
|
|
38
38
|
"dropsh": "^0.8.2"
|
|
39
39
|
}
|