~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless

git that lives in your Atmosphere account

knotless.dev
1 collaborator

knotless 0.17.0 Latest 2 packages, 1 image

1
10

A private flow's reader can turn up logged out mid-flow

Open
Open chadtmiller.com opened this issue 0 comments
area/web

What happened

The private e2e flow commenting, reacting and editing as a reader (harness/e2e/private.spec.mjs:138) failed once, in the merge queue's batch at 5d9815bf on 2026-11-04. It timed out at private.spec.mjs:150 waiting for the reader's Eyes: 1 reaction button to show aria-pressed="true":

Error: expect(locator).toHaveAttribute(expected) failed
Expected: "true"
Timeout: 15000ms
Error: element(s) not found
  - waiting for locator('.reactions').first().getByRole('button', { name: 'Eyes: 1' })

The check's picture of the page shows it logged out, with Log in in the header and the 404 "knotless://alice.test/vault: no such repository" that anyone outside the space sees. The reader's session, or its read of the space, was gone before the reaction drew.

That batch's only change was to code search (A code search's pages go on from the one before). Every other e2e run on main and on batches that day passed.

How to see it

It does not fail every time. The failed run's log, trace and pictures are the check's outputs: knotless run list knotless://chadtmiller.com/knotless --queue main --commit 5d9815bf --workflow e2e --log --images <dir>. To look for: whether the reader's web session can drop mid-flow (an OAuth refresh or a space credential racing the reaction write), or whether the page reloads into a state that reads the space without the reader's credential.

What you expected

The reaction shows as the reader's, pressed, as on every other run.

Where

The e2e check (just e2e-private, over the spaces alpha) on the runner, at main f80d9ac4 with that pull squashed on.