Skip to content

Commit 2b63bc7

Browse files
docs(release): 0.5.0 notes carry the session-timer init-once fix
The fix landed on PR #28 (96806fe) after the third CI timeout of the two-tab 409 e2e test named its mechanism from the captured state. The CHANGELOG says what the learner saw and what changed; the release note keeps it to the one-line consequence beside the other correctness fixes.
1 parent b3eb9ac commit 2b63bc7

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,14 @@ experience may change before `1.0.0`.
151151
literal marker `>-`, so it printed no reason and would have accepted an
152152
empty one — the unexplained deferral the guard exists to refuse. It now
153153
reads the indented text and refuses an empty block.
154+
- The Study Session view's timer ran its `init()` twice per page load (Alpine's
155+
own call plus the markup's `x-init`), each run reading `/api/session/state`.
156+
A tab sitting on the session picker could adopt a session started in
157+
another tab when the slower read landed — Start hidden under the live
158+
layout, no 409, no reattach offer. `init()` now runs once per page load;
159+
a second tab's Start reaches the server and is offered reattach. Named by
160+
the state captured at the click in CI (third occurrence, first with
161+
evidence) and pinned by a `node --test` replay of that race.
154162

155163
### Security
156164

‎releases/v0.5.0.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ does not advertise GitHub or PyPI binary distribution.
9191
was just spared as the primary with its own deferral printed beneath it.
9292
Found by emitting the owner's rubric readings through both readers; the
9393
earlier fixture had silenced one.
94+
- The Study Session timer's `init()` ran twice per page load, each run
95+
reading the live-session state; the slower read could adopt a session
96+
started in another tab into a tab that was sitting on the picker. It now
97+
runs once, so a second tab's Start is refused with the reattach offer it
98+
was designed to get.
9499
- `anyio` 4.15.1 (two published advisories); both dependency audits clean.
95100

96101
### Release tooling

0 commit comments

Comments
 (0)