@telorun/cli 0.77.0 → 0.78.0
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.
|
@@ -22,6 +22,12 @@
|
|
|
22
22
|
* so its published manifest is *derived* — recursively, through this same
|
|
23
23
|
* builder — which is what lets a whole release batch be planned offline, with
|
|
24
24
|
* post-bump versions the registry has never seen.
|
|
25
|
+
* 4. **The derived manifest was not the published one.** The `layers:` index was
|
|
26
|
+
* injected during the push, so what this builder returned was a document no
|
|
27
|
+
* registry ever holds — and a sibling pin, being a hash of it, named bytes
|
|
28
|
+
* that do not exist. The index is written here now, which is what makes
|
|
29
|
+
* `publishedManifest()` true to its name and requires layer framing to be a
|
|
30
|
+
* pure function of the files it covers.
|
|
25
31
|
*
|
|
26
32
|
* The publish destination stays an input, because canonicalization writes it
|
|
27
33
|
* into the manifest. It is not derivable, so the ledger records which base its
|
|
@@ -39,7 +45,9 @@ export interface BuiltLayer {
|
|
|
39
45
|
files: PayloadFile[];
|
|
40
46
|
}
|
|
41
47
|
export interface ModulePayload {
|
|
42
|
-
/** The `telo.yaml` that ships: canonicalized, pinned, includes
|
|
48
|
+
/** The `telo.yaml` that ships, byte for byte: canonicalized, pinned, includes
|
|
49
|
+
* inlined, `layers:` index written. A dependent's import pin is a hash of
|
|
50
|
+
* exactly this. */
|
|
43
51
|
readonly manifest: string;
|
|
44
52
|
readonly layers: BuiltLayer[];
|
|
45
53
|
readonly partition: Partition;
|
|
@@ -96,14 +104,15 @@ export interface PayloadBuilderOptions {
|
|
|
96
104
|
* Memoized because a release digests every module in a workspace and the
|
|
97
105
|
* standard library's import graph is dense — `modules/sql`'s published manifest
|
|
98
106
|
* is needed by five dependents to derive their pins, and re-deriving it per
|
|
99
|
-
* dependent would rebuild its controller each time.
|
|
107
|
+
* dependent would rebuild its controller each time. One memo, not two: a
|
|
108
|
+
* module's published manifest carries its `layers:` index, so producing the
|
|
109
|
+
* text and producing the payload are the same computation.
|
|
100
110
|
*/
|
|
101
111
|
export declare class ModulePayloadBuilder {
|
|
102
112
|
private readonly options;
|
|
103
|
-
private readonly manifests;
|
|
104
113
|
private readonly payloads;
|
|
105
|
-
/** Manifest paths
|
|
106
|
-
* rather than
|
|
114
|
+
/** Manifest paths whose payload is in flight, so an import cycle is reported
|
|
115
|
+
* rather than deadlocking on a memo entry that is awaiting itself. */
|
|
107
116
|
private readonly deriving;
|
|
108
117
|
/**
|
|
109
118
|
* Where each manifest publishes.
|
|
@@ -140,12 +149,23 @@ export declare class ModulePayloadBuilder {
|
|
|
140
149
|
manifestPath: string;
|
|
141
150
|
ref: string;
|
|
142
151
|
}[]>;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
152
|
+
/**
|
|
153
|
+
* The published `telo.yaml` text — byte for byte what the transport pushes,
|
|
154
|
+
* which is what a dependent hashes to derive its pin.
|
|
155
|
+
*
|
|
156
|
+
* It builds the module's layers, because the `layers:` index is inside that
|
|
157
|
+
* text and each entry's `blob` covers framed bytes. Deriving the manifest
|
|
158
|
+
* alone was cheaper and wrong: the number it produced was of a document that
|
|
159
|
+
* is never published.
|
|
160
|
+
*/
|
|
145
161
|
publishedManifest(manifestPath: string): Promise<string>;
|
|
162
|
+
private assertNotDeriving;
|
|
146
163
|
private claimDestination;
|
|
147
164
|
private destinationOf;
|
|
148
|
-
|
|
165
|
+
/** The transport that owns where this manifest publishes. It decides both the
|
|
166
|
+
* ref a sibling import canonicalizes to and the framing a layer's `blob`
|
|
167
|
+
* digest covers, so both halves of the published manifest come from one. */
|
|
168
|
+
private transportFor;
|
|
149
169
|
/**
|
|
150
170
|
* Canonicalize, pin and inline — every rewrite that stands between the
|
|
151
171
|
* author's `telo.yaml` and the published one.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-payload.d.ts","sourceRoot":"","sources":["../../src/bundle/module-payload.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"module-payload.d.ts","sourceRoot":"","sources":["../../src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M,CAAC;CAC5B;AAED;;;;;;;;;GASG;AACH,qBAAa,oBAAoB;IA0BnB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAzBpC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA6C;IACtE;2EACuE;IACvE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA6B;gBAE7B,OAAO,EAAE,qBAAqB;IAErD,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAehF;;;;;;;;;OASG;IACG,iBAAiB,CACrB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,SAAS;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAM5D;;;;;;;;OAQG;IACG,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAK9D,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,aAAa;IAQrB;;iFAE6E;IAC7E,OAAO,CAAC,YAAY;IASpB;;;OAGG;YACW,iBAAiB;YAkEjB,WAAW;YAKX,YAAY;CAyF3B"}
|
|
@@ -22,13 +22,19 @@
|
|
|
22
22
|
* so its published manifest is *derived* — recursively, through this same
|
|
23
23
|
* builder — which is what lets a whole release batch be planned offline, with
|
|
24
24
|
* post-bump versions the registry has never seen.
|
|
25
|
+
* 4. **The derived manifest was not the published one.** The `layers:` index was
|
|
26
|
+
* injected during the push, so what this builder returned was a document no
|
|
27
|
+
* registry ever holds — and a sibling pin, being a hash of it, named bytes
|
|
28
|
+
* that do not exist. The index is written here now, which is what makes
|
|
29
|
+
* `publishedManifest()` true to its name and requires layer framing to be a
|
|
30
|
+
* pure function of the files it covers.
|
|
25
31
|
*
|
|
26
32
|
* The publish destination stays an input, because canonicalization writes it
|
|
27
33
|
* into the manifest. It is not derivable, so the ledger records which base its
|
|
28
34
|
* digests were taken against.
|
|
29
35
|
*/
|
|
30
36
|
import { collectModuleFileClaims, DEFAULT_MANIFEST_FILENAME, sha256Base64Url, splitIntegrity, } from "@telorun/analyzer";
|
|
31
|
-
import { buildControllerBundle, defaultTransportRegistry, readOwnerManifest, } from "@telorun/kernel";
|
|
37
|
+
import { buildControllerBundle, defaultTransportRegistry, injectLayerIndex, readOwnerManifest, } from "@telorun/kernel";
|
|
32
38
|
import { defaultCustomTags } from "@telorun/templating";
|
|
33
39
|
import * as fs from "node:fs";
|
|
34
40
|
import * as path from "node:path";
|
|
@@ -43,14 +49,15 @@ import { assertWithinModule, selectFiles } from "./select-files.js";
|
|
|
43
49
|
* Memoized because a release digests every module in a workspace and the
|
|
44
50
|
* standard library's import graph is dense — `modules/sql`'s published manifest
|
|
45
51
|
* is needed by five dependents to derive their pins, and re-deriving it per
|
|
46
|
-
* dependent would rebuild its controller each time.
|
|
52
|
+
* dependent would rebuild its controller each time. One memo, not two: a
|
|
53
|
+
* module's published manifest carries its `layers:` index, so producing the
|
|
54
|
+
* text and producing the payload are the same computation.
|
|
47
55
|
*/
|
|
48
56
|
export class ModulePayloadBuilder {
|
|
49
57
|
options;
|
|
50
|
-
manifests = new Map();
|
|
51
58
|
payloads = new Map();
|
|
52
|
-
/** Manifest paths
|
|
53
|
-
* rather than
|
|
59
|
+
/** Manifest paths whose payload is in flight, so an import cycle is reported
|
|
60
|
+
* rather than deadlocking on a memo entry that is awaiting itself. */
|
|
54
61
|
deriving = new Set();
|
|
55
62
|
/**
|
|
56
63
|
* Where each manifest publishes.
|
|
@@ -77,10 +84,15 @@ export class ModulePayloadBuilder {
|
|
|
77
84
|
async payload(manifestPath, destination) {
|
|
78
85
|
const key = path.resolve(manifestPath);
|
|
79
86
|
this.claimDestination(key, destination);
|
|
87
|
+
// The cycle check precedes the memo lookup, and has to: a memo entry for a
|
|
88
|
+
// manifest still being derived is exactly the cyclic case, and awaiting it
|
|
89
|
+
// would hang rather than report.
|
|
90
|
+
this.assertNotDeriving(key);
|
|
80
91
|
const existing = this.payloads.get(key);
|
|
81
92
|
if (existing)
|
|
82
93
|
return existing;
|
|
83
|
-
|
|
94
|
+
this.deriving.add(key);
|
|
95
|
+
const work = this.buildPayload(key).finally(() => this.deriving.delete(key));
|
|
84
96
|
this.payloads.set(key, work);
|
|
85
97
|
return work;
|
|
86
98
|
}
|
|
@@ -99,21 +111,24 @@ export class ModulePayloadBuilder {
|
|
|
99
111
|
this.claimDestination(key, destination);
|
|
100
112
|
return (await this.transformManifest(key)).relativeImports;
|
|
101
113
|
}
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
114
|
+
/**
|
|
115
|
+
* The published `telo.yaml` text — byte for byte what the transport pushes,
|
|
116
|
+
* which is what a dependent hashes to derive its pin.
|
|
117
|
+
*
|
|
118
|
+
* It builds the module's layers, because the `layers:` index is inside that
|
|
119
|
+
* text and each entry's `blob` covers framed bytes. Deriving the manifest
|
|
120
|
+
* alone was cheaper and wrong: the number it produced was of a document that
|
|
121
|
+
* is never published.
|
|
122
|
+
*/
|
|
104
123
|
async publishedManifest(manifestPath) {
|
|
105
124
|
const key = path.resolve(manifestPath);
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
if (this.deriving.has(
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
this.deriving.add(key);
|
|
114
|
-
const work = this.deriveManifest(key).finally(() => this.deriving.delete(key));
|
|
115
|
-
this.manifests.set(key, work);
|
|
116
|
-
return work;
|
|
125
|
+
return (await this.payload(key, this.destinationOf(key))).manifest;
|
|
126
|
+
}
|
|
127
|
+
assertNotDeriving(manifestPath) {
|
|
128
|
+
if (!this.deriving.has(manifestPath))
|
|
129
|
+
return;
|
|
130
|
+
throw new Error(`Import cycle through '${manifestPath}': a module's published manifest embeds a hash of ` +
|
|
131
|
+
`its dependency's, so a cycle has no fixed point.`);
|
|
117
132
|
}
|
|
118
133
|
claimDestination(manifestPath, destination) {
|
|
119
134
|
const existing = this.destinations.get(manifestPath);
|
|
@@ -131,9 +146,16 @@ export class ModulePayloadBuilder {
|
|
|
131
146
|
}
|
|
132
147
|
return destination;
|
|
133
148
|
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
149
|
+
/** The transport that owns where this manifest publishes. It decides both the
|
|
150
|
+
* ref a sibling import canonicalizes to and the framing a layer's `blob`
|
|
151
|
+
* digest covers, so both halves of the published manifest come from one. */
|
|
152
|
+
transportFor(manifestPath) {
|
|
153
|
+
const destination = this.destinationOf(manifestPath);
|
|
154
|
+
const transport = defaultTransportRegistry(this.options.registryOrigin).forRef(destination);
|
|
155
|
+
if (!transport) {
|
|
156
|
+
throw new Error(`no transport owns publish destination '${destination}'`);
|
|
157
|
+
}
|
|
158
|
+
return transport;
|
|
137
159
|
}
|
|
138
160
|
/**
|
|
139
161
|
* Canonicalize, pin and inline — every rewrite that stands between the
|
|
@@ -148,10 +170,7 @@ export class ModulePayloadBuilder {
|
|
|
148
170
|
const authoredPins = [];
|
|
149
171
|
if (moduleDoc) {
|
|
150
172
|
const destination = this.destinationOf(manifestPath);
|
|
151
|
-
const transport =
|
|
152
|
-
if (!transport) {
|
|
153
|
-
throw new Error(`no transport owns publish destination '${destination}'`);
|
|
154
|
-
}
|
|
173
|
+
const transport = this.transportFor(manifestPath);
|
|
155
174
|
for (const entry of importSourceRefs(moduleDoc)) {
|
|
156
175
|
const source = entry.source;
|
|
157
176
|
if (!source.startsWith(".") && !source.startsWith("/")) {
|
|
@@ -245,8 +264,24 @@ export class ModulePayloadBuilder {
|
|
|
245
264
|
content: built.get(rel) ?? fs.readFileSync(path.resolve(manifestDir, rel)),
|
|
246
265
|
})),
|
|
247
266
|
}));
|
|
267
|
+
// The `layers:` index is part of the published manifest, so it is written
|
|
268
|
+
// HERE and not by the transport at push time.
|
|
269
|
+
//
|
|
270
|
+
// A dependent's pin is a hash of this module's published `telo.yaml`, and
|
|
271
|
+
// that hash is taken from what this builder returns. While the index was
|
|
272
|
+
// injected during the push, the builder's manifest was never the published
|
|
273
|
+
// one — so every sibling pin in the standard library named bytes that do
|
|
274
|
+
// not exist at any registry, and each of those dependents failed to resolve
|
|
275
|
+
// its dependency at load. Nothing caught it: the payload-drift gate compares
|
|
276
|
+
// layer digests, which injection does not move, and the ledger's manifest
|
|
277
|
+
// digest was taken pre-injection on both sides.
|
|
278
|
+
//
|
|
279
|
+
// The transport still owns the framing a `blob` digest covers, so the index
|
|
280
|
+
// comes from it; publish re-frames the same layers and hard-fails if a
|
|
281
|
+
// digest moved.
|
|
282
|
+
const index = await this.transportFor(manifestPath).layerIndex(layers);
|
|
248
283
|
return {
|
|
249
|
-
manifest,
|
|
284
|
+
manifest: index.length > 0 ? injectLayerIndex(manifest, index) : manifest,
|
|
250
285
|
layers,
|
|
251
286
|
partition,
|
|
252
287
|
buildInputs: [...buildInputs],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-payload.js","sourceRoot":"","sources":["../../src/bundle/module-payload.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"module-payload.js","sourceRoot":"","sources":["../../src/bundle/module-payload.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,eAAe,EACf,cAAc,GAGf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,GAGlB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,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,EAAE,MAAM,CAAC,CAAC;IACnD,IAAI,CAAC;QACH,IAAI,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;YACxC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,yBAAyB,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,KAAK,CAAC,kBAAkB,MAAM,oDAAoD,CAAC,CAAC;IAChG,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,kBAAkB,CAAC,eAAuB,EAAE,MAAc;IACjE,MAAM,KAAK,GAAG,iBAAiB,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,EAAE;QACxE,UAAU,EAAE,iBAAiB,EAAE;KAChC,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAsD,CAAC;IACpE,MAAM,OAAO,GAAG,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC;IACzC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,kBAAkB,MAAM,iBAAiB,eAAe,8BAA8B;YACpF,gDAAgD,CACnD,CAAC;IACJ,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telorun/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.78.0",
|
|
4
4
|
"description": "Telo CLI - Command-line interface for the Telo runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"telo",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@telorun/analyzer": "0.62.
|
|
37
|
+
"@telorun/analyzer": "0.62.1",
|
|
38
38
|
"@telorun/glob": "0.2.0",
|
|
39
|
-
"@telorun/ide-support": "0.14.
|
|
40
|
-
"@telorun/kernel": "0.
|
|
39
|
+
"@telorun/ide-support": "0.14.1",
|
|
40
|
+
"@telorun/kernel": "0.78.0",
|
|
41
41
|
"@telorun/sdk": "0.77.0",
|
|
42
42
|
"@telorun/templating": "0.16.0",
|
|
43
43
|
"dotenv": "^17.4.0",
|