@rightkit/release 0.6.78 → 0.6.79

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.
@@ -543,16 +543,16 @@
543
543
  ]
544
544
  },
545
545
  "limitsMs": {
546
- "case1": 126000,
547
- "case2": 34000,
548
- "case3": 60000,
549
- "case4": 31000,
550
- "case5": 38000,
551
- "case6": 62000,
552
- "case7": 60000,
553
- "realBuild": null
546
+ "case1": 168000,
547
+ "case2": 49000,
548
+ "case3": 111000,
549
+ "case4": 46000,
550
+ "case5": 74000,
551
+ "case6": 96000,
552
+ "case7": 78000,
553
+ "realBuild": 421000
554
554
  },
555
- "limitsRule": "NN11 limits the gate's own time: a run's wall time less the time its broker jobs were in flight (the broker is shared with every other build on the host; Adrian, 2026-11-25, option b). Each limit is the worst own time of three full runs on the installed pair (accept-0675b, accept-0675c, accept-0677, 2026-11-25) x 1.25, and at least that time + 15 s, so a run under normal working load passes. One limit per case covers each of its unkilled runs; null means not yet measured, and NN11 fails while it is null.",
555
+ "limitsRule": "NN11 limits the gate's own time: a run's wall time less the time its broker jobs were in flight (the broker is shared with every other build on the host; Adrian, 2026-11-25, option b). Each limit is the worst own time of four full runs on the installed pairs of 2026-11-25 (accept-0675b, accept-0675c, accept-0677, accept-0678) x 1.5, and at least that time + 30 s: under the host's normal load the gate's own time of the same case moved up to 3x between runs (case 5 run 2: 9 s to 44 s, most of it before the gate's first line), so the limit catches a stall, not that spread. One limit per case covers each of its unkilled runs; the real build's limit is its worst own time of its two runs with a complete record (accept-0678: 281 s, accept-final2: 72 s) x 1.5, at least + 30 s; null means not yet measured, and NN11 fails while it is null.",
556
556
  "corrections": {
557
557
  "approved": "Adrian, 2026-11-24: \"Approve, keep going\" (to: C1, C4, the sidecar-build half of C2, and C3 tightened to an exact command list). Reviewed first by Gemini, which rejected C3 as first worded (\"in one command or split by target\" lets a gate always split) and the rk-sidecar half of C2.",
558
558
  "previousSha256": "e41bba2b2331adc866ed602f3ab3ecda27adb615d296e981f9a2310479b06bdc",
@@ -69,7 +69,10 @@ export function receiptsNameTheCommit(run, { skipNeverRan = false } = {}) {
69
69
  if (!j.verified) { fails.push(`${jobName(j)}: its receipt does not verify (${(j.problems ?? []).join("; ") || "no reason given"})`); continue; }
70
70
  if (j.gate?.commit !== run.commit) fails.push(`${jobName(j)} is signed for commit ${String(j.gate?.commit).slice(0, 12)}, not the selected ${String(run.commit).slice(0, 12)}`);
71
71
  if (!run.tree || j.gate?.tree !== run.tree) fails.push(`${jobName(j)} is signed for tree ${String(j.gate?.tree).slice(0, 12)}, not the selected commit's ${String(run.tree).slice(0, 12)}`);
72
- if (j.gate?.snapshotUnchanged !== true) fails.push(`${jobName(j)}: the broker did not sign that the snapshot was unchanged`);
72
+ // In the kill case a job the kill cancelled (owner lost) never reached its post-checks, so the broker cannot sign the snapshot unchanged; its commit and
73
+ // tree are still held above, and its outputs are never admitted. Seen when the kill landed after submission (final run, 2026-11-25).
74
+ const killedUnder = skipNeverRan && j.status === "CANCELLED" && j.postChecksRan === false && j.reaped === true;
75
+ if (j.gate?.snapshotUnchanged !== true && !killedUnder) fails.push(`${jobName(j)}: the broker did not sign that the snapshot was unchanged`);
73
76
  }
74
77
  return fails;
75
78
  }
@@ -114,7 +114,11 @@ export function exportWindowsProcesses(from, to, { run = execFileSync } = {}) {
114
114
  : { id: 4689, time: e.time, pid: hex(e.data.ProcessId), exe: e.data.ProcessName, exit: hex(e.data.Status) });
