@rizom/ops 0.2.0-alpha.735 → 0.2.0-alpha.737

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizom/ops",
3
- "version": "0.2.0-alpha.735",
3
+ "version": "0.2.0-alpha.737",
4
4
  "description": "Operator CLI for managing private brain fleet registry repos",
5
5
  "keywords": [
6
6
  "brains",
@@ -12,6 +12,7 @@ on:
12
12
  required: false
13
13
  type: boolean
14
14
  default: false
15
+ __PREDEPLOY_BACKUP_SKIP_INPUT__
15
16
  push:
16
17
  branches: ["main"]
17
18
  paths:
@@ -200,6 +201,7 @@ jobs:
200
201
  exit 1
201
202
 
202
203
  - name: Create verified predeploy backup
204
+ __PREDEPLOY_BACKUP_SKIP_CONDITION__
203
205
  env:
204
206
  SERVER_IP: ${{ steps.provision.outputs.server_ip }}
205
207
  TARGET_HANDLE: ${{ matrix.handle }}
@@ -102,7 +102,19 @@ Verified snapshots are finalized atomically under:
102
102
 
103
103
  Files use mode `0600` and the directory uses `0700`. A `.incomplete` directory is diagnostic evidence, never a rollback point. Checksums and the versioned manifest must verify before finalization. The default retention is five verified snapshots per target; incomplete or unverified directories do not count, and the snapshot created by the current deployment is never pruned.
104
104
 
105
- These are same-server rollback snapshots, not off-host disaster recovery. There is no normal skip and no automatic restore. Restoration requires separate approval: stop replacement/application processes, recheck the selected snapshot's checksums, preserve the current state, restore databases and exact Git state, then validate health, queues, Git checkpoints, durable export intents, preview, and production output before reopening the target.
105
+ These are same-server rollback snapshots, not off-host disaster recovery. Push, reconcile and ordinary manual deploys always take one, and there is no automatic restore.
106
+
107
+ A runtime whose own startup work keeps its job queue busy never passes the idle gate, so no deploy can replace it. For that case only, a manually dispatched Deploy can skip the snapshot once the operator has confirmed that the target's last verified snapshot stands:
108
+
109
+ ```sh
110
+ gh workflow run Deploy --ref main \
111
+ -f handle=<handle> \
112
+ -f skip_predeploy_backup=true
113
+ ```
114
+
115
+ The input is off by default and scoped to one handle; push and reconcile deploys carry no inputs, so their snapshot always runs.
116
+
117
+ Restoration requires separate approval: stop replacement/application processes, recheck the selected snapshot's checksums, preserve the current state, restore databases and exact Git state, then validate health, queues, Git checkpoints, durable export intents, preview, and production output before reopening the target.
106
118
 
107
119
  ## Retired projection job recovery
108
120