looply-cli 0.5.51 → 0.5.52
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.
- package/dist/.src-hash +1 -1
- package/dist/account-connect.d.ts +2 -1
- package/dist/account-connect.d.ts.map +1 -1
- package/dist/account-connect.js.map +1 -1
- package/dist/adaptive-budget.d.ts +6 -0
- package/dist/adaptive-budget.d.ts.map +1 -1
- package/dist/adaptive-budget.js +9 -0
- package/dist/adaptive-budget.js.map +1 -1
- package/dist/base-check-turns.d.ts +38 -0
- package/dist/base-check-turns.d.ts.map +1 -0
- package/dist/base-check-turns.js +118 -0
- package/dist/base-check-turns.js.map +1 -0
- package/dist/bin.d.ts.map +1 -1
- package/dist/bin.js +32 -2
- package/dist/bin.js.map +1 -1
- package/dist/bug-repro.d.ts +13 -0
- package/dist/bug-repro.d.ts.map +1 -1
- package/dist/bug-repro.js +43 -1
- package/dist/bug-repro.js.map +1 -1
- package/dist/checkout-carry.d.ts +31 -0
- package/dist/checkout-carry.d.ts.map +1 -1
- package/dist/checkout-carry.js +98 -3
- package/dist/checkout-carry.js.map +1 -1
- package/dist/checkout-deps.d.ts +2 -0
- package/dist/checkout-deps.d.ts.map +1 -1
- package/dist/checkout-deps.js +2 -0
- package/dist/checkout-deps.js.map +1 -1
- package/dist/daemon-cmd.d.ts +1 -1
- package/dist/daemon-cmd.d.ts.map +1 -1
- package/dist/daemon-cmd.js +8 -1
- package/dist/daemon-cmd.js.map +1 -1
- package/dist/fresh-gates.d.ts.map +1 -1
- package/dist/fresh-gates.js +13 -0
- package/dist/fresh-gates.js.map +1 -1
- package/dist/gate-health.d.ts +2 -0
- package/dist/gate-health.d.ts.map +1 -1
- package/dist/gate-health.js +41 -4
- package/dist/gate-health.js.map +1 -1
- package/dist/goal-adaptive.d.ts +9 -0
- package/dist/goal-adaptive.d.ts.map +1 -1
- package/dist/goal-adaptive.js +32 -11
- package/dist/goal-adaptive.js.map +1 -1
- package/dist/integration-deps.d.ts.map +1 -1
- package/dist/integration-deps.js +18 -0
- package/dist/integration-deps.js.map +1 -1
- package/dist/machine-settings.d.ts +9 -0
- package/dist/machine-settings.d.ts.map +1 -1
- package/dist/machine-settings.js +35 -2
- package/dist/machine-settings.js.map +1 -1
- package/dist/output-gist.d.ts +40 -0
- package/dist/output-gist.d.ts.map +1 -0
- package/dist/output-gist.js +107 -0
- package/dist/output-gist.js.map +1 -0
- package/dist/plan-recovery.d.ts +14 -3
- package/dist/plan-recovery.d.ts.map +1 -1
- package/dist/plan-recovery.js +24 -6
- package/dist/plan-recovery.js.map +1 -1
- package/dist/provider-accounts.d.ts +0 -6
- package/dist/provider-accounts.d.ts.map +1 -1
- package/dist/provider-accounts.js +0 -6
- package/dist/provider-accounts.js.map +1 -1
- package/dist/quarantine-report.d.ts +32 -0
- package/dist/quarantine-report.d.ts.map +1 -0
- package/dist/quarantine-report.js +75 -0
- package/dist/quarantine-report.js.map +1 -0
- package/dist/round-runner.d.ts +13 -2
- package/dist/round-runner.d.ts.map +1 -1
- package/dist/round-runner.js +5 -1
- package/dist/round-runner.js.map +1 -1
- package/dist/run-cmd.d.ts.map +1 -1
- package/dist/run-cmd.js +44 -10
- package/dist/run-cmd.js.map +1 -1
- package/dist/self-update.d.ts.map +1 -1
- package/dist/self-update.js +5 -15
- package/dist/self-update.js.map +1 -1
- package/dist/serve-cmd.d.ts +9 -0
- package/dist/serve-cmd.d.ts.map +1 -1
- package/dist/serve-cmd.js +45 -1
- package/dist/serve-cmd.js.map +1 -1
- package/dist/serve-log.d.ts +52 -0
- package/dist/serve-log.d.ts.map +1 -0
- package/dist/serve-log.js +146 -0
- package/dist/serve-log.js.map +1 -0
- package/dist/serve.d.ts +7 -7
- package/dist/serve.d.ts.map +1 -1
- package/dist/serve.js +11 -15
- package/dist/serve.js.map +1 -1
- package/dist/server-client.d.ts +14 -2
- package/dist/server-client.d.ts.map +1 -1
- package/dist/server-client.js +12 -2
- package/dist/server-client.js.map +1 -1
- package/dist/setup-check-wiring.d.ts.map +1 -1
- package/dist/setup-check-wiring.js +17 -13
- package/dist/setup-check-wiring.js.map +1 -1
- package/dist/setup-check.d.ts.map +1 -1
- package/dist/setup-check.js +18 -1
- package/dist/setup-check.js.map +1 -1
- package/dist/steady-log.d.ts +48 -0
- package/dist/steady-log.d.ts.map +1 -0
- package/dist/steady-log.js +100 -0
- package/dist/steady-log.js.map +1 -0
- package/dist/verify-cmd.d.ts +0 -2
- package/dist/verify-cmd.d.ts.map +1 -1
- package/dist/verify-cmd.js +0 -5
- package/dist/verify-cmd.js.map +1 -1
- package/dist/workspace-builds.d.ts +153 -0
- package/dist/workspace-builds.d.ts.map +1 -0
- package/dist/workspace-builds.js +347 -0
- package/dist/workspace-builds.js.map +1 -0
- package/dist/workspace-quarantine.d.ts +36 -2
- package/dist/workspace-quarantine.d.ts.map +1 -1
- package/dist/workspace-quarantine.js +53 -0
- package/dist/workspace-quarantine.js.map +1 -1
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +11 -3
- package/dist/workspace.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* A STATE THAT HAS NOT CHANGED IS SAID ONCE.
|
|
4
|
+
*
|
|
5
|
+
* A daemon says what it sees on every pass, and some of what it sees does not
|
|
6
|
+
* change for weeks: a quarantined checkout, a command meant for another project,
|
|
7
|
+
* a grant that expired, a base check waiting for the day's room. Said on every
|
|
8
|
+
* pass, by 27 daemons under one supervisor, that made `serve.log` 744 MB in a
|
|
9
|
+
* month (measured 2026-11-16): 59,861 copies of one "leaving it queued" line,
|
|
10
|
+
* about 12,800 of each quarantined checkout's line, and the lines a person needed
|
|
11
|
+
* buried under them.
|
|
12
|
+
*
|
|
13
|
+
* So the lines that describe a STATE (not an event) go through this filter. Such
|
|
14
|
+
* a line is logged when it is first seen and whenever it changes (a different
|
|
15
|
+
* line on the same subject is a change), and after that at most once per
|
|
16
|
+
* `remindMs` (a day by default) as a reminder that says how long it has been so
|
|
17
|
+
* and how many times it was not repeated. Every other line passes untouched.
|
|
18
|
+
*
|
|
19
|
+
* ⚠️ THE WORDING STAYS. A suppressed line is never rewritten; a reminder is the
|
|
20
|
+
* same line with a suffix, so a search for the line finds the reminders too.
|
|
21
|
+
*
|
|
22
|
+
* ⚠️ ONE LIST, HERE. Which lines are states is decided by `STEADY_LINES` and
|
|
23
|
+
* nowhere else, so a new noisy line is one entry, not a patch at its call site.
|
|
24
|
+
*/
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.STEADY_MAX_SUBJECTS = exports.STEADY_REMIND_MS = exports.STEADY_LINES = void 0;
|
|
27
|
+
exports.steadyFor = steadyFor;
|
|
28
|
+
exports.steadyLog = steadyLog;
|
|
29
|
+
exports.STEADY_LINES = [
|
|
30
|
+
// `reaper.ts`: a checkout it made and keeps, per checkout. The reason may change (that is a change).
|
|
31
|
+
{ name: 'kept-checkout', pattern: /^daemon {2}: kept the checkout it made at (.+?) — /, subject: (m) => m[1] },
|
|
32
|
+
// `daemon-cmd.ts`: a command this daemon will not carry out, redelivered on every pass.
|
|
33
|
+
{ name: 'left-queued', pattern: /^daemon {2}: (.+?) — leaving it queued\.?$/, subject: (m) => m[1] },
|
|
34
|
+
// `autonomy-tick.ts`: a Start the controller could not reserve, and why.
|
|
35
|
+
{ name: 'start-not-reserved', pattern: /^autonomy: could not reserve a Start — /, subject: () => '' },
|
|
36
|
+
// `setup-check.ts`: why the base check waits. One subject: the reason moving between "no slot" and "no room" is a change.
|
|
37
|
+
{ name: 'base-check-waits', pattern: /^setup {3}: the base check waits — /, subject: () => '' },
|
|
38
|
+
// `setup-check.ts`: a part of the setup that is not ready (an origin that refuses, a missing remote), per part.
|
|
39
|
+
{ name: 'not-ready', pattern: /^setup {3}: (.+?) is not ready — /, subject: (m) => m[1] },
|
|
40
|
+
];
|
|
41
|
+
/** A day: a state that is still so is said again this often, so a log read in the morning still shows it. */
|
|
42
|
+
exports.STEADY_REMIND_MS = 24 * 60 * 60_000;
|
|
43
|
+
/** Subjects remembered at once; the oldest go first. Bounded so a long-running daemon's memory is too. */
|
|
44
|
+
exports.STEADY_MAX_SUBJECTS = 2_000;
|
|
45
|
+
/** `3 d 4 h`, `5 h 12 min`, `40 min`: how long a state has been so. */
|
|
46
|
+
function steadyFor(ms) {
|
|
47
|
+
const min = Math.max(0, Math.floor(ms / 60_000));
|
|
48
|
+
const d = Math.floor(min / 1440);
|
|
49
|
+
const h = Math.floor((min % 1440) / 60);
|
|
50
|
+
const m = min % 60;
|
|
51
|
+
if (d > 0)
|
|
52
|
+
return `${d} d${h > 0 ? ` ${h} h` : ''}`;
|
|
53
|
+
if (h > 0)
|
|
54
|
+
return `${h} h${m > 0 ? ` ${m} min` : ''}`;
|
|
55
|
+
return `${m} min`;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Wrap a log so the state lines in `rules` are said once, again on a change, and then at most once per
|
|
59
|
+
* `remindMs` with how long they have been so. Never throws on a line; a line no rule names passes as it is.
|
|
60
|
+
*/
|
|
61
|
+
function steadyLog(log, opts = {}) {
|
|
62
|
+
const now = opts.now ?? Date.now;
|
|
63
|
+
const remindMs = opts.remindMs ?? exports.STEADY_REMIND_MS;
|
|
64
|
+
const rules = opts.rules ?? exports.STEADY_LINES;
|
|
65
|
+
const max = opts.maxSubjects ?? exports.STEADY_MAX_SUBJECTS;
|
|
66
|
+
const seen = new Map();
|
|
67
|
+
return (line) => {
|
|
68
|
+
let key = null;
|
|
69
|
+
for (const r of rules) {
|
|
70
|
+
const m = r.pattern.exec(line);
|
|
71
|
+
if (m !== null) {
|
|
72
|
+
key = `${r.name}\u0000${r.subject(m)}`;
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
if (key === null) {
|
|
77
|
+
log(line);
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const t = now();
|
|
81
|
+
const was = seen.get(key);
|
|
82
|
+
if (was === undefined || was.line !== line) {
|
|
83
|
+
// First seen, or changed: said now, as it is.
|
|
84
|
+
seen.delete(key);
|
|
85
|
+
seen.set(key, { line, since: t, said: t, quiet: 0 });
|
|
86
|
+
if (seen.size > max)
|
|
87
|
+
seen.delete(seen.keys().next().value);
|
|
88
|
+
log(line);
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (t - was.said < remindMs) {
|
|
92
|
+
was.quiet += 1;
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
log(`${line} [unchanged for ${steadyFor(t - was.since)}; not repeated ${was.quiet} time${was.quiet === 1 ? '' : 's'}]`);
|
|
96
|
+
was.said = t;
|
|
97
|
+
was.quiet = 0;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=steady-log.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steady-log.js","sourceRoot":"","sources":["../src/steady-log.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;;AAuCH,8BAQC;AAMD,8BAwCC;AAnFY,QAAA,YAAY,GAA0B;IACjD,qGAAqG;IACrG,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,oDAAoD,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAE,EAAE;IAC/G,wFAAwF;IACxF,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,4CAA4C,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAE,EAAE;IACrG,yEAAyE;IACzE,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,EAAE,yCAAyC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE;IACrG,0HAA0H;IAC1H,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,qCAAqC,EAAE,OAAO,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rE,GAAG,CAAC,IAAI,CAAC,CAAC;YACV,OAAO;QACT,CAAC;QACD,IAAI,CAAC,GAAG,GAAG,CAAC,IAAI,GAAG,QAAQ,EAAE,CAAC;YAC5B,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC;YACf,OAAO;QACT,CAAC;QACD,GAAG,CAAC,GAAG,IAAI,mBAAmB,SAAS,CAAC,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,kBAAkB,GAAG,CAAC,KAAK,QAAQ,GAAG,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;QACxH,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC;QACb,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/verify-cmd.d.ts
CHANGED
|
@@ -45,8 +45,6 @@ export declare function verifierTierFor(timeouts: number): {
|
|
|
45
45
|
timeoutMs: number;
|
|
46
46
|
maxPerRun: number;
|
|
47
47
|
};
|
|
48
|
-
/** The key a goal version's timed-out STEP CHECKS are counted under (`planner-timeouts.ts`). */
|
|
49
|
-
export declare function verifyTimeoutKey(goalId: string, version: number): string;
|
|
50
48
|
export declare function makeItemVerifier(agent: AgentInvoke, queue: Pick<VerifyPassQueue, 'list'>, timeoutMs?: number): (item: Item) => Promise<VerifyOutcome>;
|
|
51
49
|
export interface VerifyOptions {
|
|
52
50
|
cwd: string;
|
package/dist/verify-cmd.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-cmd.d.ts","sourceRoot":"","sources":["../src/verify-cmd.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAO7C,OAAO,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AAW,EAClB,KAAK,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,EACpC,SAAS,GAAE,MAA4B,GACtC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,aAAa,CAAC,CAaxC;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,YAAY,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7B;AAED,wBAAsB,aAAa,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAwBlF"}
|
package/dist/verify-cmd.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERIFIER_TIMEOUT_TIERS_MS = exports.VERIFY_MAX_PER_RUN = exports.VERIFIER_TIMEOUT_MS = void 0;
|
|
4
4
|
exports.verifierTierFor = verifierTierFor;
|
|
5
|
-
exports.verifyTimeoutKey = verifyTimeoutKey;
|
|
6
5
|
exports.makeItemVerifier = makeItemVerifier;
|
|
7
6
|
exports.verifyCommand = verifyCommand;
|
|
8
7
|
const node_path_1 = require("node:path");
|
|
@@ -59,10 +58,6 @@ function verifierTierFor(timeouts) {
|
|
|
59
58
|
const timeoutMs = exports.VERIFIER_TIMEOUT_TIERS_MS[Math.min(Math.max(0, timeouts), exports.VERIFIER_TIMEOUT_TIERS_MS.length - 1)];
|
|
60
59
|
return { timeoutMs, maxPerRun: Math.max(1, Math.floor((exports.VERIFY_MAX_PER_RUN * exports.VERIFIER_TIMEOUT_MS) / timeoutMs)) };
|
|
61
60
|
}
|
|
62
|
-
/** The key a goal version's timed-out STEP CHECKS are counted under (`planner-timeouts.ts`). */
|
|
63
|
-
function verifyTimeoutKey(goalId, version) {
|
|
64
|
-
return `${goalId}@${version}#verify`;
|
|
65
|
-
}
|
|
66
61
|
function makeItemVerifier(agent, queue, timeoutMs = exports.VERIFIER_TIMEOUT_MS) {
|
|
67
62
|
return async (item) => {
|
|
68
63
|
const others = queue
|
package/dist/verify-cmd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-cmd.js","sourceRoot":"","sources":["../src/verify-cmd.ts"],"names":[],"mappings":";;;AA0DA,0CAGC;
|
|
1
|
+
{"version":3,"file":"verify-cmd.js","sourceRoot":"","sources":["../src/verify-cmd.ts"],"names":[],"mappings":";;;AA0DA,0CAGC;AAED,4CAiBC;AASD,sCAwBC;AAjHD,yCAAiC;AAGjC,uDAA4D;AAC5D,2CAA2C;AAE3C,qDAAiD;AACjD,6CAAiE;AACjE,iDAA2D;AAC3D,+CAA2C;AAC3C,iCAAoC;AACpC,qDAAmE;AACnE,yCAA8E;AAC9E,+CAA0F;AAC1F,2DAA0D;AAE1D;;;;GAIG;AAEU,QAAA,mBAAmB,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AAEjD;;;;;;;;;;;;;;;GAeG;AACU,QAAA,kBAAkB,GAAG,CAAC,CAAC;AAEpC;;;;;;GAMG;AACH;;;;;;GAMG;AACU,QAAA,yBAAyB,GAAsB,CAAC,2BAAmB,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;AAElH,SAAgB,eAAe,CAAC,QAAgB;IAC9C,MAAM,SAAS,GAAG,iCAAyB,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,iCAAyB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAE,CAAC;IACpH,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,0BAAkB,GAAG,2BAAmB,CAAC,GAAG,SAAS,CAAC,CAAC,EAAE,C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C;QAChC,KAAK;QACL,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC;QACtC,QAAQ,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC;QACtD,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE;QAC5B,SAAS,EAAE,IAAI,EAAE,SAAS,IAAI,MAAM,CAAC,OAAO,CAAC,EAAE,IAAI,OAAO;QAC1D,GAAG,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;QACrB,SAAS,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE;YAC3B,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;YAC1G,GAAG,CAAC,aAAa,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;QAChE,CAAC;KACF,EAAE,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAEpD,MAAM,IAAI,EAAE,IAAI,EAAE,CAAC;IACnB,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { type GateStepResult } from '@looply/core';
|
|
2
|
+
import type { CommandResult, CommandRunner, StepSpec } from './gate';
|
|
3
|
+
/**
|
|
4
|
+
* A CHECKOUT WHOSE WORKSPACE PACKAGES ARE NOT BUILT BUILDS THEM BEFORE ITS CHECKS.
|
|
5
|
+
*
|
|
6
|
+
* ─────────────────────────────────────────────────────────────────────────────
|
|
7
|
+
* 🔴 LOOPLY'S OWN REPOSITORY (LOO-B-7…10, 2026-11). `@looply/core` declares its entry points in
|
|
8
|
+
* `dist/` (`main`, `types`, `exports`), `dist/` is git-ignored build output, and nothing built it in
|
|
9
|
+
* a machine-made checkout. So even with the workspace link in place (`checkout-carry.ts`), the
|
|
10
|
+
* typecheck gate of the package that imports it could not resolve one type from it, and the
|
|
11
|
+
* unchanged base was held as red. Every monorepo whose packages are consumed through their build
|
|
12
|
+
* output meets exactly this in a fresh checkout.
|
|
13
|
+
*
|
|
14
|
+
* THE RULE, and why it is this narrow — each part is a fact read from the checkout, none a guess:
|
|
15
|
+
*
|
|
16
|
+
* 1. THE WORKSPACE IS WHAT THE REPOSITORY DECLARES: the root `package.json` `workspaces` (a list,
|
|
17
|
+
* or `{ packages: [...] }`), or `pnpm-workspace.yaml` `packages:`. A pattern is a folder
|
|
18
|
+
* (`packages/core`) or one level of folders (`packages/*`); `!` excludes; anything wider
|
|
19
|
+
* (`**`, braces, `..`, absolute) is not expanded — a package this cannot name is not built.
|
|
20
|
+
* 2. ONLY A PACKAGE SOMETHING DEPENDS ON: another workspace package, or the root, names it in
|
|
21
|
+
* `dependencies`, `devDependencies`, `peerDependencies` or `optionalDependencies`. Nothing can
|
|
22
|
+
* import a package through `node_modules` that nobody depends on (an app, a site), so nothing
|
|
23
|
+
* a check runs can need it built.
|
|
24
|
+
* 3. ONLY WHEN WHAT IT DECLARES IS NOT THERE: one of `main`, `types`, `typings` or a file target
|
|
25
|
+
* of `exports` (no `*` patterns) does not exist in the checkout. A package that points at its
|
|
26
|
+
* sources, or that is already built (the carry copied it, a person built it), is left alone.
|
|
27
|
+
* 4. BUILT BY ITS OWN `build` SCRIPT, `cd <dir> && npm run build` — or, when it has none and the
|
|
28
|
+
* root has one, the root's, once. No `build` script anywhere: nothing is run; what to build is
|
|
29
|
+
* not this product's call. `npm run` because it runs any package.json script and is on every
|
|
30
|
+
* machine with Node; no install, no registry.
|
|
31
|
+
* 5. IN DEPENDENCY ORDER: a package after the workspace packages it depends on.
|
|
32
|
+
*
|
|
33
|
+
* - CONTAINED, like a gate: the build runs with the checkout's gate runner, in its sandbox and
|
|
34
|
+
* with NO network — it is the repository's own code, which its checks run anyway.
|
|
35
|
+
* - BEFORE THE CHECKS of a fresh checkout or a goal's first round (`checkout-deps.ts` installs
|
|
36
|
+
* first, then this), a failed build is said, with the gist of the build's own output
|
|
37
|
+
* (`output-gist.ts`), as a machine fault the goal waits on — "… — so the environment is
|
|
38
|
+
* unavailable, not the change", the clause `classifyEnvironment` reads — never as a red base:
|
|
39
|
+
* no change has been made yet.
|
|
40
|
+
*
|
|
41
|
+
* ─────────────────────────────────────────────────────────────────────────────
|
|
42
|
+
* 🔴 AND AGAIN WHEN A ROUND CHANGES WHAT WAS BUILT (owner ruling 2026-11-16). Built once, a round
|
|
43
|
+
* that changed `packages/core/src` had the CLI's typecheck read the OLD `dist/` types: a new export
|
|
44
|
+
* the change added was "missing", and an export it removed was still there — the change judged on
|
|
45
|
+
* code it did not contain.
|
|
46
|
+
*
|
|
47
|
+
* 6. WHAT LOOPLY BUILT IS RECORDED, in the checkout itself (`BUILD_RECORD`, under the checkout's
|
|
48
|
+
* own git-ignored `node_modules`, deleted with it): each package's folder hashed by CONTENT
|
|
49
|
+
* (every file but `node_modules` and `.git`, path and bytes) right after its build, so the
|
|
50
|
+
* hash includes what the build wrote. A package Looply never built has no record and is never
|
|
51
|
+
* rebuilt by this — it was built by a person or carried, and what made it is not known here.
|
|
52
|
+
* 7. BEFORE EVERY ROUND'S CHECKS, and before the checks a goal runs again at its head, a recorded
|
|
53
|
+
* package whose folder no longer hashes the same is built again — the round changed its
|
|
54
|
+
* sources, or a discarded round's revert changed them back — and so is every recorded
|
|
55
|
+
* package that depends on one being built, after it (rule 5). Never from timestamps.
|
|
56
|
+
* 8. A PACKAGE NOBODY CHANGED COSTS NOTHING: the plan is read and hashed on the host; no step is
|
|
57
|
+
* added, no sandbox is started. One that changed costs one build per round.
|
|
58
|
+
* 9. THE REBUILD IS A STEP OF THE ROUND'S GATE, ahead of the configured ones (`rebuildSteps`), so
|
|
59
|
+
* the gate's own rule tells its two failures apart: a build that RAN and failed is the
|
|
60
|
+
* change's — the gate is red, with the build's output as the round's evidence — and a build
|
|
61
|
+
* that could not run at all (no contained toolchain, the sandbox refused it, a command that is
|
|
62
|
+
* not there) is `blocked`, the environment's, and spends no attempt. The integration lane and
|
|
63
|
+
* the fresh checks before delivery tell them apart the same way (`unavailable`).
|
|
64
|
+
* ─────────────────────────────────────────────────────────────────────────────
|
|
65
|
+
*/
|
|
66
|
+
export interface BuildFs {
|
|
67
|
+
/** A file's text, or null. Relative to the checkout. */
|
|
68
|
+
readFile(path: string): string | null;
|
|
69
|
+
/** The folders directly inside `dir` (relative to the checkout), or [] when it has none. */
|
|
70
|
+
listDirs?(dir: string): string[];
|
|
71
|
+
}
|
|
72
|
+
export interface WorkspacePackage {
|
|
73
|
+
/** Its folder, relative to the checkout, with `/`. */
|
|
74
|
+
readonly dir: string;
|
|
75
|
+
readonly name: string;
|
|
76
|
+
readonly pkg: Record<string, unknown>;
|
|
77
|
+
}
|
|
78
|
+
export interface BuildStep {
|
|
79
|
+
/** The folder the build runs in ('' for the root). */
|
|
80
|
+
readonly dir: string;
|
|
81
|
+
/** The packages this build is for. */
|
|
82
|
+
readonly packages: readonly string[];
|
|
83
|
+
/** Their folders, which the build record hashes once it succeeds (rule 6). */
|
|
84
|
+
readonly dirs: readonly string[];
|
|
85
|
+
/** The declared entry points that are not there, `dir/path`. */
|
|
86
|
+
readonly missing: readonly string[];
|
|
87
|
+
/** Why it is built, in words for the log: what is not there, or what changed (rule 7). */
|
|
88
|
+
readonly why: string;
|
|
89
|
+
readonly cmd: string;
|
|
90
|
+
}
|
|
91
|
+
/** Where a checkout records what Looply built in it (rule 6): its own git-ignored node_modules. */
|
|
92
|
+
export declare const BUILD_RECORD = "node_modules/.cache/looply/workspace-builds.json";
|
|
93
|
+
/** A package folder's content, hashed: every file's path and bytes, but `node_modules` and `.git` (rule 6). */
|
|
94
|
+
export declare function packageHash(checkout: string, dir: string): string;
|
|
95
|
+
/** Record a successful build (rule 6). A record that cannot be written only costs a rebuild later. */
|
|
96
|
+
export declare function recordBuilt(checkout: string, step: Pick<BuildStep, 'packages' | 'dirs'>): void;
|
|
97
|
+
/** A cold `tsc -b` of a large package takes a minute or two; ten is room, not a target. */
|
|
98
|
+
export declare const BUILD_TIMEOUT_MS: number;
|
|
99
|
+
/** The workspace patterns the repository declares (rule 1). */
|
|
100
|
+
export declare function workspacePatterns(fs: BuildFs): string[];
|
|
101
|
+
/** The workspace's packages: each declared folder that has a `package.json` with a name. */
|
|
102
|
+
export declare function workspacePackages(fs: BuildFs): WorkspacePackage[];
|
|
103
|
+
/** The entry points a package declares that its folder does not have (rule 3). */
|
|
104
|
+
export declare function missingEntries(p: WorkspacePackage, fs: BuildFs): string[];
|
|
105
|
+
/**
|
|
106
|
+
* Every build the checks need, in dependency order (rules 2–5). With `checkout`, also every package
|
|
107
|
+
* Looply built there whose folder no longer hashes as recorded, and every recorded package that
|
|
108
|
+
* depends on one being built (rules 6–7).
|
|
109
|
+
*/
|
|
110
|
+
export declare function workspaceBuildPlan(fs: BuildFs, checkout?: string): BuildStep[];
|
|
111
|
+
/** A build as a step of a round's gate (rule 9). Not `required`: it is not one of the repository's checks. */
|
|
112
|
+
export declare const buildStepName: (step: Pick<BuildStep, "packages">) => string;
|
|
113
|
+
/**
|
|
114
|
+
* THE REBUILDS A ROUND'S GATE RUNS FIRST (rules 7–9). `before` is asked right before a gate runs and
|
|
115
|
+
* answers [] when nothing Looply built has changed — then nothing is run at all. `after` is given
|
|
116
|
+
* the gate's step results and records each build that passed, hashed as the build left it.
|
|
117
|
+
*/
|
|
118
|
+
export declare function workspaceRebuilds(checkout: string, fs: BuildFs, log?: (line: string) => void): {
|
|
119
|
+
before(): StepSpec[];
|
|
120
|
+
after(results: readonly Pick<GateStepResult, 'step' | 'ok' | 'skipped'>[] | readonly GateStepResult[]): void;
|
|
121
|
+
};
|
|
122
|
+
/** `BuildFs.listDirs` for a folder on disk (`checkoutDepsFs`, `projectFs`). Links are not followed into. */
|
|
123
|
+
export declare function listDirsIn(root: string): (dir: string) => string[];
|
|
124
|
+
export type BuildOutcome = {
|
|
125
|
+
kind: 'nothing';
|
|
126
|
+
} | {
|
|
127
|
+
kind: 'built';
|
|
128
|
+
packages: string[];
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* `unavailable`: the build could not run at all (no contained toolchain, the sandbox refused it, a
|
|
132
|
+
* command that is not there) — the machine's. Otherwise it ran and failed: the code's (rule 9).
|
|
133
|
+
*/
|
|
134
|
+
| {
|
|
135
|
+
kind: 'failed';
|
|
136
|
+
because: string;
|
|
137
|
+
unavailable: boolean;
|
|
138
|
+
failure: string;
|
|
139
|
+
};
|
|
140
|
+
/** Whether a failed build never ran: the gate's own rule for a step that could not run (`gate.ts`). */
|
|
141
|
+
export declare function buildCouldNotRun(r: Pick<CommandResult, 'ok' | 'unavailable' | 'timedOut' | 'output' | 'exitCode'>): boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Build what the plan says, in order. `runner` is the checkout's contained gate runner (no network).
|
|
144
|
+
* The first build that fails ends it: what depends on it could not be checked anyway.
|
|
145
|
+
*/
|
|
146
|
+
export declare function buildWorkspacePackages(input: {
|
|
147
|
+
plan: readonly BuildStep[];
|
|
148
|
+
runner: CommandRunner;
|
|
149
|
+
log: (line: string) => void;
|
|
150
|
+
/** The checkout, when what is built there should be recorded for later rebuilds (rule 6). */
|
|
151
|
+
checkout?: string;
|
|
152
|
+
}): Promise<BuildOutcome>;
|
|
153
|
+
//# sourceMappingURL=workspace-builds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-builds.d.ts","sourceRoot":"","sources":["../src/workspace-builds.ts"],"names":[],"mappings":"AA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