115
115
  const bad = events.filter((e) => !Number.isInteger(e.pid) || !Number.isFinite(Date.parse(e.time)) || (e.id === 4688 && !Number.isInteger(e.ppid)));
116
116
  if (bad.length) problems.push(`${bad.length} event(s) have no usable process id, parent or time`);
117
- if (events.some((e) => e.id === 4688 && (e.commandLine === null || e.commandLine === undefined))) problems.push("start events carry no command line (ProcessCreationIncludeCmdLine_Enabled is off)");
117
+ // A program started from a file always carries its command line when ProcessCreationIncludeCmdLine_Enabled is on. A process the kernel makes with no image
118
+ // file (vmmemWSL, vmmem, Registry, MemCompression: an image name with no path) never carries one, whoever started it: one such start on the host
119
+ // (WSL's memory process, started by another session) made the 0.6.78 real build's whole record "incomplete" (2026-11-25).
120
+ const noLine = events.filter((e) => e.id === 4688 && (e.commandLine === null || e.commandLine === undefined) && /[\\/]/.test(String(e.exe ?? "")));
121
+ if (noLine.length) problems.push(`${noLine.length} start event(s) of programs carry no command line (ProcessCreationIncludeCmdLine_Enabled is off?; first: ${noLine[0].exe})`);
118
122
  return { kind: "windows-security", from, to, newest: raw?.newest ?? null, continuous: raw?.continuous === true, events, problems };
119
123
  }
120
124
 
@@ -344,6 +344,8 @@ function jobOf(r) {
344
344
  file: r.file, verified: r.verified?.ok === true, problems: r.verified?.problems ?? [], jobId: p?.jobId ?? null, argv, cwd: typeof req?.workspace === "string" ? req.workspace : null,
345
345
  sub: argv ? cargoVerb(argv) : null, args: argv ? argv.slice(1) : [], gate: p?.gate ?? null, started, ended: timeOf(p?.terminalAt), submitted: Number.isFinite(started) ? started - waits : NaN, queueMs: Number.isFinite(t.queue) ? t.queue : null,
346
346
  testExecutables: p?.testExecutables, testExecutablesReason: p?.testExecutablesReason,
347
+ // The signed outcome: status, whether the post-checks ran, and whether the tree was reaped.
348
+ status: typeof p?.result?.status === "string" ? p.result.status : null, postChecksRan: p?.result?.postChecks?.ran ?? null, reaped: p?.result?.reap?.reaped === true,
347
349
  };
348
350
  }
349
351
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/release",
3
- "version": "0.6.78",
3
+ "version": "0.6.79",
4
4
  "description": "Portable release CLI/SDK with fail-closed public GitHub Releases and private R2 + RightApps distribution.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "type": "module",
@@ -49,7 +49,7 @@
49
49
  "@rightkit/qa": "0.7.0",
50
50
  "@rightkit/qa-chrome": "0.1.12",
51
51
  "@rightkit/react-shell": "0.7.8",
52
- "@rightkit/release": "0.6.78",
52
+ "@rightkit/release": "0.6.79",
53
53
  "@rightkit/send-ui": "0.1.0",
54
54
  "@rightkit/settings-ui": "0.7.5",
55
55
  "@rightkit/social-ui": "0.2.1",
@@ -438,7 +438,8 @@
438
438
  "0.6.57",
439
439
  "0.6.60",
440
440
  "0.6.61",
441
- "0.6.75"
441
+ "0.6.75",
442
+ "0.6.77"
442
443
  ],
443
444
  "@rightkit/settings-ui": [
444
445
  "0.1.0",
@@ -901,7 +902,7 @@
901
902
  "@rightkit/qa": "0.7.0",
902
903
  "@rightkit/qa-chrome": "0.1.12",
903
904
  "@rightkit/react-shell": "0.7.7",
904
- "@rightkit/release": "0.6.75",
905
+ "@rightkit/release": "0.6.78",
905
906
  "@rightkit/settings-ui": "0.7.4",
906
907
  "@rightkit/shell": "0.1.1",
907
908
  "@rightkit/tauri": "0.4.3",