@elaraai/e3-cloud-cli 1.1.18 → 1.1.19

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/README.md CHANGED
@@ -354,6 +354,11 @@ e3-cloud app deploy https://e3.example.com/repos/my-repo staging --from-source s
354
354
  # Stage a bundle built with the platform's next e3, for the platform deploy that moves to it
355
355
  e3-cloud app deploy https://e3.example.com/repos/my-repo production dist/ops.app --for-platform 1.0.86
356
356
 
357
+ # Built against the package the workspace runs, as the repository holds it, not the package
358
+ # its source exports again: the bundle names that package and carries none (--against-workspace)
359
+ e3-cloud app build src/apps/ops.tsx --against-workspace https://e3.example.com/repos/my-repo/workspaces/staging
360
+ e3-cloud app deploy https://e3.example.com/repos/my-repo staging --from-source src/apps/ops.tsx --against-workspace --for-platform 1.0.86 --dry-run
361
+
357
362
  # What is deployed: every workspace's apps, or one's; an app's kept versions (owner or admin)
358
363
  e3-cloud app list https://e3.example.com/repos/my-repo
359
364
  e3-cloud app list https://e3.example.com/repos/my-repo staging
@@ -379,6 +384,45 @@ A deploy whose package the workspace does not run deploys the package first,
379
384
  as a deploy job that keeps the inputs people set and starts no run; the
380
385
  CLI waits for the job, and the apps go live as it completes.
381
386
 
387
+ **Against the package the workspace runs.** `app build` exports the app's
388
+ package again from its source, with the e3 installed. A next e3 may export the
389
+ same source to other bytes (a Python-authored function's code, say): the
390
+ repository then holds another package of that version, and the deploy is
391
+ refused (`package_version_conflict`). `--against-workspace` builds the app's
392
+ pages as always but names the package the workspace runs, as the repository
393
+ holds it, and carries no package. It needs nothing of the platform, so it
394
+ stages a bundle for the next e3 on any release. It binds an app only when:
395
+
396
+ - its source declares the package and version the workspace runs;
397
+ - no page of it reads a record through indexes (`Data.bindPaged(record, {
398
+ indexes })`): such a page carries the record's index programs from its own
399
+ source, which can't be shown to be the workspace's, and is refused, naming
400
+ the page and the record. Its way through is a build that brings its own
401
+ package, once the platform takes one; until then, remove the app before the
402
+ platform moves and deploy it after;
403
+ - what its pages bind fits the held package, by the checks the platform runs,
404
+ of the release the project's build ran (refused in their words otherwise;
405
+ a problem of the app as built, rather than of the package, is said as such).
406
+ A page calling a bind of the workspace this CLI doesn't know (one of e3-ui's
407
+ data, record, function or decision families) is refused too, and a record
408
+ Slice (`Slice.bindRecord`) counts as an indexed read; page-local binds
409
+ (`State.bind`, `Slice.bind`) are no matter. Anything else that differs is printed and
410
+ allowed: a type e3 or east-ui itself changed between releases that no page
411
+ binds (a `ui()` task's output, a nested series index's span), code, a
412
+ record's programs, initial values, the inputs taken from files.
413
+
414
+ A `Page.task` page whose task's output the held package types otherwise is
415
+ named: it is bound, since the platform holds a task page only to its task and
416
+ its UI role, and after the platform's move it shows output computed in the held
417
+ package's type until the package is exported again with the new release.
418
+
419
+ A bundle that carries no package is deployed only when the workspace runs
420
+ exactly its package, as read seconds before the deploy; otherwise it is
421
+ refused, and is built again against the package the workspace runs now. A
422
+ workspace deploy that completes within those seconds leads the platform to
423
+ deploy the held package back over it: nothing on the platform side refuses that
424
+ yet. The CLI then says so loudly, with how to put it right, and exits non-zero.
425
+
382
426
  **Developing an app** is done in the cloud, not locally: deploy each change
