docs: the pin is the tag v0.2.0
CHANGELOG.md, "Unreleased": the line that VoelinProtocol's CHANGELOG offers consumers when they pin (the sign-out lists a key once, Debug of the messages prints <redacted> for secrets). docs/building.md names the tag, how a later release is taken and the spikes' own lock; docs/ci.md and docs/architecture.md name the three crates and the tag, and ci.md says that the deploy key, the host key and the read check of the CI step are the same for a tag. docs/session-seam.md: 17.9 records the move (the commits, the lock edited by hand and why, what "For consumers" meant for the tests, what ran), and the four sentences that named the old rev name the tag or the pin of task 34. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6938dbed3a
commit
fd6bc19c78
5 files changed
+118
-20
No files matched your search
+86
-7
@@ -19,7 +19,7 @@ here; section 11 lists what it has to do.
|
||||
Read for this design: `crates/voelin-core/src/link.rs`, `ts_link.rs`,
|
||||
`voice.rs`, `book.rs`, `stream.rs`, `files.rs`, `session.rs` (its use of the
|
||||
link), `tests/link_fake.rs`, `voelin-audio/src/packet.rs`; and in
|
||||
VoelinProtocol (main at the pin of that round; moved to `c5bb6b9` by task 34)
|
||||
VoelinProtocol (main at the pin of that round; moved by task 34, and since then to the tag `v0.2.0`, 17.9)
|
||||
`crates/voelin-proto/src/link.rs`,
|
||||
`media.rs` with `media/`, `test_util/` (FakeHost, FakeSession,
|
||||
FakeConnector, FakeAccountAgent, the conformance suite),
|
||||
@@ -1218,8 +1218,8 @@ second that works.
|
||||
### 16.2 The conformance suite
|
||||
|
||||
**Through the registry.** `the_conformance_suite_passes_on_a_session_of_the_registry`
|
||||
runs the 17 cases of the protocol's suite (still 17, in the same order, at
|
||||
`c5bb6b9`) against the `FakeSession` that
|
||||
runs the 17 cases of the protocol's suite (still 17, in the same order, at the
|
||||
pin of task 34 and at the tag `v0.2.0`) against the `FakeSession` that
|
||||
`Backends::connect(params, LocalCtx::standalone())` hands over: 17 of 17
|
||||
pass, none is skipped. The registry adds nothing to a plain connector's
|
||||
session (`host_uid` is the connector's, there is no stream port), so the
|
||||
@@ -1737,8 +1737,9 @@ were fresh compose projects (`down -v`, `up -d`) for each smoke run.
|
||||
|
||||
- **The key store follows task 34 (`phase4/keystore-task34`).** Open question 10
|
||||
of the accounts design (answered by the owner on 2026-10-24) made
|
||||
`KeyStore::sign_out` keep every device key, and VoelinProtocol `main`
|
||||
(`c5bb6b9`) has it. `SqliteKeyStore` runs that trait method, so the follow-up
|
||||
`KeyStore::sign_out` keep every device key, and VoelinProtocol `main` at
|
||||
the pin of that task (and every release from the tag `v0.2.0`) has it.
|
||||
`SqliteKeyStore` runs that trait method, so the follow-up
|
||||
that Phase 2 task 34 leaves to this repository ("Note for VoelinClient") is
|
||||
the pin of the three protocol crates, the tests that asserted the deletion
|
||||
of a key made for the account (now kept, unbound, byte for byte; only
|
||||
@@ -1759,7 +1760,8 @@ were fresh compose projects (`down -v`, `up -d`) for each smoke run.
|
||||
trait's provided `sign_out` lists the key twice in `SignOut.unbound` (once in
|
||||
its loop over the identities bound to the account, once in the `Auto` branch),
|
||||
which the tests of this repository do not mind (they use `contains`) and which
|
||||
is a follow-up for the protocol repository.
|
||||
is a follow-up for the protocol repository. (Closed in VoelinProtocol
|
||||
`v0.2.0`: a key is listed once. 17.9 has the tests that now count it.)
|
||||
- **The same leak in `voelin-store`, closed in `phase4/keystore-task34`.**
|
||||
`Store::identity` and `Store::identities` read the stored JSON of a
|
||||
TeamSpeak identity with `?`, so an `Error::Json` whose text is the
|
||||
@@ -1835,7 +1837,7 @@ changes). `Cargo.lock`, `Cargo.toml`, `README.md`, `docs/ui.md`,
|
||||
conflict: the lock resolves with `--locked`, and its difference to `main`'s is
|
||||
the branch's alone (the edges of `voelin-core` to `voelin-identity` and
|
||||
`voelin-proto`, the revision of the three protocol crates that the branch
|
||||
pinned (since moved to `c5bb6b9` by task 34), and
|
||||
pinned (since moved by task 34, and then to the tag `v0.2.0`, 17.9), and
|
||||
`voelin-model` as a git package). `CHANGELOG.md` is `main`'s entry
|
||||
(`voelin-ui-vm`); the branch adds none (17.1), and still needs none: nothing
|
||||
of this round is visible to a user.
|
||||
@@ -1960,3 +1962,80 @@ targets included.
|
||||
| `RUSTDOCFLAGS=-D warnings cargo doc --no-deps -p voelin-core --locked` | 1.94 and nightly: clean. |
|
||||
| `Cargo.lock`, `THIRD_PARTY_NOTICES.md` | Unchanged: `git diff c60acf9 -- Cargo.lock Cargo.toml` is empty, so there was nothing to regenerate. |
|
||||
| `scripts/it-smoke.sh ts3 ts6`, on `c60acf9` (before) and at the head (after) | The stack of `VoelinGateWay/dev/docker-compose.yml` as a compose project of its own (`voelin-seam-followups`), the state directory under the scratch directory. On a fresh stack each (`down -v`, `up -d` before each): both pass every per-server scenario of ts3 and ts6 (connect and tree, server and channel chat, voice tone, invisible presence, relay, gateway, history, pins and reactions, the engine's voice features, the TeamSpeak 6 streams), the TeamSpeak session module stage (12 passed, 2 ignored; 16.38 s before, 16.73 s after) and fail in the same place, the engine stage at `ts6_banners` (`live.rs:396`, 5 passed, 1 failed), the failure 17.5 and 17.7 record. Two more runs on the first stack, which was no longer fresh (before, then after), gave the same: the outputs have 100 lines each and differ only in ids, counters, tone ratios and the number of tests filtered out of the module stage (236 before, 240 after: this round's four unit tests). The very first run, on `c60acf9` on the first stack, stopped earlier, at the first gateway request of the admin identity of ts3 (`config_set` not answered, observe stayed `Connecting`); it did not repeat on the fresh stack at `c60acf9`, nor in any later run, and was not chased. |
|
||||
|
||||
### 17.9 The pin moves to the tag `v0.2.0` (`phase4/protocol-pin-v0.2.0`)
|
||||
|
||||
VoelinProtocol released `v0.2.0` on 2026-10-27 (the tag points at `a45c154`;
|
||||
its `README.md`, "Releases", says how a consumer pins, and its `CHANGELOG.md`,
|
||||
"For consumers", what a consumer at the pin of task 34 meets). This round, on
|
||||
`phase4/protocol-pin-v0.2.0` from `0d32ac2`, moves the three entries of
|
||||
`[workspace.dependencies]` (`voelin-identity`, `voelin-proto`, `voelin-model`)
|
||||
from that rev to `tag = "v0.2.0"`, and the `voelin-model` of `spikes/gpui` with
|
||||
them. The `mao-*` agents were not registered in the session, so a
|
||||
general-purpose agent played `mao-implementer`, attempt 1. No history was
|
||||
rewritten.
|
||||
|
||||
| Commit | What |
|
||||
|---|---|
|
||||
| `dccedf2` | `spikes/gpui/Cargo.lock` loses three dependency edges (tokio's `signal-hook-registry` and `tracing`, zbus's `tokio`) and nothing else. It was stale on `main` since `ed49c28` (`voelin-platform`: notify-rust's `z` instead of `z-with-tokio`, which updated the root lock and not this one): `cargo build --locked` in `spikes/gpui` failed there with "cannot update the lock file", before the pin was touched. Separate from the pin so that the pin's own diff to the lock is the three packages. |
|
||||
| `6938dbe` | The pin. Both `Cargo.toml` files, both locks, the two tests of the sign-out, and the two strings that named the old rev. |
|
||||
| the commit of this section | The CHANGELOG line, `docs/building.md`, `docs/ci.md`, `docs/architecture.md`, and the four sentences of this file that named the old rev (the rev is not written in the tree any more; it is in the history of `Cargo.toml`). |
|
||||
|
||||
**The lock.** `cargo update -p voelin-identity -p voelin-proto -p voelin-model`
|
||||
also moved ten edges of the lock that have nothing to do with the protocol
|
||||
(`windows-sys` 0.61.2 to 0.52.0, 0.48.0 and 0.45.0 in seven crates, `itertools`
|
||||
0.14.0 to 0.11.0, `base64` 0.23.1 to 0.22.1, `getrandom` 0.4.3 to 0.3.4; the
|
||||
message of `6938dbe` says eleven, ten is right). The manifests of the three
|
||||
crates are the same at both revisions but for `voelin-model`'s version (0.1.0
|
||||
to 0.2.0), so the lock was edited by hand instead: the `source` of the three
|
||||
packages and that one version, in each of the two locks, and
|
||||
`cargo metadata --locked` accepts both. Each lock has one revision of each
|
||||
crate, and `cargo tree -d` lists no `voelin-*` package twice, in either
|
||||
workspace. The lock's set of third-party packages is the same (only the three
|
||||
protocol packages changed, and `voelin-model`'s version), and
|
||||
`THIRD_PARTY_NOTICES.md` lists third-party packages, so
|
||||
`scripts/notices.sh --check` is clean without a regeneration.
|
||||
|
||||
**What "For consumers" meant here.**
|
||||
|
||||
- `KeyStore::sign_out` lists a device key once. The client never had a test
|
||||
that failed on the double listing: `a_device_key_that_carries_a_binding_is_unbound_and_keeps_the_rest_of_its_row`
|
||||
(the row of the device key carries a device-only binding, the one case in
|
||||
which the trait listed the key twice, see 17.6) asked `contains`. It counts
|
||||
now: one entry in `unbound` and none in `removed`. A new test,
|
||||
`a_device_key_that_carries_a_binding_is_listed_once_as_deleted_when_it_is_forgotten`,
|
||||
does the same for `Forget` (one entry in `removed`, none in `unbound`; the
|
||||
key used to be in both lists). Both fail with the pin at the old rev (checked
|
||||
by putting `Cargo.toml` and `Cargo.lock` of `main` back for the run: the
|
||||
first sees the key twice in `unbound`, the second once in each list) and pass
|
||||
at the tag. The other sign-out tests passed unchanged.
|
||||
- `Debug` of `Hello`, `Welcome`, `Server`, `Channel`, `Member` and the other
|
||||
messages that `voelin_proto::redact::REDACTED` lists prints `<redacted>` for
|
||||
their secrets. No code or test of the client formats one of those messages
|
||||
with `{:?}` and looks at the text: the only `Debug` text a test inspects is
|
||||
that of the engine's events in
|
||||
`a_teamspeak_identity_that_cannot_be_read_is_refused_without_the_key`, which
|
||||
looks for pieces of a TeamSpeak key. Nothing to adapt; the full test run
|
||||
below is the evidence.
|
||||
- Every crate is at 0.2.0, `voelin-model` from 0.1.0: visible in the lock only.
|
||||
The conformance suite still has 17 cases (`fake_tests.rs` and `live_tests.rs`
|
||||
name the tag where they named the rev).
|
||||
- The rest of the list is additive and in crates the client does not use.
|
||||
|
||||
**What did not change.** The deploy key, `.gitea/known_hosts`, the CI step that
|
||||
runs `git ls-remote` on the repository, and `deny.toml` (`allow-git` is the
|
||||
URL): Cargo fetches the tag over the same SSH access as it fetched the commit
|
||||
(`git ls-remote` shows the tag as an annotated one, `v0.2.0^{}` being
|
||||
`a45c154`).
|
||||
|
||||
**What ran.** The toolchain of `rust-toolchain.toml` (1.95.0, from the pinned
|
||||
fenix of `spikes/gpui/shell.sh`), on a machine at a load average of about 40.
|
||||
|
||||
| Check | Result |
|
||||
|---|---|
|
||||
| `cargo fmt $(scripts/own-crates.sh) -- --check` | clean |
|
||||
| `cargo clippy $(scripts/own-crates.sh) --all-targets --no-deps --locked -- -D warnings` | clean |
|
||||
| `cargo test --workspace --locked --no-fail-fast`, under Xvfb with `VOELIN_X11_TEST_DISPLAY` | 1,293 passed, 0 failed, 21 ignored. `voelin-store`: 31 unit tests, `identity_text` 4, `keystore` 57 (56 and the new one); `voelin-core`: 273 and 2 ignored, `session_fake` 20 and 2 ignored, `session_backends` 2; the registry's conformance suite passes 17 of 17 |
|
||||
| `cargo deny --locked --workspace check` (cargo-deny 0.20.2) | advisories, bans, licenses and sources ok; the two warnings, yanked `crypto-bigint` and `clipboard-win`, are of packages this change does not touch |
|
||||
| `scripts/notices.sh --check` | clean, no regeneration |
|
||||
| `spikes/gpui`: `cargo build --locked` and `cargo clippy --locked --all-targets -- -D warnings` (`shell.sh`, 1.95) | both clean |
|
||||
Reference in new issue
Block a user