@supacloud/admin 0.25.0 → 0.27.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/README.md +8 -5
- package/dist/index.js +22432 -13934
- package/package.json +10 -3
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ npx @supacloud/admin --env production ssh upgrade \
|
|
|
64
64
|
--confirm-production host:production.example.com:2201
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
Immutable prebuilt frontend releases use a content-addressed
|
|
67
|
+
Immutable prebuilt frontend releases use a content-addressed tar.zst archive and an explicit
|
|
68
68
|
compare-and-swap activation. Upload and activation are separate writes, and
|
|
69
69
|
production requires the exact project ref confirmation:
|
|
70
70
|
|
|
@@ -73,13 +73,15 @@ supacloud-admin frontend list_releases --ref abc123 --id web
|
|
|
73
73
|
supacloud-admin frontend get_active_release --ref abc123 --id web
|
|
74
74
|
supacloud-admin frontend get_release --ref abc123 --id web --release_id <sha256>
|
|
75
75
|
supacloud-admin frontend upload_release --ref abc123 --id web \
|
|
76
|
-
--
|
|
76
|
+
--archive_path /secure/site.tar.zst --confirm-production abc123
|
|
77
77
|
supacloud-admin frontend activate_release --ref abc123 --id web \
|
|
78
78
|
--release_id <sha256> --expected_active_release_id absent \
|
|
79
79
|
--expected_activation_id absent --mutation_id <uuid-v4> \
|
|
80
80
|
--confirm-production abc123
|
|
81
81
|
supacloud-admin frontend rollback --ref abc123 --id web \
|
|
82
82
|
--release_id <retained-sha256> --confirm-production abc123
|
|
83
|
+
supacloud-admin frontend rollback --ref abc123 --id web \
|
|
84
|
+
--confirm-production abc123
|
|
83
85
|
```
|
|
84
86
|
|
|
85
87
|
The CLI reads the archive through a no-follow file descriptor, verifies its
|
|
@@ -93,9 +95,10 @@ body, creates release directories, or writes a mutation journal.
|
|
|
93
95
|
|
|
94
96
|
The active snapshot automatically supports older HTTP 404 endpoints through
|
|
95
97
|
bounded history and exact artifact readback, never authorization or integrity
|
|
96
|
-
failures. `rollback` handles current CAS and mutation IDs automatically
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
failures. `rollback` handles current CAS and mutation IDs automatically, defaulting
|
|
99
|
+
to a journal-verified previous retained target. An explicit target is still
|
|
100
|
+
supported for deliberate rollback. It never retries a concurrent conflict,
|
|
101
|
+
restores a database or infers a target from sorted history.
|
|
99
102
|
Unknown results include the mutation ID for read-only reconciliation.
|
|
100
103
|
|
|
101
104
|
SSH host keys are fail-closed: setting `SUPACLOUD_HOST` and credentials is not
|