383
427
  to a workspace of your own, a staging say (`--from-source` builds and
384
428
  deploys in one step; `--dry-run` checks it against the workspace's package
@@ -2,18 +2,9 @@
2
2
  * Copyright (c) 2025 Elara AI Pty Ltd
3
3
  * Licensed under BSL 1.1. See LICENSE for details.
4
4
  */
5
- /**
6
- * Builds an app from its source: `e3-cloud app build` and `app deploy
7
- * --from-source`, as e3's CLI loads a package for `e3 workspace deploy
8
- * --from-source`. esbuild bundles the entry (multi-file TypeScript and TSX,
9
- * with the nearest tsconfig.json), leaving every `@elaraai/*` import to the
10
- * project's own packages; the bundle is imported from under the project's
11
- * `node_modules`, and its default export must be an app (`App(...)` of
12
- * `@elaraai/e3-cloud-ui`). The app is built by the project's own
13
- * `@elaraai/e3-cloud-ui`, the one its source imports, so the app, its pages
14
- * and its package are of the modules the build reads them with.
15
- */
5
+ import { type AppProblem, type AppProblems } from '@elaraai/e3-cloud-types';
16
6
  import type { AppBundle } from '@elaraai/e3-cloud-ui/types';
7
+ import type { Checks } from './package-compare.js';
17
8
  /**
18
9
  * Builds the app a source file's default export defines into a bundle.
19
10
  *
@@ -24,4 +15,149 @@ import type { AppBundle } from '@elaraai/e3-cloud-ui/types';
24
15
  * the app (`AppBuildError`, naming each problem)
25
16
  */
26
17
  export declare function buildAppFromSource(file: string): Promise<AppBundle>;
18
+ /** A package as a repository names it: its name, its version and its object's hash. */
19
+ export interface PackageRef {
20
+ readonly name: string;
21
+ readonly version: string;
22
+ readonly hash: string;
23
+ }
24
+ /**
25
+ * Binds a bundle to the package a workspace runs, as its repository holds it
26
+ * (`--against-workspace`): the app names that package, and the bundle carries
27
+ * no package of its own (a zip of no bytes). Its pages and the e3 they were
28
+ * built with stay as built. Whether the two packages differ only where no page
29
+ * reads is `comparePackages`' to say, before this binds.
30
+ *
31
+ * @param bundle - The bundle, as the build made it
32
+ * @param running - The package the workspace runs
33
+ * @param workspace - The workspace, for the words
34
+ * @returns The bound bundle
35
+ * @throws {Error} When the source declares another package, or another
36
+ * version of it, than the workspace runs
37
+ */
38
+ export declare function bindToWorkspacePackage(bundle: AppBundle, running: PackageRef, workspace: string): AppBundle;
39
+ /**
40
+ * Whether one e3 release is newer than another, by e3's own order; false for
41
+ * a text that is no release.
42
+ *
43
+ * @param release - The release
44
+ * @param than - The release it is compared with
45
+ * @returns Whether `release` comes after `than`
46
+ */
47
+ export declare function newerRelease(release: string, than: string): boolean;
48
+ /** The checks' problems that are of an app's fit to a package, as against its own form or its e3. */
49
+ export declare const FIT_PROBLEMS: ReadonlySet<AppProblem['type']>;
50
+ /**
51
+ * What follows the problems of a refused deploy for the apps of it built
52
+ * against a package their repository holds: for an app the package does not
53
+ * fit, that it cannot as its source declares it; for one built with a newer
54
+ * e3 than the platform runs, that a bundle for the platform's next e3 is
55
+ * staged with `--for-platform`. Nothing for any other problem.
56
+ *
57
+ * @param refused - Each refused app's problems
58
+ * @param bound - The apps of the deploy built against a package their repository holds
59
+ * @param pkg - That package, as `name@version`
60
+ * @param which - Which package it is, in words: `which production runs`
61
+ * @param staging - The e3 the deploy stages for (`--for-platform`), or null
62
+ * @returns The lines
63
+ */
64
+ export declare function boundRefusalLines(refused: readonly AppProblems[], bound: ReadonlySet<string>, pkg: string, which: string, staging: string | null): string[];
65
+ /**
66
+ * Whether a bundle carries its package's zip: one built against a package
67
+ * its repository holds carries none.
68
+ *
69
+ * @param bundle - The bundle
70
+ * @returns Whether its zip has any bytes
71
+ */
72
+ export declare function carriesPackage(bundle: AppBundle): boolean;
73
+ /**
74
+ * The lines a binding prints of its `Page.task` pages whose task's output the
75
+ * held package types otherwise than the app's source: the checks hold such a
76
+ * page to its task and its UI role alone, so it is bound, and after the
77
+ * platform's move it shows output computed in the held package's type.
78
+ *
79
+ * @param app - The app's name
80
+ * @param held - The held package in words, e.g. `acme@1.5.0`
81
+ * @param pages - Those pages, each with the task it shows
82
+ * @returns A line each
83
+ */
84
+ export declare function taskPageLines(app: string, held: string, pages: readonly {
85
+ page: string;
86
+ task: string;
87
+ }[]): string[];
88
+ /** The checks a binding runs, where they come from, and their release of `@elaraai/e3-cloud-ui`. */
89
+ export interface BindingChecks {
90
+ readonly checks: Checks;
91
+ /** The project's, which its build ran; or this CLI's own, when the project's can't be loaded */
92
+ readonly from: 'project' | 'cli';
93
+ /** Their `@elaraai/e3-cloud-ui` release; null when it can't be read */
94
+ readonly version: string | null;
95
+ /**
96
+ * Why this CLI's own are run, when they are: the project resolves no
97
+ * `@elaraai/e3-cloud-ui/check`, or its module failed to load (the reason),
98
+ * or gives no checks; null for the project's
99
+ */
100
+ readonly fallback: string | null;
101
+ }
102
+ /**
103
+ * The checks a binding runs: those of the `@elaraai/e3-cloud-ui` the
104
+ * source's project resolves, the release its build ran. The checks read a
105
+ * page as e3-ui of their release reads it (its manifest, the binds it
106
+ * makes), so a check of another release than the build's may refuse a page
107
+ * the build made (`manifest_mismatch`, `invalid_page`). This CLI's own are
108
+ * the fallback, said, when the project's can't be loaded.
109
+ *
110
+ * @param source - The app's source
111
+ * @returns The checks, where they come from, and their release
112
+ */
113
+ export declare function bindingChecks(source: string): Promise<BindingChecks>;
114
+ /**
115
+ * The checks' problems as lines: each kind this CLI knows in its words
116
+ * (`appProblemLines`); one it doesn't (from a newer project's checks) as it
117
+ * came, its kind and its text fields, never a failure of its own.
118
+ *
119
+ * @param problems - The problems
120
+ * @param names - The app and the package, for the words
121
+ * @returns A line each, indented two spaces
122
+ */
123
+ export declare function problemLines(problems: readonly AppProblem[], names: {
124
+ app: string;
125
+ package: string;
126
+ }): string[];
127
+ /**
128
+ * The lines refusing a binding the checks refuse, split by what the problems
129
+ * are of. Problems of fit are of what the app's pages bind against what the
130
+ * held package declares. Any other is of the app as built (its pages, their
131
+ * manifests, its names), which the checks read as e3-ui of their release does.
132
+ *
133
+ * @param app - The app's name
134
+ * @param held - The held package in words, e.g. `acme@1.5.0`
135
+ * @param which - Which workspace runs it, e.g. `which production runs`
136
+ * @param problems - The checks' problems against the held package
137
+ * @param checks - Where the checks came from, and their release
138
+ * @returns The lines; none for no problems
139
+ */
140
+ export declare function bindingRefusalLines(app: string, held: string, which: string, problems: readonly AppProblem[], checks: Pick<BindingChecks, 'from' | 'version' | 'fallback'>): string[];
141
+ /**
142
+ * The lines a deploy of bundles carrying no package prints when the platform
143
+ * answers it with a deploy of their package: the workspace moved in the
144
+ * seconds after it was read, and the held package is being deployed back over
145
+ * it. Nothing on the platform side refuses that yet; the CLI says it loudly
146
+ * and exits non-zero, so it can't pass unnoticed.
147
+ *
148
+ * The way back is a rollback to the workspace's entry for the package it had
149
+ * moved to, which gives it that entry's package and apps exactly: a protected
150
+ * workspace takes a package only by a release or a rollback, and a deploy of
151
+ * that package alone would be refused by the apps now live on the held one,
152
+ * where they don't fit it.
153
+ *
154
+ * @param url - The repository's URL
155
+ * @param workspace - The workspace
156
+ * @param held - The package the bundles were built against, with its hash
157
+ * @param movedTo - The package the workspace had moved to, with its hash, when read; null when not known
158
+ * @param job - The platform's deploy job
159
+ * @param apps - The apps carrying no package
160
+ * @returns The lines
161
+ */
162
+ export declare function movedDuringDeployLines(url: string, workspace: string, held: string, movedTo: string | null, job: string, apps: readonly string[]): string[];
27
163
  //# sourceMappingURL=app-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-source.d.ts","sourceRoot":"","sources":["../../src/app-source.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAQ5D;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAQzE"}
1
+ {"version":3,"file":"app-source.d.ts","sourceRoot":"","sources":["../../src/app-source.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyBH,OAAO,EAAmC,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE7G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAUnD;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAQzE;AAED,uFAAuF;AACvF,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAOD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,CAO3G;AAED;;;;;;;GAOG;AACH,wBAAgB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,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,EAAE,CAa/G;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,UAAU,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC,GAAG,MAAM,EAAE,CAuBrL;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAQ3J"}
@@ -2,7 +2,32 @@
2
2
  * Copyright (c) 2025 Elara AI Pty Ltd
3
3
  * Licensed under BSL 1.1. See LICENSE for details.
4
4
  */
5
+ /**
6
+ * Builds an app from its source: `e3-cloud app build` and `app deploy
7
+ * --from-source`, as e3's CLI loads a package for `e3 workspace deploy
8
+ * --from-source`. esbuild bundles the entry (multi-file TypeScript and TSX,
9
+ * with the nearest tsconfig.json), leaving every `@elaraai/*` import to the
10
+ * project's own packages; the bundle is imported from under the project's
11
+ * `node_modules`, and its default export must be an app (`App(...)` of
12
+ * `@elaraai/e3-cloud-ui`). The app is built by the project's own
13
+ * `@elaraai/e3-cloud-ui`, the one its source imports, so the app, its pages
14
+ * and its package are of the modules the build reads them with.
15
+ *
16
+ * Built `--against-workspace`, an app names the package a workspace runs, as
17
+ * its repository holds it, rather than the package its source exports again
18
+ * ({@link bindToWorkspacePackage}), once the two are found to differ only
19
+ * where no page reads (`package-compare.ts`): the bundle then carries no
20
+ * package.
21
+ */
22
+ import { existsSync, readFileSync } from 'node:fs';
23
+ import { createRequire } from 'node:module';
24
+ import { dirname, join, parse } from 'node:path';
25
+ import { StringType, equalFor, isValueOf } from '@elaraai/east';
26
+ import { compareReleases } from '@elaraai/e3-types';
27
+ import { AppProblemType, appProblemLines } from '@elaraai/e3-cloud-types';
28
+ import * as ownChecks from '@elaraai/e3-cloud-ui/check';
5
29
  import { importEntry, resolveSource, sourceDefaultExport } from './source-module.js';
30
+ const sameString = equalFor(StringType);
6
31
  /**
7
32
  * Builds the app a source file's default export defines into a bundle.
8
33
  *
@@ -21,4 +46,242 @@ export async function buildAppFromSource(file) {
21
46
  const ui = await importEntry(entryPath);
22
47
  return ui.buildApp(exported);
23
48
  }
49
+ /** A package, as people name it: `acme@1.5.0`. */
50
+ function packageWords(pkg) {
51
+ return `${pkg.name}@${pkg.version}`;
52
+ }
53
+ /**
54
+ * Binds a bundle to the package a workspace runs, as its repository holds it
55
+ * (`--against-workspace`): the app names that package, and the bundle carries
56
+ * no package of its own (a zip of no bytes). Its pages and the e3 they were
57
+ * built with stay as built. Whether the two packages differ only where no page
58
+ * reads is `comparePackages`' to say, before this binds.
59
+ *
60
+ * @param bundle - The bundle, as the build made it
61
+ * @param running - The package the workspace runs
62
+ * @param workspace - The workspace, for the words
63
+ * @returns The bound bundle
64
+ * @throws {Error} When the source declares another package, or another
65
+ * version of it, than the workspace runs
66
+ */
67
+ export function bindToWorkspacePackage(bundle, running, workspace) {
68
+ const { app } = bundle;
69
+ const declared = app.package;
70
+ if (!sameString(declared.name, running.name) || !sameString(declared.version, running.version)) {
71
+ throw new Error(`${workspace} runs ${packageWords(running)}, and ${app.name}'s source declares ${packageWords(declared)}: an app is built against the package its workspace runs only from the source of that package and version`);
72
+ }
73
+ return { app: { ...app, package: { name: running.name, version: running.version, hash: running.hash } }, package: new Uint8Array(0) };
74
+ }
75
+ /**
76
+ * Whether one e3 release is newer than another, by e3's own order; false for
77
+ * a text that is no release.
78
+ *
79
+ * @param release - The release
80
+ * @param than - The release it is compared with
81
+ * @returns Whether `release` comes after `than`
82
+ */
83
+ export function newerRelease(release, than) {
84
+ try {
85
+ return compareReleases(release, than) > 0;
86
+ }
87
+ catch {
88
+ return false;
89
+ }
90
+ }
91
+ /** The checks' problems that are of an app's fit to a package, as against its own form or its e3. */
92
+ export const FIT_PROBLEMS = new Set([
93
+ 'dataset_missing', 'dataset_type', 'dataset_not_writable', 'paged_missing', 'paged_type',
94
+ 'function_missing', 'function_signature', 'function_drafts',
95
+ 'record_missing', 'record_type', 'mutation_missing', 'mutation_signature', 'index_missing', 'index_type',
96
+ 'task_missing', 'task_not_ui',
97
+ ]);
98
+ /**
99
+ * What follows the problems of a refused deploy for the apps of it built
100
+ * against a package their repository holds: for an app the package does not
101
+ * fit, that it cannot as its source declares it; for one built with a newer
102
+ * e3 than the platform runs, that a bundle for the platform's next e3 is
103
+ * staged with `--for-platform`. Nothing for any other problem.
104
+ *
105
+ * @param refused - Each refused app's problems
106
+ * @param bound - The apps of the deploy built against a package their repository holds
107
+ * @param pkg - That package, as `name@version`
108
+ * @param which - Which package it is, in words: `which production runs`
109
+ * @param staging - The e3 the deploy stages for (`--for-platform`), or null
110
+ * @returns The lines
111
+ */
112
+ export function boundRefusalLines(refused, bound, pkg, which, staging) {
113
+ const lines = [];
114
+ for (const entry of refused) {
115
+ if (!bound.has(entry.app))
116
+ continue;
117
+ if (entry.problems.some((problem) => FIT_PROBLEMS.has(problem.type))) {
118
+ lines.push(`${entry.app} was built against ${pkg}, ${which}, and doesn't fit it: its source declares other types or names than that package. Build it from the source ${pkg} was exported from. A bundle for the next e3 that cannot fit is staged only by removing the app before the platform moves and deploying it after.`);
119
+ }
120
+ const other = entry.problems.find((problem) => problem.type === 'e3_version');
121
+ // Staged only for a move to a newer e3 than the platform runs
122
+ if (other !== undefined && staging === null && newerRelease(other.value.builtWith, other.value.platform)) {
123
+ const { builtWith, platform } = other.value;
124
+ lines.push(`${entry.app} is built with e3 ${builtWith}, and the platform runs e3 ${platform}: stage it for the platform's move to ${builtWith} with --for-platform ${builtWith}.`);
125
+ }
126
+ }
127
+ return lines;
128
+ }
129
+ /**
130
+ * Whether a bundle carries its package's zip: one built against a package
131
+ * its repository holds carries none.
132
+ *
133
+ * @param bundle - The bundle
134
+ * @returns Whether its zip has any bytes
135
+ */
136
+ export function carriesPackage(bundle) {
137
+ return bundle.package.byteLength > 0;
138
+ }
139
+ /**
140
+ * The lines a binding prints of its `Page.task` pages whose task's output the
141
+ * held package types otherwise than the app's source: the checks hold such a
142
+ * page to its task and its UI role alone, so it is bound, and after the
143
+ * platform's move it shows output computed in the held package's type.
144
+ *
145
+ * @param app - The app's name
146
+ * @param held - The held package in words, e.g. `acme@1.5.0`
147
+ * @param pages - Those pages, each with the task it shows
148
+ * @returns A line each
149
+ */
150
+ export function taskPageLines(app, held, pages) {
151
+ return pages.map(({ page, task }) => `Page ${page} of ${app} shows task ${task}, whose output ${held} types otherwise than ${app}'s source: it is bound, since the platform holds a task page only to its task and its UI role; after the platform's move it shows output computed in ${held}'s type until the package is exported again with the new release`);
152
+ }
153
+ /** The release of the package an entry belongs to: the nearest package.json above it of that name. */
154
+ function releaseOf(entryPath, name) {
155
+ for (let dir = dirname(entryPath); dir !== parse(dir).root; dir = dirname(dir)) {
156
+ const file = join(dir, 'package.json');
157
+ if (!existsSync(file))
158
+ continue;
159
+ try {
160
+ const pkg = JSON.parse(readFileSync(file, 'utf8'));
161
+ if (pkg.name === name && typeof pkg.version === 'string')
162
+ return pkg.version;
163
+ }
164
+ catch {
165
+ return null;
166
+ }
167
+ }
168
+ return null;
169
+ }
170
+ /**
171
+ * The checks a binding runs: those of the `@elaraai/e3-cloud-ui` the
172
+ * source's project resolves, the release its build ran. The checks read a
173
+ * page as e3-ui of their release reads it (its manifest, the binds it
174
+ * makes), so a check of another release than the build's may refuse a page
175
+ * the build made (`manifest_mismatch`, `invalid_page`). This CLI's own are
176
+ * the fallback, said, when the project's can't be loaded.
177
+ *
178
+ * @param source - The app's source
179
+ * @returns The checks, where they come from, and their release
180
+ */
181
+ export async function bindingChecks(source) {
182
+ const own = (fallback) => ({
183
+ checks: ownChecks, from: 'cli', fallback,
184
+ version: releaseOf(createRequire(import.meta.url).resolve('@elaraai/e3-cloud-ui/check'), '@elaraai/e3-cloud-ui'),
185
+ });
186
+ let entryPath;
187
+ try {
188
+ entryPath = resolveSource(source, '@elaraai/e3-cloud-ui/check', 'an app is checked').entryPath;
189
+ }
190
+ catch {
191
+ return own('its project resolves no @elaraai/e3-cloud-ui/check');
192
+ }
193
+ let checks;
194
+ try {
195
+ checks = await importEntry(entryPath);
196
+ }
197
+ catch (err) {
198
+ return own(`its project's @elaraai/e3-cloud-ui/check failed to load: ${err instanceof Error ? err.message.split('\n')[0] : 'an error'}`);
199
+ }
200
+ if (typeof checks.checkApp !== 'function' || typeof checks.readPackageView !== 'function') {
201
+ return own("its project's @elaraai/e3-cloud-ui/check gives no checkApp and readPackageView");
202
+ }
203
+ return { checks, from: 'project', fallback: null, version: releaseOf(entryPath, '@elaraai/e3-cloud-ui') };
204
+ }
205
+ /**
206
+ * The checks' problems as lines: each kind this CLI knows in its words
207
+ * (`appProblemLines`); one it doesn't (from a newer project's checks) as it
208
+ * came, its kind and its text fields, never a failure of its own.
209
+ *
210
+ * @param problems - The problems
211
+ * @param names - The app and the package, for the words
212
+ * @returns A line each, indented two spaces
213
+ */
214
+ export function problemLines(problems, names) {
215
+ const known = problems.filter((problem) => Object.hasOwn(AppProblemType.cases, problem.type));
216
+ const unknown = problems.filter((problem) => !Object.hasOwn(AppProblemType.cases, problem.type));
217
+ return [
218
+ ...appProblemLines(known, names, ' '),
219
+ ...unknown.map((problem) => {
220
+ const value = problem.value;
221
+ const fields = value !== null && typeof value === 'object'
222
+ ? Object.entries(value).filter(([, field]) => isValueOf(field, StringType)).map(([name, field]) => `${name} ${field}`)
223
+ : [];
224
+ return ` ${problem.type} a problem this e3-cloud CLI doesn't know${fields.length === 0 ? '' : `: ${fields.join(', ')}`}`;
225
+ }),
226
+ ];
227
+ }
228
+ /**
229
+ * The lines refusing a binding the checks refuse, split by what the problems
230
+ * are of. Problems of fit are of what the app's pages bind against what the
231
+ * held package declares. Any other is of the app as built (its pages, their
232
+ * manifests, its names), which the checks read as e3-ui of their release does.
233
+ *
234
+ * @param app - The app's name
235
+ * @param held - The held package in words, e.g. `acme@1.5.0`
236
+ * @param which - Which workspace runs it, e.g. `which production runs`
237
+ * @param problems - The checks' problems against the held package
238
+ * @param checks - Where the checks came from, and their release
239
+ * @returns The lines; none for no problems
240
+ */
241
+ export function bindingRefusalLines(app, held, which, problems, checks) {
242
+ const fit = problems.filter((problem) => FIT_PROBLEMS.has(problem.type));
243
+ const other = problems.filter((problem) => !FIT_PROBLEMS.has(problem.type));
244
+ const lines = [];
245
+ const names = { app, package: held };
246
+ if (fit.length > 0) {
247
+ lines.push(`${app} can't be built against ${held}, ${which}: its pages bind what that package declares otherwise, which the platform's checks refuse`, ...problemLines(fit, names), `Its source declares them otherwise, in its own code or because this release of e3 or east-ui defines a type otherwise than the one that exported ${held}. Build it from the source and the e3 ${held} was exported with; or, to carry it across the platform's move, remove ${app} before the move and deploy it after`);
248
+ }
249
+ if (other.length > 0) {
250
+ const release = checks.version === null ? '' : ` ${checks.version}`;
251
+ lines.push(`${app} can't be built against ${held}, ${which}: the checks refuse ${app} as built, which is no matter of what ${held} declares`, ...problemLines(other, names), checks.from === 'project'
252
+ ? `These are of its pages as the project's @elaraai/e3-cloud-ui${release} builds and reads them, the checks its own build ran: the platform's deploy would refuse them too. Correct the pages`
253
+ : `These are this CLI's checks (@elaraai/e3-cloud-ui${release}), since ${checks.fallback ?? "the project's can't be loaded"}; they read a page as e3-ui of their release does, so when the project builds with another release they may refuse what its build made. Check it with e3-cloud app deploy … --dry-run, which the platform's own checks answer`);
254
+ }
255
+ return lines;
256
+ }
257
+ /**
258
+ * The lines a deploy of bundles carrying no package prints when the platform
259
+ * answers it with a deploy of their package: the workspace moved in the
260
+ * seconds after it was read, and the held package is being deployed back over
261
+ * it. Nothing on the platform side refuses that yet; the CLI says it loudly
262
+ * and exits non-zero, so it can't pass unnoticed.
263
+ *
264
+ * The way back is a rollback to the workspace's entry for the package it had
265
+ * moved to, which gives it that entry's package and apps exactly: a protected
266
+ * workspace takes a package only by a release or a rollback, and a deploy of
267
+ * that package alone would be refused by the apps now live on the held one,
268
+ * where they don't fit it.
269
+ *
270
+ * @param url - The repository's URL
271
+ * @param workspace - The workspace
272
+ * @param held - The package the bundles were built against, with its hash
273
+ * @param movedTo - The package the workspace had moved to, with its hash, when read; null when not known
274
+ * @param job - The platform's deploy job
275
+ * @param apps - The apps carrying no package
276
+ * @returns The lines
277
+ */
278
+ export function movedDuringDeployLines(url, workspace, held, movedTo, job, apps) {
279
+ const one = apps.length === 1;
280
+ return [
281
+ `!! ${workspace} moved to ${movedTo ?? 'another package'} in the seconds after it was read, and the platform is deploying ${held} back over it (job ${job}).`,
282
+ `!! ${apps.join(', ')} ${one ? 'carries' : 'carry'} no package and ${one ? 'was' : 'were'} built against ${held}, which ${workspace} ran when it was read.`,
283
+ `!! To put it right, once the job completes: e3-cloud history ${url} ${workspace} lists the deploy it had moved to${movedTo === null ? '' : ` (${movedTo})`}; e3-cloud rollback ${url} ${workspace} --plan, then without --plan, gives it back that entry's package and apps exactly (owner or admin).`,
284
+ `!! Not a deploy of that package alone: a protected workspace takes a package only by a release or a rollback, and the apps now live on ${held} are checked against it and refused where they don't fit. Then build ${one ? 'the app' : 'the apps'} again with --against-workspace.`,
285
+ ];
286
+ }
24
287
  //# sourceMappingURL=app-source.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-source.js","sourceRoot":"","sources":["../../src/app-source.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAeH,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAOrF;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,IAAY;IACnD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,aAAa,CAAC,I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Build an app\'s source into a bundle: the app, and the package it was built against')
398
398
  .argument('<source>', 'The app\'s source, whose default export is App(...) (e.g., src/apps/ops.tsx)')
399
399
  .option('-o, --output <file>', 'Where to write the bundle (default dist/<app>.app)')
400
+ .option('--against-workspace <workspace-url>', 'Build it against the package that workspace runs, as its repository holds it (e.g., https://server/repos/my-repo/workspaces/production), instead of the package its source exports again: the bundle carries no package')
400
401
  .action(appCommand.build);
401
402
  app
402
403
  .command('deploy')
@@ -405,6 +406,7 @@ app
405
406
  .argument('<workspace>', 'Workspace name')
406
407
  .argument('[bundles...]', 'Bundles e3-cloud app build wrote')
407
408
  .option('--from-source <source...>', 'Build these sources and deploy them, instead of bundles')
409
+ .option('--against-workspace', 'Build the sources against the package the workspace runs, as the repository holds it, instead of the package they export again')
408
410
  .option('--dry-run', 'Check the apps, and change nothing')
409
411
  .option('--for-platform <version>', 'Stage the apps, built with this next e3 release, for the platform deploy that moves to it')
410
412
  .option('--force', 'Deploy past the workspace\'s protection, if it has a staging: admins only, recorded in its history as forced')
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";AAEA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM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