diff --git a/CHANGELOG.md b/CHANGELOG.md index f33b945..0d2f0e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -231,6 +231,14 @@ User-visible changes of the apps and the `tsgw` gateway. The format follows connections, so tsgw no longer earns a 600 second ban. It starts while the TeamSpeak server is still down and connects once it is up, its `/health` says what is missing, and it stops cleanly on SIGTERM. +- The client builds on VoelinProtocol's release `v0.2.0` (the tag, no longer a + commit) for `voelin-identity`, `voelin-proto` and `voelin-model`; nothing the + apps do changes. Two differences underneath: signing out of an account lists + a kept device key once (a key whose row carried a device-only binding was + listed twice), and the debug text of the protocol's messages (`Hello`, + `Welcome`, `Server`, `Channel`, `Member` and the others whose secrets + VoelinProtocol lists) shows `` in place of a password or a token, so + a log line or a failed test that prints one does not show it. ### Removed diff --git a/Cargo.lock b/Cargo.lock index 7e48078..9255212 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12597,7 +12597,7 @@ dependencies = [ [[package]] name = "voelin-identity" version = "0.2.0" -source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?tag=v0.2.0#a45c1541b76dcccd23137a357a1e78dfccddc833" dependencies = [ "aws-lc-rs", "base64 0.23.1", @@ -12655,8 +12655,8 @@ dependencies = [ [[package]] name = "voelin-model" -version = "0.1.0" -source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +version = "0.2.0" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?tag=v0.2.0#a45c1541b76dcccd23137a357a1e78dfccddc833" dependencies = [ "prost", "serde", @@ -12695,7 +12695,7 @@ dependencies = [ [[package]] name = "voelin-proto" version = "0.2.0" -source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?tag=v0.2.0#a45c1541b76dcccd23137a357a1e78dfccddc833" dependencies = [ "bytes", "prost", diff --git a/Cargo.toml b/Cargo.toml index f8fb442..cfef35d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,15 +59,18 @@ publish = false # The protocol repository is private (VoelinProtocol). This is the SSH URL its # docs/development.md names, so that a per-developer .cargo/config.toml [patch] # can point it at a sibling checkout (docs/building.md, "Working with a sibling -# VoelinProtocol checkout"). Pinned by commit until the protocol tags a release: -# the three crates below are at one revision (main c5bb6b9: the account-bound -# KeyStore whose sign-out keeps every device key and the release of a device key, -# Phase 2 task 34; the account types of the session seam). -voelin-identity = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" } +# VoelinProtocol checkout"). Pinned by the release tag (v0.2.0 is the first with the +# protocol crates; its README, "Releases", says how): the three crates below are at +# one tag, so the lock has one revision of each, and moving to a newer release means +# changing the `tag` of all three together (docs/building.md, "Depending on +# VoelinProtocol"). The account-bound KeyStore whose sign-out keeps every device key +# and the release of a device key, Phase 2 task 34, and the account types of the +# session seam are in it. +voelin-identity = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", tag = "v0.2.0" } # The backend-neutral session seam (`voelin_proto::link`) and the v1 messages. -voelin-proto = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" } +voelin-proto = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", tag = "v0.2.0" } # The UI-facing domain model and the client's replica of v1 entities. -voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" } +voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", tag = "v0.2.0" } # GPUI, gpui-component and their assets for the GPUI front end (voelin-gpui). Pre-1.0: # pinned exactly (it pins its `gpui-pre` snapshot exactly too), upgraded in commits of # their own after rebuilding spikes/gpui on the new release (docs/design/gpui-spikes.md, diff --git a/crates/voelin-core/src/link/fake_tests.rs b/crates/voelin-core/src/link/fake_tests.rs index a04b9ee..e2d4171 100644 --- a/crates/voelin-core/src/link/fake_tests.rs +++ b/crates/voelin-core/src/link/fake_tests.rs @@ -313,7 +313,7 @@ async fn the_conformance_suite_passes_on_a_session_of_the_registry() { } let report = conformance::run(&through_the_registry).await; assert_eq!(report.cases.len(), conformance::CASES.len()); - assert_eq!(report.cases.len(), 17, "the suite of c5bb6b9 has 17 cases"); + assert_eq!(report.cases.len(), 17, "the suite of v0.2.0 has 17 cases"); assert!( report.cases.iter().all(|(_, verdict)| *verdict == Verdict::Passed), "{:?}", diff --git a/crates/voelin-core/src/ts/ts_session/live_tests.rs b/crates/voelin-core/src/ts/ts_session/live_tests.rs index ba51e9a..cbf578e 100644 --- a/crates/voelin-core/src/ts/ts_session/live_tests.rs +++ b/crates/voelin-core/src/ts/ts_session/live_tests.rs @@ -333,7 +333,7 @@ enum Expect { } use Expect::{NotRun, Passes, Skipped}; -/// Every case of the suite of the protocol repository at `c5bb6b9`, in its +/// Every case of the suite of the protocol repository at `v0.2.0`, in its /// order, with what a TeamSpeak session does with it. A case the suite gains /// fails `the_suite_is_known` until it is listed here. /// diff --git a/crates/voelin-store/tests/keystore.rs b/crates/voelin-store/tests/keystore.rs index cb1b595..3b4600f 100644 --- a/crates/voelin-store/tests/keystore.rs +++ b/crates/voelin-store/tests/keystore.rs @@ -791,6 +791,11 @@ fn pair(blob: &IdentityBlob) -> (String, String) { (blob.kind.clone(), blob.uid.clone()) } +/// How many times a sign-out's list names the identity `key` (by kind and uid). +fn times_listed(infos: &[IdentityInfo], key: &IdentityInfo) -> usize { + infos.iter().filter(|info| info.kind == key.kind && info.uid == key.uid).count() +} + /// The record of the install replaced by damaged JSON. fn damage_the_record(store: &SqliteKeyStore, json: &str) { let mut damaged = store.get(KIND_ACCOUNT, &record().blob_uid()).unwrap().unwrap(); @@ -1887,9 +1892,19 @@ fn a_device_key_that_carries_a_binding_is_unbound_and_keeps_the_rest_of_its_row( }; assert!(bound(&before), "the setup binds the key"); + // It is listed once, as kept: VoelinProtocol before v0.2.0 listed a key whose + // row carried the binding twice in `unbound`. let done = install.store.sign_out(&binding().account, DeviceKeyChoice::Auto).unwrap(); - assert!(done.unbound.contains(&device_key_info()), "{bound_existing_key}: {done:?}"); - assert!(!done.removed.contains(&device_key_info()), "{bound_existing_key}: {done:?}"); + assert_eq!( + times_listed(&done.unbound, &device_key_info()), + 1, + "{bound_existing_key}: {done:?}" + ); + assert_eq!( + times_listed(&done.removed, &device_key_info()), + 0, + "{bound_existing_key}: {done:?}" + ); let after = named_row(&db, KIND_VOELIN, &uid); assert!(!bound(&after), "{bound_existing_key}: unbound"); @@ -1905,6 +1920,37 @@ fn a_device_key_that_carries_a_binding_is_unbound_and_keeps_the_rest_of_its_row( } } +#[test] +fn a_device_key_that_carries_a_binding_is_listed_once_as_deleted_when_it_is_forgotten() { + // The same row, named by `Forget`: the sign-out unbinds it in its loop over + // the account's identities and deletes it after. It is listed once, as + // deleted; VoelinProtocol before v0.2.0 also left it in `unbound`. + for bound_existing_key in [true, false] { + let Install { store, .. } = signed_in_install(bound_existing_key); + let device_only = AccountBinding { synced: false, ..binding() }; + store.put(&IdentityBlob::voelin(&key()).unwrap().with_binding(device_only)).unwrap(); + + let done = + store.sign_out(&binding().account, DeviceKeyChoice::Forget(key().uid())).unwrap(); + assert_eq!( + times_listed(&done.removed, &device_key_info()), + 1, + "{bound_existing_key}: {done:?}" + ); + assert_eq!( + times_listed(&done.unbound, &device_key_info()), + 0, + "{bound_existing_key}: {done:?}" + ); + assert!(store.voelin_key(&key().uid()).unwrap().is_none(), "the key is deleted"); + assert_eq!(store.account_record().unwrap(), None); + assert_eq!( + store.sign_out(&binding().account, DeviceKeyChoice::Auto).unwrap(), + SignOut::default() + ); + } +} + #[test] fn a_sign_out_scrubs_the_copies_it_deletes_and_leaves_the_kept_keys_in_the_file() { // What a sign-out still deletes is a synced copy (a private key, which diff --git a/docs/architecture.md b/docs/architecture.md index 486509f..64d38dd 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -516,7 +516,8 @@ deleted. Keys deleted before `secure_delete` was on stay in the free pages until the database is vacuumed. `voelin-identity` comes from the private VoelinProtocol repository as a git -dependency pinned by commit ([building.md](building.md#depending-on-voelinprotocol)). +dependency pinned by its release tag, `v0.2.0` +([building.md](building.md#depending-on-voelinprotocol)). ## Streams diff --git a/docs/building.md b/docs/building.md index 84c4e9f..61d1f81 100644 --- a/docs/building.md +++ b/docs/building.md @@ -161,15 +161,20 @@ dependencies in the workspace `Cargo.toml`: ```toml [workspace.dependencies] -voelin-identity = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "…" } -voelin-proto = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "…" } -voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "…" } +voelin-identity = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", tag = "v0.2.0" } +voelin-proto = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", tag = "v0.2.0" } +voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", tag = "v0.2.0" } ``` -They are pinned by one commit until the protocol tags a release; moving -to a newer protocol means changing the `rev` of all three (later a `tag`) and committing +They are pinned by the protocol's release tag, all three at the same one +(`v0.2.0` is the first tag with the protocol crates; VoelinProtocol's README, +"Releases", says how to pin, and its `CHANGELOG.md`, "For consumers", what a +move changes). Moving to a newer release means changing the `tag` of all three, +making what its "For consumers" list asks of this repository, and committing the resulting `Cargo.lock` together with `THIRD_PARTY_NOTICES.md`, which -`scripts/notices.sh` regenerates (the CI notices job fails on a stale one). +`scripts/notices.sh` regenerates (the CI notices job fails on a stale one). The +lock then has one revision of each crate, and `spikes/gpui/Cargo.toml` pins +`voelin-model` at the same tag with a lock of its own. Cargo fetches it over SSH, so the machine needs an SSH key that can read VoelinProtocol (an `ssh-agent` or a `~/.ssh/config` entry for `git.faumaray.com`); if Cargo's built-in git client cannot use your SSH setup, @@ -219,4 +224,5 @@ voelin-model = { path = "../VoelinProtocol/crates/voelin-model" } - With the patch active Cargo rewrites `Cargo.lock` (the patched crates lose their git `source`). Do not commit that: run `git checkout Cargo.lock` before committing, or remove the file and run `cargo update -p voelin-identity -p voelin-proto -p voelin-model` - after changing the `rev` (for all three crates). CI builds with `--locked` and has no patch. + after changing the `tag` (for all three crates; `cargo update -p` can move unrelated + lock edges, so review the lock diff or edit the lock by hand). CI builds with `--locked` and has no patch. diff --git a/docs/ci.md b/docs/ci.md index 3c43ed8..ed51c50 100644 --- a/docs/ci.md +++ b/docs/ci.md @@ -61,9 +61,10 @@ the separate `release.yml` workflow below. distribution servers, crates.io and dependency/license sources used by cargo-about. The workspace also depends on the **private** VoelinProtocol repository - (`voelin-identity`, over SSH), so the job needs read access to it and the - server's SSH port. The workflows set that up themselves from a repository - secret: [VoelinProtocol access](#voelinprotocol-access). A runner needs + (`voelin-identity`, `voelin-proto` and `voelin-model` at its release tag, + over SSH), so the job needs read access to it and the server's SSH port. + The workflows set that up themselves from a repository secret: + [VoelinProtocol access](#voelinprotocol-access). A runner needs nothing for it beyond the network access and the image tools above. 4. Provision enough RAM, swap and free disk for a full Slint workspace build plus cargo-deny/cargo-about compilation. These are large builds; monitor @@ -194,9 +195,13 @@ known and left alone. ### VoelinProtocol access -The workspace depends on `voelin-identity` from the **private** repository -`Voelin/VoelinProtocol`, as a git dependency over SSH -([building.md](building.md#depending-on-voelinprotocol)). Cargo resolves the +The workspace depends on `voelin-identity`, `voelin-proto` and `voelin-model` +from the **private** repository `Voelin/VoelinProtocol`, as git dependencies over +SSH, pinned by its release tag `v0.2.0` +([building.md](building.md#depending-on-voelinprotocol)). The tag is read over +the same SSH access as the commit it replaced (Cargo fetches it through the +system `git`, like any ref), so the deploy key, the host key and the read check +of the step below are as they were. Cargo resolves the whole workspace before it builds anything, so *every* cargo command needs that access: all of CI, all three package images and the gateway image (whose crate does not use `voelin-identity` itself). Without it the first cargo diff --git a/docs/session-seam.md b/docs/session-seam.md index 72673a8..985f491 100644 --- a/docs/session-seam.md +++ b/docs/session-seam.md @@ -4,7 +4,7 @@ Status: design (2026-10-20); slices 1, 2 and 3 are implemented (section 13 says how slice 1 differs from this text, sections 14 and 15 what its reviews changed, section 16 what slice 2 built, found and corrected, section 17 what slice 3 moved, changed and ran, 17.7 the round after its review, which -brought the branch onto main `ad20979`, and 17.8 the round after the gate of the +brought the branch onto main `ad20979`, 17.9 the move of the pin to the tag v0.2.0, and 17.8 the round after the gate of the merge; 17.6 has the complete edge list for the second half); section 10 has the slices. @@ -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 `` 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 | diff --git a/spikes/gpui/Cargo.lock b/spikes/gpui/Cargo.lock index 69cdc84..78c6180 100644 --- a/spikes/gpui/Cargo.lock +++ b/spikes/gpui/Cargo.lock @@ -8959,10 +8959,8 @@ dependencies = [ "libc", "mio", "pin-project-lite", - "signal-hook-registry", "socket2", "tokio-macros", - "tracing", "windows-sys 0.61.2", ] @@ -9725,7 +9723,7 @@ dependencies = [ [[package]] name = "voelin-identity" version = "0.2.0" -source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?tag=v0.2.0#a45c1541b76dcccd23137a357a1e78dfccddc833" dependencies = [ "aws-lc-rs", "base64 0.23.1", @@ -9768,8 +9766,8 @@ dependencies = [ [[package]] name = "voelin-model" -version = "0.1.0" -source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +version = "0.2.0" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?tag=v0.2.0#a45c1541b76dcccd23137a357a1e78dfccddc833" dependencies = [ "prost", "serde", @@ -9804,7 +9802,7 @@ dependencies = [ [[package]] name = "voelin-proto" version = "0.2.0" -source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?rev=c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562#c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" +source = "git+ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git?tag=v0.2.0#a45c1541b76dcccd23137a357a1e78dfccddc833" dependencies = [ "bytes", "prost", @@ -11304,7 +11302,6 @@ dependencies = [ "rustix", "serde", "serde_repr", - "tokio", "tracing", "uds_windows", "uuid", diff --git a/spikes/gpui/Cargo.toml b/spikes/gpui/Cargo.toml index 2a17413..c81dc51 100644 --- a/spikes/gpui/Cargo.toml +++ b/spikes/gpui/Cargo.toml @@ -28,8 +28,8 @@ voelin-core = { path = "../../crates/voelin-core", default-features = false, fea voelin-media = { path = "../../crates/voelin-media", default-features = false, features = ["vpx", "openh264", "ffmpeg", "av1", "x11"] } voelin-platform = { path = "../../crates/voelin-platform", default-features = false, features = ["x11"] } voelin-ui-vm = { path = "../../crates/voelin-ui-vm" } -# The revision the root workspace pins (chat messages for voelin-ui-vm). -voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c5bb6b914bdab86eb36f6e32a1a5bc9ac4785562" } +# The tag the root workspace pins (chat messages for voelin-ui-vm). +voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", tag = "v0.2.0" } # Logs of GPUI (the adapter it picked) and of the client's crates. env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] } log = "0.4"