@serve.zone/interfaces 32.53.0 → 32.54.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.
package/changelog.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-10-12 - 32.54.0
4
+
5
+ ### Features
6
+
7
+ - `IRequest_Any_Cloudly_ReadServiceDeploymentStatus` (`readServiceDeploymentStatus`) reads one
8
+ deployment operation's status without changing it. It takes the request of
9
+ `getServiceDeploymentStatus` (`identity`, `serviceId`, `operationId`) and answers the same
10
+ `IServiceDeploymentStatus`, but Cloudly transitions nothing, records no failure and schedules no
11
+ recovery for it. A rollout failure or an expired startup grace shows only in the returned
12
+ evidence. `getServiceDeploymentStatus` keeps advancing a rolling-out operation for a deployment
13
+ that polls its own rollout. An inspection such as `tsdeploy deploy-status` uses the read.
14
+
15
+ ### Maintenance
16
+
17
+ - release tooling: @git.zone/tsbuild 6.0.2, @git.zone/tsrun 3.0.3, @types/node 26.6.4, pnpm 12.9.1
18
+
3
19
  ## 2026-10-08 - 32.53.0
4
20
 
5
21
  ### Features
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '32.53.0',
6
+ version: '32.54.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFNBQVM7SUFDbEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
@@ -173,6 +173,11 @@ export interface IRequest_Any_Cloudly_ReserveServiceDeployment extends plugins.t
173
173
  registryTarget: IRegistryTarget;
174
174
  };
175
175
  }
176
+ /**
177
+ * Answers one deployment operation's status and advances it: a rolling-out operation whose runtime
178
+ * evidence proves success or failure is transitioned before the answer. A deployment that polls
179
+ * its own rollout uses it; an inspection uses `readServiceDeploymentStatus`.
180
+ */
176
181
  export interface IRequest_Any_Cloudly_GetServiceDeploymentStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetServiceDeploymentStatus> {
177
182
  method: 'getServiceDeploymentStatus';
178
183
  request: {
@@ -184,6 +189,24 @@ export interface IRequest_Any_Cloudly_GetServiceDeploymentStatus extends plugins
184
189
  status: IServiceDeploymentStatus;
185
190
  };
186
191
  }
192
+ /**
193
+ * Answers one deployment operation's status, as `getServiceDeploymentStatus` projects it, and
194
+ * changes nothing: no transition, no failure recorded, no recovery scheduled. A rollout failure or
195
+ * an expired startup grace shows in the returned evidence only, and the persisted operation keeps
196
+ * its state, revision, timestamps and evidence. It takes the same identity and the
197
+ * `deployment:status` capability.
198
+ */
199
+ export interface IRequest_Any_Cloudly_ReadServiceDeploymentStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_ReadServiceDeploymentStatus> {
200
+ method: 'readServiceDeploymentStatus';
201
+ request: {
202
+ identity: IIdentityCredential;
203
+ serviceId: string;
204
+ operationId: string;
205
+ };
206
+ response: {
207
+ status: IServiceDeploymentStatus;
208
+ };
209
+ }
187
210
  export interface IRequest_Any_Cloudly_PromoteServiceDeploymentRoute extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_PromoteServiceDeploymentRoute> {
188
211
  method: 'promoteServiceDeploymentRoute';
189
212
  request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "32.53.0",
3
+ "version": "32.54.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
6
6
  "exports": {
@@ -27,11 +27,11 @@
27
27
  "@tsclass/tsclass": "^9.5.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@git.zone/tsbuild": "^6.0.0",
30
+ "@git.zone/tsbuild": "^6.0.2",
31
31
  "@git.zone/tsdoc": "^3.0.2",
32
- "@git.zone/tsrun": "^3.0.2",
32
+ "@git.zone/tsrun": "^3.0.3",
33
33
  "@git.zone/tstest": "^7.2.0",
34
- "@types/node": "26.6.3",
34
+ "@types/node": "26.6.4",
35
35
  "typescript": "^6.0.3"
36
36
  },
37
37
  "files": [
package/readme.md CHANGED
@@ -3662,7 +3662,7 @@ The immutable deployment workflow is:
3662
3662
  1. Reserve the exact service, namespace, registry repository/tag, and route intent with `reserveServiceDeployment`.
3663
3663
  2. Push the OCI index to the returned exact tag with the authenticated deployer identity.
3664
3664
  3. Promote the authenticated release evidence with `promoteServiceImageRelease`.
3665
- 4. Observe exact rollout and runtime-digest evidence with `getServiceDeploymentStatus`.
3665
+ 4. Observe exact rollout and runtime-digest evidence with `getServiceDeploymentStatus`. That request is for a deployment polling its own rollout: Cloudly transitions a rolling-out operation to success or failure as its evidence proves either. An inspection, such as `tsdeploy deploy-status`, uses `readServiceDeploymentStatus` instead. It takes the same request and answers the same `IServiceDeploymentStatus`, but changes nothing.
3666
3666
  5. For a greenfield service, expose and verify its public route with `promoteServiceDeploymentRoute` only after the immutable rollout succeeds.
3667
3667
 
3668
3668
  A legacy `deployOnPush` service without deployable source moves to a greenfield successor by a legacy import, which replaces step 2:
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '32.53.0',
6
+ version: '32.54.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -262,6 +262,11 @@ extends plugins.typedrequestInterfaces.implementsTR<
262
262
  };
263
263
  }
264
264
 
265
+ /**
266
+ * Answers one deployment operation's status and advances it: a rolling-out operation whose runtime
267
+ * evidence proves success or failure is transitioned before the answer. A deployment that polls
268
+ * its own rollout uses it; an inspection uses `readServiceDeploymentStatus`.
269
+ */
265
270
  export interface IRequest_Any_Cloudly_GetServiceDeploymentStatus
266
271
  extends plugins.typedrequestInterfaces.implementsTR<
267
272
  plugins.typedrequestInterfaces.ITypedRequest,
@@ -278,6 +283,29 @@ extends plugins.typedrequestInterfaces.implementsTR<
278
283
  };
279
284
  }
280
285
 
286
+ /**
287
+ * Answers one deployment operation's status, as `getServiceDeploymentStatus` projects it, and
288
+ * changes nothing: no transition, no failure recorded, no recovery scheduled. A rollout failure or
289
+ * an expired startup grace shows in the returned evidence only, and the persisted operation keeps
290
+ * its state, revision, timestamps and evidence. It takes the same identity and the
291
+ * `deployment:status` capability.
292
+ */
293
+ export interface IRequest_Any_Cloudly_ReadServiceDeploymentStatus
294
+ extends plugins.typedrequestInterfaces.implementsTR<
295
+ plugins.typedrequestInterfaces.ITypedRequest,
296
+ IRequest_Any_Cloudly_ReadServiceDeploymentStatus
297
+ > {
298
+ method: 'readServiceDeploymentStatus';
299
+ request: {
300
+ identity: IIdentityCredential;
301
+ serviceId: string;
302
+ operationId: string;
303
+ };
304
+ response: {
305
+ status: IServiceDeploymentStatus;
306
+ };
307
+ }
308
+
281
309
  export interface IRequest_Any_Cloudly_PromoteServiceDeploymentRoute
282
310
  extends plugins.typedrequestInterfaces.implementsTR<
283
311
  plugins.typedrequestInterfaces.ITypedRequest,