Record slice 3 in the design of the session seam

Section 17: what was done, commit by commit; where the code differs from the
text of section 10 (QueryLogin.allowlisted, the ServerLink trait moved rather
than made private, Backends::register_teamspeak, files::upload deleted, the
directory the acceptance rg runs from); the API changes that phase5/ui-vm-2
has to absorb; the acceptance list; what ran against the baseline (fmt,
clippy per commit, tests on both toolchains, cargo doc, notices, the smoke
script and the live tests before and after); the follow-ups. The status line,
4.1, 4.8, 9, 11.2 (H9's two edges into src/ts) and 16.1 follow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-24 08:28:14 +03:00
1 parent d0092e467a
commit 6a08147f93
1 file changed
+179 -13
+179 -13
View File
@@ -1,9 +1,9 @@
# The session seam: the engine on `voelin_proto::link::Session`
Status: design (2026-10-20); slices 1 and 2 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 10 has
the slices.
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); section 10 has the slices.
Design for the first half of plan step 7 (Phase 4): the engine consumes
`voelin_proto::link::Session`, `ServerLink` becomes an adapter over it, and
@@ -204,10 +204,11 @@ with "no connector for {address}" (the text of `Connectors::connect`, but with t
`Engine::start` and `start_with` use `Backends::default()`, which registers
`TsConnector` (schemes `ts3server`, `teamspeak`) with the engine's myTeamSpeak
watches (4.8). New: `Engine::start_with_backends(settings, history, backends)`.
`Engine::start_with_link(settings, history, link)` stays in slices 1 and 2: it
registers a local `LinkConnector` that answers every scheme with a
`LinkSession` over the given link, so the link tests go through the whole
adapter.
`Engine::start_with_link(settings, history, link)` stayed in slices 1 and 2: it
registered a local `LinkConnector` that answers every scheme with a
`LinkSession` over the given link, so the link tests went through the whole
adapter. Slice 3 removed it (17): the tests that needed it build the same
registry themselves.
### 4.2 Connect sequence
@@ -433,7 +434,7 @@ connection quality, and the encoder's FEC and loss from `LinkStats` and
| `events` | SessionLink reports answers itself; `LocalCtx.events` for the stream task's bus events. Inside `LinkSession`, the inner link gets a bus of its own: `FileList`, `JoinFailed`, `OfflineMessages`, `OfflineMessage` and `RequestDone` from it answer pending requests, every other event (the stream task's) is forwarded to the engine's bus unchanged. Capacity 4096, and every pending request has a timeout, so a lagging receiver cannot hang one forever. |
| `frames` | `LocalCtx.frames`, passed to the inner link as is. |
| `settings` | SessionLink (progress cadence `files.progress_ms`); `LocalCtx.settings` for the stream task. |
| `myts_identity`, `myts_data` | `TsConnector` (it gets the engine's watches in slices 1 and 2, has its own setters in slice 3); the account hook of section 7 replaces them later (H4). |
| `myts_identity`, `myts_data` | `TsConnector` (it got the engine's watches in slices 1 and 2; since slice 3 it owns the senders and has the setters, 17); the account hook of section 7 replaces them later (H4). |
## 5. Presence across the seam
@@ -835,6 +836,8 @@ Implemented; section 16 says how, what it found, and what ran.
### Slice 3: the `ServerLink` layer where it is redundant; TeamSpeak types out of the API
Implemented; section 17 says how, what differs from this list, and what ran.
- `ServerLink`, `TsLink`, `Engine::start_with_link`, `LinkCtx`, `LinkCmd`,
`LinkEvent` and `Remote` are no longer public (the engine keeps `LinkCmd`
and `LinkEvent` as `session.rs`'s private vocabulary; the TeamSpeak module
@@ -920,7 +923,7 @@ Nothing here blocks this half: each has a workaround above.
| H6 | Avatars and icons as attachments (`Image.attachment_id`, content-addressed cache) instead of channel-0 paths. |
| H7 | The UI on the replica (Phase 5): the old-model projection and F1-F10 go; `u16` client ids widen to `u32` participants. |
| H8 | Reconnect with backoff, resume tokens and persisted cursors move to `voelin-sdk` once it exists; the engine consumes the SDK. |
| H9 | Move `src/ts/` (with its live tests) to `voelin-gateway-ts` (features `basic`, `streams`), first behind a `ts` feature of `voelin-core`, then by git tag; the exit check of plan step 6, `cargo tree -p voelin-core -e normal \| grep -E 'tsclientlib\|tsproto'` empty, holds after H1-H3 and this. |
| H9 | Move `src/ts/` (with its live tests) to `voelin-gateway-ts` (features `basic`, `streams`), first behind a `ts` feature of `voelin-core`, then by git tag; the exit check of plan step 6, `cargo tree -p voelin-core -e normal \| grep -E 'tsclientlib\|tsproto'` empty, holds after H1-H3 and this. Two edges run from the engine into `src/ts/` and have to be cut first: `Backends::default` registers `ts::TsConnector` (the `ts` feature makes it optional), and `link/project.rs` and `link/session_link.rs` import `ts::ts_session::{entities::user_uid, ids}`, the id and uid rule that the projection undoes the synthetic ids with (it moves to the engine side, or into `voelin-model`'s replica conversion, which already has `uid_text`). |
### 11.3 Coordination
@@ -1165,10 +1168,10 @@ fourth (F4) is an observation.
| File | What | Tests |
|---|---|---|
| `tests/session_fake.rs` | The engine through `Engine::start_with_backends` with a `FakeConnector` (scheme `fake`) and a `FakeHost` filled with `put`; `FakeHandle` plays the backend of one session. Public API only. | 16 run, 2 ignored (F3) |
| `tests/link_fake.rs` | Trimmed to the three tests that need the inner link: the stream commands (`stream_commands_reach_a_link_with_streams`), the order of a reconnect's shutdown, a replaced connection that keeps talking. | 3 |
| `tests/session_fake.rs` | The engine through `Engine::start_with_backends` with a `FakeConnector` (scheme `fake`) and a `FakeHost` filled with `put`; `FakeHandle` plays the backend of one session. Public API only. | 16 run, 2 ignored (F3); 18 run since the review of slice 2 split two tests out (17.1) |
| `tests/link_fake.rs` | Trimmed to the three tests that need the inner link: the stream commands (`stream_commands_reach_a_link_with_streams`), the order of a reconnect's shutdown, a replaced connection that keeps talking. Slice 3 made the inner link crate-private and moved the file into the crate (`src/link/fake_link_tests.rs`, 17.1). | 3 |
| `src/link/fake_tests.rs` | What needs the crate's private parts: our voice as RTP read from `sent_media`, the voice of other slots, our own voice coming back, the conformance suite through `Backends::connect`. | 4 |
| `src/link/tests.rs` | One more test: a session made outside an engine keeps its watches open (F2). | 1 |
| `src/link/tests.rs` | One more test: a session made outside an engine keeps its watches open (F2). (Slice 3 replaced it: the connector owns the watches, 17.1.) | 1 |
| `src/ts_session/live_tests.rs` | The TeamSpeak `Session` on both development servers (`VOELIN_LIVE=1`): the conformance subset and the session scenarios of 9.3. It raises the servers' anti-flood limits itself before the first connection (16.8). | 12 live, 2 ignored |
`scripts/it-smoke.sh` runs the live module before its engine stage.
@@ -1477,3 +1480,166 @@ outputs of all of them, `LD_LIBRARY_PATH` every output of every one of them
Not run: `cargo deny` (not installed in this environment; `Cargo.lock` and
`THIRD_PARTY_NOTICES.md` did not change, no dependency was added), the
Windows, Android and Flatpak builds.
## 17. Slice 3 as implemented
Slice 3 (section 10: the `ServerLink` layer where it is redundant, TeamSpeak
types out of the API) is in `phase4/session-seam`. The three non-blocking
minors of the review of slice 2 are in the first three commits, each of its
own; the slice itself follows, one commit per step, and every commit passes
`cargo fmt` and `cargo clippy --all-targets --no-deps --locked -- -D warnings`
alone (17.5).
### 17.1 What was done
| Commit | What |
|---|---|
| `dd9140e` | `cases_that_do_not_apply_fail` calls `the_suite_is_known()` first: a case the suite gains is no longer skipped by the zip with `EXPECTED`. |
| `b92379d` | The tail of `a_reconnect_finds_the_state_the_first_session_left` (a second `ConnectVoice` while connected replaces the session) is `connecting_while_connected_replaces_the_session`, and the end of `commands_reach_the_host_as_requests` (a host without streams is refused `StartStream` before any request) is `a_host_without_streams_is_not_asked_for_one`; the tests they were cut from check what their names say. `session_fake` runs 18 tests and ignores 2. |
| `362e2b9` | `presence_follows_the_host_until_it_ends` asserts `uid_of(client)` of the three clients (the base32 of the Voelin uid, the host's name for each) and `ServerDetails.uid`. |
| `029b846` | `ts_link.rs`, `voice.rs`, `book.rs`, `ts_session/`, `versions.rs` and `identity.rs` move under `crates/voelin-core/src/ts/` with `git mv` (`git log --follow` reaches their history), and the commit changes only module declarations, `use` paths and the path of `Versions.csv`. `voelin_core::versions` and `voelin_core::identity` are `voelin_core::ts::versions` and `voelin_core::ts::identity`; the UI and voelinctl follow with the paths. (`ts_session` has been a directory since slice 1: section 10 wrote `ts_session.rs`.) |
| `a451f02` | `Command::SetMytsIdentity` and `SetMytsData` are gone. `ts::TsConnector` is public, owns the account (`TsConnector::set_myts_identity`, `set_myts_data`; clones share it), and each connection holds the senders for as long as it runs, so a session outlives its connector (the F2 guarantee, now by construction: `a_connection_keeps_the_account_open_when_its_link_is_gone` in `ts/ts_link.rs` replaces the test of the standalone context's senders in `link/tests.rs`). `Backends::register_teamspeak(TsConnector)` is the public way to register a connector whose clone the application keeps; `Backends::default` registers one of its own. `LinkCtx`, `LocalCtx`, `SessionHandle` and `Session` lose the two watches. |
| `be84874` | `ObserveGateway.identity` is a `Box<IdentityBlob>` and `gateway::connect(url, &IdentityBlob)` takes the blob: `gateway.rs` reads it itself, and a blob that is no TeamSpeak identity or cannot be read is `ErrorCode::AuthFailed` from `connect` and ends an observation with its reason, without a login (`an_identity_that_cannot_be_read_ends_observing_without_a_login`). `ObserveQuery.connect` is a `Box<QueryLogin>`, which `query.rs` turns into `voelin_query::Connect` (`QueryTransport` is the core's own enum). `voelin_core::IdentityBlob` re-exports `voelin_identity::IdentityBlob`, and `ts::identity::{to_blob, from_blob}` convert (`IdentityError::Blob`, whose text says where the JSON is wrong and never what it says). `voelin-identity` is a dependency of `voelin-core`: `Cargo.lock` gains that one edge. |
| `1edc52c` | `VoiceOptions` is a struct of its own (`identity: Option<IdentityBlob>`, `client_version: Option<String>`, `stream_peer: PeerConfig`, the rest as before). `link/connect.rs` builds the connect parameters (the bookmark's link, the hello, the credential of the identity's kind: a TeamSpeak identity as its JSON, none as the empty blob, a Voelin key as its signer, any other kind refused in words); the client version spec rides the address as `client_version=<base64url of the spec>` and `ts_session::inner_options` resolves it with `ts::versions::resolve` (a spec it refuses fails the connect). `session.rs` holds `Arc<SessionLink>`, the redundant trait between them is gone, and the trait that stays, `ServerLink`, is `ts/ts_link.rs`'s (with the TeamSpeak-typed `ConnectOptions`) for `TsLink` and for the in-memory link of the tests. `LinkCtx`, `LinkCmd`, `LinkEvent` and `Remote` are `pub(crate)`, `TsLink` is `pub(crate)`, `Engine::start_with_link` is removed (not made private), and `tests/link_fake.rs` is `src/link/fake_link_tests.rs` (`git mv`), three unit tests on the same fake link through `Engine::start_with_backends` and `LinkConnector::any`. The module documentation of `link/session_link.rs` carries the contract of the vocabulary that `link/mod.rs` had. |
| `d70a358` | `voice.rs` loses `Download`, `Upload` and `CancelTransfer` (the copying task, the progress cadence, the picture limits, the cancel table, `expire_image_jobs`); it keeps the two connection jobs `OpenRead` and `OpenWrite` and refuses the three commands in words. `files::upload` and its close wait go with it (SessionLink uses `upload_to`; the TCP test of the upload runs through that), and the test of `image_download_time` moves to `cache.rs`. The picture limits and the negotiation deadline are in `SessionLink` alone, tested in `link/tests.rs` as before. |
| `ca34f84` | `QueryLogin.allowlisted`, see 17.2. |
| `f63d459` | The crate's documentation builds with warnings denied: `RUSTDOCFLAGS='-D warnings' cargo doc --no-deps -p voelin-core` failed on `efacb41` and on `59fec5b` alike (eight errors, six with `--features media-desktop`: the cache's module documentation linked to private items, the crate documentation to modules and a type that exist only with the media features), so the acceptance check could not pass without it. Plain code spans now. |
| `d0092e4` | `docs/architecture.md`: "The server link" is "The session seam", and the crate table row of `voelin-core` follows. |
No `CHANGELOG.md` entry: no difference to the baseline is visible to a user
(the UI still checks a bookmark's client version before it connects, and says
the same thing when the spec is none; `QueryLogin` runs the connection with
the options the UI always passed).
### 17.2 Where the code differs from the text of section 10
- **`QueryLogin` has a seventh field, `allowlisted`.** Section 10 lists
transport, address, user, secret, server port and server id. The live tests
(`tests/live.rs`: `ts3_engine`, `ts6_engine`) have always passed
`voelin_query::Connect` with `LineOptions::rate_limit: None`, because the
development servers allowlist their clients; the UI never did, it passed the
query crate's default (nine commands in three seconds). With the six fields
the engine's connections can only have the default limit, and both tests
failed on the first run after the slice (`timed out waiting for relayed
channel message`; the limit is the one difference between that run and the
baseline, and with the bit below the tests pass again, so the relay's
connect is slower than the two seconds the test gives it, behind the limit;
that was not investigated further). `allowlisted` is that one bit: `false`
is what the application says (it cannot know) and what the UI's login says,
so the application's connections are the ones they were; the tests say
`true`.
- **`ServerLink` is not made crate-private, it is moved**: the engine side
needs no trait (`session.rs` holds `SessionLink`), and `SessionLink` and
`TsLink` could not share one `spawn` any more, as the options of the one are
neutral and the options of the other have `tsclientlib` types. The trait is
`ts/ts_link.rs`'s, as the TeamSpeak module "keeps the inner trait".
- **The setters are reachable through `Backends::register_teamspeak`**, which
section 10 did not name: a public setter that nothing could reach would have
been a dead end.
- **`files::upload` and `CLOSE_WAIT` are deleted** (section 10 does not say):
`voice.rs` was their only user.
- **The acceptance `rg` has to be run from `crates/voelin-core/src`**: its glob
`!ts/**` is relative to the directory it runs in. From the repository root,
`--glob '!**/ts/**'` does the same.
- The bookmark-refusal tests that exercise `link/connect.rs` (`a_bookmark_the_link_would_change_is_refused`,
`the_bookmarks_a_server_has_come_back_with_their_channel`, `the_params_carry_what_the_session_needs_and_no_account_yet`)
still sit in `ts/ts_session/mod.rs`, where they were written, next to the
round trip they were part of; moving them is a tidy for later (17.6).
### 17.3 What `phase5/ui-vm-2` has to absorb
The parked branch is not touched. Every change of this slice that reaches an
application that builds `VoiceOptions`, the gateway and query commands or the
TeamSpeak helpers:
- `VoiceOptions` is no alias of `ConnectOptions` any more (`voelin_core::ConnectOptions`
and `voelin_core::link::ConnectOptions` are gone, `VoiceOptions` is
`voelin_core::VoiceOptions`): `identity` is `Option<IdentityBlob>` (was
`Option<tsclientlib::Identity>`; `voelin_core::ts::identity::to_blob(&identity)`),
`client_version` is `Option<String>`, the spec for `ts::versions::resolve` that a
bookmark stores (was `Option<tsclientlib::Version>`; keep the eager
`resolve` for the message and pass the spec string), `stream_peer` is
`PeerConfig` as before; the other fields are unchanged.
- `Command::SetMytsIdentity` and `Command::SetMytsData` are removed: the
account goes to the `TsConnector` the application registered
(`Backends::register_teamspeak`, `TsConnector::set_myts_identity`,
`set_myts_data`, `Engine::start_with_backends`).
- `Command::ObserveGateway.identity` is `Box<IdentityBlob>` (was
`Box<tsclientlib::Identity>`); `gateway::connect(url, &IdentityBlob)` (was
`&tsclientlib::Identity`).
- `Command::ObserveQuery.connect` is `Box<QueryLogin>` (was
`Box<voelin_query::Connect>`): `transport: QueryTransport` (`Raw`, `Ssh`,
`Http`), `address` (was `addr`), `user`, `secret`, `server_port`,
`server_id`, `allowlisted` (`false`); there is no `line`.
- `voelin_core::versions` and `voelin_core::identity` are
`voelin_core::ts::versions` and `voelin_core::ts::identity`;
`ts::identity::{to_blob, from_blob}` are new, `IdentityError` has a `Blob`
variant. `voelin_core::IdentityBlob` re-exports the protocol repository's type.
- No longer public: `ServerLink`, `TsLink`, `Engine::start_with_link`,
`link::{LinkCtx, LinkCmd, LinkEvent, Remote}` and the helper types of
`link` that came with them (`BoxRead`, `BoxDuplex`, `Duplex`).
`voelin_core::link` keeps `Backends` and `VoiceOptions`.
- `voelin_core::ts::TsConnector` is public, with `new`, `set_myts_identity`
and `set_myts_data`.
### 17.4 The acceptance list of section 10
| Item | Result |
|---|---|
| `rg -n 'tsclientlib\|tsproto\|voelin_query'` over `crates/voelin-core/src` without `ts/`, `gateway.rs`, `query.rs` and `stream.rs` | empty (from `crates/voelin-core/src`, `--glob '!ts/**' --glob '!gateway.rs' --glob '!query.rs' --glob '!stream.rs'`). The four exceptions name the crates privately: `gateway.rs` in `login_identity`, `connect_watched`, `attempt` and the tests, `query.rs` in `QueryLogin::connect` and `run`, `stream.rs` in a private `use tsclientlib::ClientId`, and `ts/` is the module. |
| `session.rs` names no TeamSpeak crate | none of `tsclientlib`, `tsproto`, `voelin_query` occurs in it. |
| No public item outside `voelin_core::ts` names a type of `tsclientlib`, `tsproto*` or `voelin-query` | Checked on the rustdoc JSON of the crate (nightly: `RUSTDOCFLAGS='-Z unstable-options --output-format json' cargo doc --no-deps -p voelin-core --features media-desktop`), walking every item the crate exports (5,198 of them): every type reference whose crate is `tsclientlib`, `tsproto`, `tsproto_packets`, `tsproto_types`, `tsproto_structs`, `ts_bookkeeping` or `voelin_query` is in an item of `voelin_core::ts` (11 items: `to_blob`, `from_blob`, `export`, `write_export`, `improve_level`, `Found::identity`, `resolve`, `native_version`, `KnownVersion::to_version` and the two setters of `TsConnector`); none is anywhere else. The grep of `pub` items (`rg '^\s*pub(\(crate\))? .*(tsclientlib\|tsproto\|voelin_query)'` over the crate without `ts/`) is empty, too. |
| `voelin_core::stream` keeps the re-exports | `PeerConfig`, `MediaFrame`, `MediaKind`, `MediaTime`, `Frequency`, `VideoFormat`, `VideoCodec`, `Codec`, `FrameSource`, `SyntheticSource` are re-exported as before (`stream.rs` changed in one doc comment). |
| `cargo tree -p voelin-core -e normal \| grep -E 'tsclientlib\|tsproto'` | still lists `tsclientlib`, `tsproto`, `tsproto-packets` and `tsproto-types`, as the section says it may: the TeamSpeak module is in the crate. |
| The three review minors | `dd9140e`, `b92379d`, `362e2b9`. |
### 17.5 What ran
Environment: Rust 1.94.1 (`rust-toolchain.toml`) and the nightly of the Nix
store, `rustc 1.101.0-nightly (19833af72 2026-10-20)`. The development shell
`dev rust-nightly` does not build here (`cargo-llvm-cov` fails), so both
toolchains were taken from the store paths and put in front of `PATH` in a
`nix shell` of `gcc cmake gnumake pkg-config jq` and the `.dev` outputs of
`alsa-lib openssl libvpx dav1d pipewire fontconfig freetype libxkbcommon
expat`; `nix shell` runs no setup hooks, so `PKG_CONFIG_PATH` (the `.dev`
outputs), `LD_LIBRARY_PATH` (every output of those libraries; `voelinctl`
needs `libvpx.so.12`), `LIBCLANG_PATH` and `BINDGEN_EXTRA_CLANG_ARGS`
(`glibc.dev`'s and `clang`'s include directories) were set by hand. With that
`cargo check --workspace --all-targets --locked` passes on both toolchains,
`voelin-ui`, `voelinctl`, `voelin-android` and the gateway binaries included.
`cargo-about` 0.9.2, which `scripts/notices.sh` insists on (nixpkgs has
0.9.0), was installed with `cargo install` under the scratch directory, and
the TeamSpeak 3.13.8 and 6.0.0-beta13.1 servers of `dev/docker-compose.yml`
were fresh compose projects (`down -v`, `up -d`) for each smoke run.
| Check | Result |
|---|---|
| `cargo fmt $(scripts/own-crates.sh) -- --check` | clean on 1.94. Nightly: the six files of the baseline and no other (`voelin-core/src/history.rs`, `voelin-media/src/ffmpeg/encoder.rs`, `voelin-stream/src/discovery.rs`, `voelin-ui/src/chat.rs`, `voelin-ui/src/studio.rs`, `tools/voelinctl/src/engine.rs`). `cargo fmt --all -- --check` on 1.94 differs in the vendored `crates/proto` only, as it did before (it has a nightly-only style), so it is not the check. |
| `cargo clippy $(scripts/own-crates.sh) --all-targets --no-deps --locked -- -D warnings` | clean on 1.94 at the head. Every code commit of the slice alone (`dd9140e` to `f63d459`, ten of them) was checked out detached in this worktree and passes fmt and clippy: `voelin-core` for the commits that touch tests only, all own crates for the ones that touch the UI or voelinctl. Without `--no-deps`, the command of the task (`cargo clippy -p voelin-core --all-targets --locked -- -D warnings`) stops at the vendored `tsproto-structs` (eight lints) on `efacb41` and on the head alike. Nightly, `-p voelin-core --all-targets`: `result_large_err` of `shutdown_connection` (now in `ts/voice.rs`, the same code) and the `chunks_exact` lints of `audio.rs` that the baseline gave, none in new code. |
| `cargo test -p voelin-core --locked --no-fail-fast` | 1.94: 244 lib tests pass, 2 are ignored (the live "do not apply" tests), 2 fail, both the baseline's (`discover::tests::without_records_the_gateway_itself_is_asked` and `web::tests::pictures_go_through_the_proxy_named_for_each_hop`: `localhost` resolves to `::1` here); the integration tests pass (`gateway` 9, `session_fake` 18 and 2 ignored, `session_backends` 2, `settings` 1, `stream_live` 3, `voice_features` 3, `live` 6, which return at once without `VOELIN_LIVE`). Nightly: the same numbers. With `--features media-desktop` on 1.94: 264 pass, three fail (the two and `media::tests::peer_config_follows_codecs`, which depends on the machine's codecs and failed on the baseline too). `cargo test -p voelin-ui -p voelinctl`: 134 and 7 pass. |
| Repeated runs (1.94) | `session_fake` and the three tests of `link/fake_link_tests.rs`: 15 runs each, 0 failures; the `--lib` suite: 8 full runs. `session::banner_tests::a_failing_banner_is_logged_once_with_its_address` failed once in a full `--lib` run before the last commits (`lines == []`, the test reads the log lines of its own thread with `tracing::subscriber::with_default`) and passed in every run since and in five isolated ones; it was not reproduced and not chased (a module this slice did not touch, a test that depends on a global callsite cache). |
| `RUSTDOCFLAGS='-D warnings' cargo doc --no-deps -p voelin-core` | passes, with and without `--features media-desktop` (it failed on `efacb41`, 17.1). |
| `scripts/notices.sh --check` (cargo-about 0.9.2) | `THIRD_PARTY_NOTICES.md is up to date`: `Cargo.lock` gained one line, the edge from `voelin-core` to `voelin-identity`, a crate already in the graph through `voelin-store`. `cargo deny` is not installed here. |
| `scripts/it-smoke.sh ts3 ts6`, every per-server scenario | the baseline (`efacb41`) and the head both pass them all (connect and tree, server and channel chat, voice tone, invisible presence, relay chat, gateway, history, pins and reactions, the engine's voice features, on TeamSpeak 6 the streams and the late and elsewhere ones). The outputs have 100 lines each and are equal line by line with the digits, base64 runs, uuids and ids masked, but for the random uid of the streamer in the stream-directory line. |
| The script's live module stage | 12 passed, 2 ignored on both (16.35 s before, 16.36 s after); `--include-ignored` at the head: 14 of 14 in 47 s (the two "do not apply" tests call `the_suite_is_known` first now). |
| The script's last stage (`live`, `stream_live`, `media_live`, in parallel) | both: 5 passed, 1 failed, `ts6_banners` ("disabled policy must prevent HTTP requests"), the baseline's failure. The line is `live.rs:375` before and `live.rs:396` after: the file grew by 21 lines in the slice (the `login` helper and its imports, 17.2), the assertion is the same. |
| The live binaries by hand, serially, `--features media-desktop` | before and after alike: `live` 6 of 6 (73.40 s, 73.39 s), `media_live` 2, `stream_live` 3, `voice_features` 3, `voelin-stream`'s `live_ts6` 1. |
| The first smoke run after the slice (head `d70a358`, before `ca34f84`) | `live` failed `ts3_engine` and `ts6_engine` (17.2: `QueryLogin` without `allowlisted`); it is not part of the comparison above, which is the second run on a freshly reset stack. |
### 17.6 Follow-ups
- **H9 gains two edges to cut** (11.2): `Backends::default` and the use of
`ts::ts_session::{entities::user_uid, ids}` in `link/project.rs` and
`link/session_link.rs`.
- The bookmark tests of `link/connect.rs` that still sit in
`ts/ts_session/mod.rs` (17.2) belong next to it.
- `QueryLogin.allowlisted` goes with the query observer (H5), which becomes a
`Session` of a gateway daemon.
- `Backends::default()` keeps its `TsConnector` to itself: an application that
sets the myTeamSpeak account builds its registry (`Backends::empty` and
`register_teamspeak`) and starts the engine with `start_with_backends`.
The account goes through `AccountAgent` with H4.
- Documents that still name the old paths and are not this slice's to change:
the comment of `voelin-store` (`voelin_core::identity`, a crate other
branches own) and `docs/research/ui-review.md` (research notes with line
numbers of `voice.rs`).