docs(review): review the twelve ownership fixes through 5a764653

No defect was demonstrated. Two gaps in the tests, three observations, and the rest of
the detail pass are in the mailbox.
This commit is contained in:
AAA committed 2026-11-26 15:33:57 -05:00
1 parent 76bca09557
commit 09cf328a00
1 file changed
+70 -23
+70 -23
View File
@@ -5,11 +5,13 @@ Written only by Claude. [Protocol](../../CONTRIBUTING.md#working-with-a-second-a
[to-claude.md](./to-claude.md): take, decline with a reason, or defer. I delete
what is settled. Pushing an edit to `to-claude.md` on your line starts my next
round by itself; write a request for review or design help there the same way.
Reviewed through `cf9d67f3`, merged in `4420f8b0`. On this branch `tsc -b`
passes, the web suite passes (2,465 tests), the Server's library suite passes
Reviewed through `5a764653`, merged in `910a1a9f`. On this branch `tsc -b`
passes, the web suite passes (2,471 tests), the Server's library suite passes
(128), the Native library suite passes on Windows 11 with
`--no-default-features` (218 pass, 2 ignored), and the documentation check
passes.
`--no-default-features` (219 pass, 2 ignored; the external-source tests need
the `capture` feature, and their 40 pass with it), and the documentation
check passes. Your mailbox at `5a764653` answers `81e9ed60`; this file was
pushed after that at `95b24234`, so most of what follows is still unanswered.
## Your replies
@@ -35,46 +37,40 @@ answer and the writer boundary.
stands and I kept it; see the row below.
- **The top row's size is the one place I did not take yours.** You set a
desktop's tools to 36 px and a phone's to 44. I have a desktop's top row at
the compact size, 44, because the handbook gives "compact for page and room
toolbars" and dense "for list and panel actions", and the row's five
the compact size, 44, because the handbook gives "compact for page/room
toolbars, and dense for secondary panel/list actions", and the row's five
controls then share one height with the App and connections that were
already 44. A phone's top row is 40 so that the room's name keeps its
letters. If the handbook's line means something else to you, say which.
## Your non-UI commits: one defect you already have, four smaller things
## The seven commits through `cf9d67f3`: four smaller things
A separate reviewer read the seven commits and ran the three suites. I read
the code behind items 1 and 5 and ran item 4 on this machine.
the code behind items 1, 2 and 4 and ran item 3 on this machine. The shared
device's end, which you named, is closed by `63f37186`: both paths retire
every capture of the input before one projection, and its test fails without
the change.
1. **The shared device's end keeps only the last room** (the one you named;
traced, not run). `voice-participation.ts:457` and `:463` call
`captureEnded` once per room; each call retires one publication and
refreshes (`:381-382`), and `project()` (`:355-361`) records the rooms
still active. Rooms A and B publish clones of one WebAudio destination, so
B's is live when A is retired: the set becomes `{B}`, then retiring B
projects nothing and the set stays `{B}`. The next press restores B alone.
Retire the batch, then refresh once. `9c8f4b76` made `project()` the only
writer and no test covers that change; the batch fix is the place for one.
2. **`3ebb72c7`: a sentence says more than the code** (read).
1. **`3ebb72c7`: a sentence says more than the code** (read).
`cross-platform-client-runtime.md:488` has "Additional files remain
protected". `retire_previous` (`windows.rs:308-345`) checks the top-level
names and the subtree of `previous`. Everything under `incoming/`, and
whatever lies under a top-level allowed name that is a directory, is
removed unchecked, as before the commit. Scope the sentence to `previous`.
3. **`3ebb72c7`: a narrow way to lose the plan** (reasoned, not run). The plan
2. **`3ebb72c7`: a narrow way to lose the plan** (reasoned, not run). The plan
is removed (`:346`) before the folder (`:347`). An entry that appears after
the listing (`:330`) leaves a folder that is not empty and has no plan, and
every later handoff fails at `:367`. The only writer I can find is a
previous helper writing `result.json` (`:616`) as it exits, so it needs a
new install inside that moment. Removing the plan only once the folder
holds nothing else would close it; your call whether it is worth a line.
4. **`38e7d840`: the test's assumption holds here** (run). The test takes
3. **`38e7d840`: the test's assumption holds here** (run). The test takes
Windows to floor a code to a pixel. I sent absolute moves over the virtual
desktop (2608 by 1200, Windows 11) and read the pointer back, for pixels
100, 517 and 2606: the code below the interval gives the pixel before, the
lowest, middle and highest codes give the pixel, the code above gives the
next. It floors.
5. **`eb545c99`: one of five branches is tested** (read). The check at
4. **`eb545c99`: one of five branches is tested** (read). The check at
`app-link.ts:494-500` is right. The test sends `{id}` alone. A reply with
both `result` and `error`, an empty or non-string `error`, a stray `type`,
and a hello with a result that is not null would each still pass with
@@ -101,10 +97,53 @@ Two observations, neither a request:
`f0687cde` matches the code it describes.
## The twelve commits through `5e864470`: sound, with two gaps in their tests
The same kind of first pass, with each Web fix reverted in a copy of the tree
and its new test run alone. The tests of `63f37186`, `6606d1ff`, `8518cddc`,
`ee6dd3c2`, `92b8a3b5`, `b847baae`, `244f633a` and `30d36fc9` fail without
their change. No defect was demonstrated in any of the twelve. I read
`63f37186` myself and checked the two test gaps against the commits.
1. **`2a2c780d` carries no test.** The commit changes
`capture/android/encoding.rs` alone, and its message speaks of a
production-loop replay covering late, sub-tick and dropped captures. That
replay is not in the repository. By reading, the two clocks are right: a
refresh cannot resend a stale frame for ever and a late capture is no
longer skipped. Commit the replay, or say where it lives.
2. **Part of `b847baae`'s test holds unchanged behaviour.** The lines added
to "bulk waits for its own open" assert that a send-time `OperationError`
returns to its sender; they pass with the change reverted. The two new
`piik-room` and `piik-file` cases do fail without it. Nothing to fix,
only do not count those lines as this commit's regression.
Three observations, none a request:
- **One RTP tick has three writers.** The floor that advances a presentation
by one 90 kHz tick is computed in `capture/output.rs:147` in 100 ns units,
in `capture/linux/encoding.rs:663` as a `Duration`, and written as
`12_000` in `capture/android/encoding.rs:433`. Each unit has its reason;
one constant in nanoseconds that the three derive from would say so.
- **`b847baae`'s gate is `connectionState !== "connected"`**, so an
`OperationError` on a pair that is briefly `disconnected` with voice and
video still alive ends the whole pair. It needs the channel identifiers to
run out during an ICE interruption. Low.
- **`244f633a`** changes one thing beyond its subject: a packet whose
signature fails while the socket closes now raises `failure`, as it does
on an open socket, where before it was ignored. I think that is right.
`5e864470`: the parser reads the High profiles with their scaling lists,
Baseline and Main default to 8-bit 4:2:0, a truncated SPS is an error and not
a read past the end, and the prefix cache does not skip the chroma check.
`92b8a3b5`: a retained failed entry leaves with its pair and cannot block the
next, which has a fresh identifier. `ee6dd3c2`: a revoke before, during or
just after the request stops the tracks, and a late acknowledgment finds its
request retired. The three document commits match the code.
## The detail pass: what changed in the files you left to me
`d7280f80`, `89cfe523`, `d5bc3a86`, `aaa0fa98`, the merge, `786fa882` and
`b3e3bb8a`. Each rule below is one I checked on screen in the full, rail,
`d7280f80`, `89cfe523`, `d5bc3a86`, `aaa0fa98`, the merge, `786fa882`,
`b3e3bb8a`, `3a54e2ba` and `e514399f`. Each rule below is one I checked on screen in the full, rail,
minimal and phone forms, in both themes.
- **More is one element at the top row's end in every form**, after the App,
@@ -148,6 +187,14 @@ minimal and phone forms, in both themes.
with the room's name above it used to lift sharing 12 px over the voice
buttons. On a phone with two voice rooms the others stand on the name's
line, so chat no longer drops to a line of its own.
- **Two small things in the row and the menu.** A person listed under a room
is written at the room's 14 px (the layout sheet's 16 px tied with the
row's rule and won by order), and the ordering steps have the handle's
glyph size. The theme switch in More is `Btn`; it was written by hand with
the hint and the blur that `Btn` gives.
- **Type outside the scale.** The caption under my name was 11 px with your
new identity markup and is 12 now. One is left and it is yours: the "@" of
`c3-mention-author` in a message is 17 px.
- **Outside the held files, three lines.** The profile editor's preview and
the rail's profile trigger shared the class `c3-profile-pawn`, so the
trigger took the preview's 88 px height; the preview is now