Skip to content

Commit 456a34a

Browse files
committed
release: 0.1.3
Cut as the rollback floor for store migration 9. A vault that applies migration 9 must not be opened by v0.1.2 afterwards: that binary predates the store-ahead refusal (landed 560073d, one day after the v0.1.2 tag) and was measured opening a schema-ahead store and WRITING to it, so a rollback past this release writes into a store it cannot reason about. Migration 6 rebuilt read_grants to add a NOT NULL operation column and migration 9 rebuilds it again for selector kinds, so the failure would not be a clean refusal - it would be a write of the wrong shape. The notes carry the two facts an operator cannot recover from the error text. The supervisor floor: this module's manifest declares an empty `consumes`, serde omits an empty vec, and a pre-0.17.20 daemon requires the field, so it refuses with 'missing field consumes' - a protocol field name for what is actually a too-old supervisor. And the placement rule: whichever of the daemon or the CLI runs first applies migration 9, so they move together. Both crates bumped: the release workflow refuses a tag that disagrees with credentials-module's version, because `ck setup` requires the tag's version as a substring of --version and the assets would fail acceptance on every platform.
1 parent bdd2c25 commit 456a34a

4 files changed

Lines changed: 17 additions & 5 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,19 @@ jobs:
6666
claustrum does not self-initialize. Run \`ck auth bootstrap\` before enabling
6767
the module, or the daemon will exit with 'no master key has been provisioned'.
6868
On Linux and Windows there is no keychain, so bootstrap with \`--key-path\` and
69-
give the daemon the same path via CK_MASTER_KEY_PATH."
69+
give the daemon the same path via CK_MASTER_KEY_PATH.
70+
71+
REQUIRES subc 0.17.20 OR NEWER. An older supervisor refuses this module's
72+
HELLO with 'malformed HELLO body: missing field \`consumes\`' and parks it
73+
after three restarts. The error names a protocol field rather than a version,
74+
so it reads as a broken release; it is a supervisor that predates the field
75+
becoming optional. v0.1.2 does not carry this floor.
76+
77+
CARRIES STORE MIGRATION 9, which rebuilds read_grants and adds credential
78+
categories. Place the daemon and ck-auth TOGETHER: whichever runs first
79+
migrates the store, and a v0.1.2 binary has no store-ahead refusal, so
80+
rolling back past this release would write into a migrated store. This
81+
release is the rollback floor for any vault that applies migration 9."
7082
fi
7183
7284
assets:

‎Cargo.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎crates/credentials-core/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "credentials-core"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2021"
55
publish = false
66
license = "MIT"

‎crates/credentials-module/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "credentials-module"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2021"
55
publish = false
66
license = "MIT"

0 commit comments

Comments
 (0)