Skip to content

Release 0.2.29: Try again in the signal viewer - #433

Merged
neuromechanist merged 10 commits into
mainfrom
staging
Oct 6, 2026
Merged

neuromechanist merged 10 commits into
mainfrom
staging

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Release 0.2.29. The full list is in CHANGELOG.md under [0.2.29] - 2026-10-06 (#431).

  • A Try again button when the signal viewer fails to open a recording (Viewer: a Try again action when the first recording fails to open #416, Viewer: Try again when the first recording fails to open #428), on the dataset page's viewer dialog and in the embed. Before, a failed first open left an error and a link, and only a page reload recovered, which is the worst case in an embed. The button re-runs the same open through the viewer session, so it is superseded and guarded like any other open. When the viewer's own code failed to load, it reads "Reload page" and reloads with ?view= naming the recording, because Chromium and WebKit remember a failed dynamic import for the life of the document.
  • Release review fixes (Fix the 0.2.29 release review findings #436): the outage message's Try again is described by its sentence, a failed retry that ends in a message with no button puts the focus on the message, the retry class lives in one module with a test tying it to the stylesheet, and the changelog and three comments say only what is true.
  • Package metadata: the package.json description now reads "nemar.org is the largest archive tool and compute resource for human biosignals" (chore: update the package description #432).

Not in this release, on purpose: anything for private.nemar.org. The host does not resolve yet and nothing links to /auth/private/authorize; that surface has its own work and ships separately.

Release review

Two Sonnet reviewers read the whole origin/main...origin/staging diff, one for correctness and behavior, one for tests, docs and release hygiene. No blocker from either.

Fixed in #436:

  • The outage Try again lacked the aria-describedby the other message has, and the changelog claimed it did (important).
  • A retry ending in a message with no button left focus on the page body.
  • The retry class was spelled in three places with nothing tying them together.
  • Wrong comments (message and button pairing, CSS scope, module failures), a stale handoff.

Filed, not fixed:

Not changed: a retry whose present hook returns false re-enables the old button with only a console error (the dialog markup would have to be missing, and then the first open fails the same way); the "largest archive tool" wording is the maintainer's.

Testing

  • Prepare release stripped the version to 0.2.29 on staging (1ac10bf); CI and Deploy staging passed on that commit.
  • bun run lint, bun run typecheck (0 errors) and bun run test (3014 passed) on the fix branch; mutating the retry class name or the outage button's aria-describedby each fails a new test.
  • The retry paths in a real browser (Chromium, against the deployed preview of Fix the 0.2.29 release review findings #436, failures injected at the HTTP level, no stand-ins for site code), on /dataset/on007753/embed:
    • A recording store that answers 503: "could not load" with Try again, described by the message.
    • A failed retry says "still could not load" and the focus is on the new button, described by the new message.
    • A retry that finds the store missing: no button, and the focus is on the message.
    • The store back up: Try again recovers the viewer.
    • The viewer's chunk blocked: the button reads Reload page and goes to ?view=<recording>.
  • CI green and test.nemar.org serving the tip of this PR (7a4fa18), required by the main ruleset.
  • After merge (e465c2d), on production:
    • curl -s https://nemar.org/version.json reports 0.2.29; v0.2.29 is tagged and released, and staging reopened at 0.2.30-dev0.
    • The embed answers 200 with frame-ancestors * and no X-Frame-Options on nemar.org and www, and app.nemar.org 301s to the apex; the dataset page still sends 'self' and SAMEORIGIN.
    • The same five retry scenarios as above pass on https://nemar.org/dataset/on007753/embed (Chromium, failures injected at the HTTP level).
    • Not done: the dataset page's viewer dialog in a browser (it shares the session code with the embed, and is covered by the unit tests of the shared helpers only).

Rollback

Cloudflare Pages "roll back to this deployment" on the previous production deployment. The permanent fix is a revert on staging and a new promotion.

nemar-bot and others added 9 commits October 5, 2026 17:07
* Viewer: Try again when the first recording fails to open

A failed first open left an error and a link, and only a reload recovered.
The message now carries a Try again button that re-runs the same open through
the session (same claim and supersession), on the dialog and the embed. When
the viewer's code did not load, the button reads Reload and reloads the page,
since Chromium and WebKit cache a failed dynamic import for the document.

Tested: unit tests for the message; Playwright on Chromium and WebKit for the
embed (code fails to load, mount throws once and twice) and the dialog.

* Viewer retry: keep ?view= on Reload, retry a store outage, and the review fixes

Reload page now goes to the address with ?view= naming the failed recording
(the failed open had already stripped it, so a bare reload opened a different
recording in an embed). The viewer's own 'could not load' message, for a store
that would not open, offers Try again too. A failed retry says 'Still
couldn't open', the button is described by the message, focus is restored only
when it was not moved, aria-busy clears before the message, and the module
failure rides on the mount outcome instead of session state.

Tested: unit tests for the message and reloadUrl; Playwright on Chromium and
WebKit for chunk failure, mount throw twice, store outage, dialog, and
dialog plus chunk failure, all with ?view=.

* Viewer retry: re-enable the outage button, say still, pin the retryable rule

The viewer's own Try again re-enables when its retry settles, the outage
message says 'still' after a failed retry, and isRetryableUnavailable keeps
the button and the message on one rule, with a test that they agree.

Tested: viewer and session unit tests; Playwright on Chromium and WebKit for
an outage that persists through one retry and then recovers.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7a4fa18
Status: ✅  Deploy successful!
Preview URL: https://3084be63.nemar-website.pages.dev
Branch Preview URL: https://staging.nemar-website.pages.dev

View logs

* Viewer: describe the outage retry, tie its class to CSS

The outage message's Try again is now described by its sentence, and a retry that ends in a message with no button puts the focus on the message. RETRY_CLASS moves to eeg-viewer/retry.ts, shared by the session and the viewer, with a test that reads the stylesheet. Comments about the message and button pairing, the CSS scope and module failures are corrected. Tested: lint, typecheck, 3014 unit tests; mutations of the class name and aria-describedby each fail a test.

* docs: correct the 0.2.29 retry claims, handoff for 2026-10-06
@neuromechanist
neuromechanist merged commit e465c2d into main Oct 6, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant