@elaraai/e3-api-client 1.0.87 → 1.0.89
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 +10 -0
- package/dist/src/executions.d.ts +28 -2
- package/dist/src/executions.d.ts.map +1 -1
- package/dist/src/executions.js +65 -7
- package/dist/src/executions.js.map +1 -1
- package/dist/src/http.d.ts +124 -5
- package/dist/src/http.d.ts.map +1 -1
- package/dist/src/http.js +151 -8
- package/dist/src/http.js.map +1 -1
- package/dist/src/http.spec.js +56 -1
- package/dist/src/http.spec.js.map +1 -1
- package/dist/src/index.d.ts +6 -6
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/packages.js +1 -1
- package/dist/src/packages.js.map +1 -1
- package/dist/src/repository.d.ts +24 -5
- package/dist/src/repository.d.ts.map +1 -1
- package/dist/src/repository.js +47 -8
- package/dist/src/repository.js.map +1 -1
- package/dist/src/repository.spec.d.ts +6 -0
- package/dist/src/repository.spec.d.ts.map +1 -0
- package/dist/src/repository.spec.js +95 -0
- package/dist/src/repository.spec.js.map +1 -0
- package/dist/src/stopping-run.spec.d.ts +6 -0
- package/dist/src/stopping-run.spec.d.ts.map +1 -0
- package/dist/src/stopping-run.spec.js +145 -0
- package/dist/src/stopping-run.spec.js.map +1 -0
- package/dist/src/types.d.ts +11 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +3 -2
- package/dist/src/types.js.map +1 -1
- package/dist/src/workspaces.d.ts +47 -2
- package/dist/src/workspaces.d.ts.map +1 -1
- package/dist/src/workspaces.js +56 -12
- package/dist/src/workspaces.js.map +1 -1
- package/package.json +4 -4
package/dist/src/workspaces.js
CHANGED
|
@@ -6,7 +6,7 @@ import { ArrayType, NullType, OptionType, encodeBeast2For, decodeBeast2For, some
|
|
|
6
6
|
import { WorkspaceStateType, PackageJobResponseType, pathToString, } from '@elaraai/e3-types';
|
|
7
7
|
import { WorkspaceInfoType, WorkspaceCreateRequestType, WorkspaceCopyRequestType, WorkspaceDeployRequestType, WorkspaceDeployStatusType, WorkspaceStatusResultType, WorkspaceExportRequestType, LockStatusType, ResponseType, } from './types.js';
|
|
8
8
|
import { BEAST2_CONTENT_TYPE } from '@elaraai/e3-types';
|
|
9
|
-
import { get, post, del, fetchWithAuth, fetchWithProgress, ApiError } from './http.js';
|
|
9
|
+
import { get, getConditional, post, del, fetchWithAuth, fetchWithProgress, retryingRefusal, ApiError, } from './http.js';
|
|
10
10
|
import { JOB_POLL_MAX_MS, JOB_POLL_MIN_MS, pollExport } from './packages.js';
|
|
11
11
|
/**
|
|
12
12
|
* List all workspaces in the repository.
|
|
@@ -76,12 +76,22 @@ export async function workspaceCopy(url, repo, from, to, options) {
|
|
|
76
76
|
export async function workspaceGet(url, repo, name, options) {
|
|
77
77
|
return get(url, `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}`, WorkspaceStateType, options);
|
|
78
78
|
}
|
|
79
|
+
/** The path of a workspace's status, with the datasets a query names. */
|
|
80
|
+
function statusPath(repo, name, query) {
|
|
81
|
+
const params = new URLSearchParams();
|
|
82
|
+
for (const path of query.paths ?? [])
|
|
83
|
+
params.append('path', pathToString(path));
|
|
84
|
+
const search = params.toString();
|
|
85
|
+
return `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}/status${search === '' ? '' : `?${search}`}`;
|
|
86
|
+
}
|
|
79
87
|
/**
|
|
80
88
|
* Get comprehensive workspace status including datasets, tasks, and lock info.
|
|
81
89
|
*
|
|
82
90
|
* Use this to poll for execution progress after calling dataflowExecuteLaunch().
|
|
83
91
|
* A poll that follows a few datasets asks for those (`query.paths`), and costs
|
|
84
|
-
* the server what it follows rather than the workspace.
|
|
92
|
+
* the server what it follows rather than the workspace. One that asks again
|
|
93
|
+
* and again asks conditionally ({@link workspaceStatusSince}), and is told
|
|
94
|
+
* when nothing changed.
|
|
85
95
|
*
|
|
86
96
|
* @param url - Base URL of the e3 API server
|
|
87
97
|
* @param repo - Repository name
|
|
@@ -93,11 +103,37 @@ export async function workspaceGet(url, repo, name, options) {
|
|
|
93
103
|
* @throws {AuthError} On 401 Unauthorized
|
|
94
104
|
*/
|
|
95
105
|
export async function workspaceStatus(url, repo, name, options, query = {}) {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
106
|
+
return get(url, statusPath(repo, name, query), WorkspaceStatusResultType, options);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Get workspace status conditionally: the status with its `ETag`, or `null`
|
|
110
|
+
* when the server says the status answered under `etag` is current.
|
|
111
|
+
*
|
|
112
|
+
* @remarks
|
|
113
|
+
* The server's tag names the workspace's status revision, which moves with
|
|
114
|
+
* every write of a dataset ref, of the workspace's record, of any execution
|
|
115
|
+
* record of the repository, and with the workspace's lock. A poll that
|
|
116
|
+
* holds the last answer's tag asks with it: while nothing has moved, the
|
|
117
|
+
* server answers `304 Not Modified`, reading the revision and nothing else
|
|
118
|
+
* of the workspace. The tag does not name the runner's view of an execution
|
|
119
|
+
* recorded running, so a poll that must notice a runner gone asks
|
|
120
|
+
* unconditionally (`etag` `null`) now and then.
|
|
121
|
+
*
|
|
122
|
+
* @param url - Base URL of the e3 API server
|
|
123
|
+
* @param repo - Repository name
|
|
124
|
+
* @param name - Workspace name
|
|
125
|
+
* @param etag - The tag of the last status the poll was given; `null` for
|
|
126
|
+
* none, which asks unconditionally
|
|
127
|
+
* @param options - Request options including auth token
|
|
128
|
+
* @param query - The datasets to answer for; the whole workspace when omitted
|
|
129
|
+
* @returns The status and its tag, or `null` when the status answered under
|
|
130
|
+
* `etag` is current
|
|
131
|
+
* @throws {ApiError} On application-level errors
|
|
132
|
+
* @throws {AuthError} On 401 Unauthorized
|
|
133
|
+
*/
|
|
134
|
+
export async function workspaceStatusSince(url, repo, name, etag, options, query = {}) {
|
|
135
|
+
const answer = await getConditional(url, statusPath(repo, name, query), WorkspaceStatusResultType, etag, options);
|
|
136
|
+
return answer === null ? null : { status: answer.value, etag: answer.etag };
|
|
101
137
|
}
|
|
102
138
|
/**
|
|
103
139
|
* What holds a workspace exclusively, and how far that operation says it has
|
|
@@ -125,15 +161,20 @@ export async function workspaceLockStatus(url, repo, name, options) {
|
|
|
125
161
|
/**
|
|
126
162
|
* Remove a workspace.
|
|
127
163
|
*
|
|
164
|
+
* @remarks
|
|
165
|
+
* A workspace a run that is stopping still holds is refused with a
|
|
166
|
+
* `Retry-After`, which the client waits out ({@link retryingRefusal}).
|
|
167
|
+
*
|
|
128
168
|
* @param url - Base URL of the e3 API server
|
|
129
169
|
* @param repo - Repository name
|
|
130
170
|
* @param name - Workspace name
|
|
131
171
|
* @param options - Request options including auth token
|
|
132
|
-
* @throws {ApiError} On application-level errors
|
|
172
|
+
* @throws {ApiError} On application-level errors: `workspace_locked` while
|
|
173
|
+
* something else holds the workspace
|
|
133
174
|
* @throws {AuthError} On 401 Unauthorized
|
|
134
175
|
*/
|
|
135
176
|
export async function workspaceRemove(url, repo, name, options) {
|
|
136
|
-
await del(url, `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}`, NullType, options);
|
|
177
|
+
await retryingRefusal('workspace_locked', () => del(url, `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}`, NullType, options), options);
|
|
137
178
|
}
|
|
138
179
|
/**
|
|
139
180
|
* Deploy a package to a workspace.
|
|
@@ -142,6 +183,9 @@ export async function workspaceRemove(url, repo, name, options) {
|
|
|
142
183
|
* The server runs the deploy as a job, since one that migrates a record, or
|
|
143
184
|
* builds an index over one, can outlast a request. This starts the job and
|
|
144
185
|
* polls it until it answers: 100 ms apart at first, backing off to a second.
|
|
186
|
+
* A workspace a run that is stopping still holds is refused with a
|
|
187
|
+
* `Retry-After`, which the client waits out before it starts the job
|
|
188
|
+
* ({@link retryingRefusal}).
|
|
145
189
|
*
|
|
146
190
|
* @param url - Base URL of the e3 API server
|
|
147
191
|
* @param repo - Repository name
|
|
@@ -160,13 +204,13 @@ export async function workspaceRemove(url, repo, name, options) {
|
|
|
160
204
|
*/
|
|
161
205
|
export async function workspaceDeploy(url, repo, name, packageRef, options, deployOptions = {}) {
|
|
162
206
|
const path = `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}/deploy`;
|
|
163
|
-
const { id } = await post(url, path, {
|
|
207
|
+
const { id } = await retryingRefusal('workspace_locked', () => post(url, path, {
|
|
164
208
|
packageRef,
|
|
165
209
|
schema: variant(deployOptions.schema ?? 'migrate', null),
|
|
166
210
|
inputs: variant(deployOptions.inputs ?? 'reset', null),
|
|
167
211
|
allowDropRecords: deployOptions.allowDropRecords ?? false,
|
|
168
212
|
plan: deployOptions.plan ?? false,
|
|
169
|
-
}, WorkspaceDeployRequestType, PackageJobResponseType, options);
|
|
213
|
+
}, WorkspaceDeployRequestType, PackageJobResponseType, options), options);
|
|
170
214
|
for (let wait = JOB_POLL_MIN_MS;; wait = Math.min(wait * 2, JOB_POLL_MAX_MS)) {
|
|
171
215
|
deployOptions.signal?.throwIfAborted();
|
|
172
216
|
const status = await get(url, `${path}/${encodeURIComponent(id)}`, WorkspaceDeployStatusType, options);
|
|
@@ -228,6 +272,6 @@ export async function workspaceExport(url, repo, workspace, options, exportOptio
|
|
|
228
272
|
}
|
|
229
273
|
const { downloadUrl } = status.value;
|
|
230
274
|
// 3. Download zip (no auth — URL may be a presigned S3 URL)
|
|
231
|
-
return fetchWithProgress(downloadUrl, exportOptions?.onDownloadProgress, signal, options.fetch);
|
|
275
|
+
return fetchWithProgress(downloadUrl, exportOptions?.onDownloadProgress, signal, options.fetch, options.retry);
|
|
232
276
|
}
|
|
233
277
|
//# sourceMappingURL=workspaces.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../src/workspaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,E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tE,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC;IAErC,4DAA4D;IAC5D,OAAO,iBAAiB,CAAC,WAAW,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AACjH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elaraai/e3-api-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.89",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "East Execution Engine API Client - TypeScript client library for e3 API server",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"directory": "libs/e3/packages/e3-api-client"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@elaraai/e3-types": "1.0.
|
|
33
|
+
"@elaraai/e3-types": "1.0.89"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@elaraai/east": "1.0.
|
|
36
|
+
"@elaraai/east": "1.0.89"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^22.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"eslint": "^9.0.0",
|
|
43
43
|
"eslint-plugin-headers": "^1.3.3",
|
|
44
44
|
"typescript": "^5.6.0",
|
|
45
|
-
"@elaraai/east-node-std": "1.0.
|
|
45
|
+
"@elaraai/east-node-std": "1.0.89"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsc",
|