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

chadtmiller.com/knotless

git that lives in your Atmosphere account

knotless.dev
1 collaborator

knotless 0.13.0 Latest 2 packages, 1 image

1
10

Tests fail when the harness PDS answers 502 to createAccount

Open
Open chadtmiller.com opened this issue 0 comments

What happened

accounts::switching_between_accounts_on_the_pages (spaces net, gateway (test)) failed on A commit's page loads its files' rows as they are scrolled to and passed on retry (FLAKY: spaces gateway (test) accounts::switching_between_accounts_on_the_pages):

thread 'accounts::switching_between_accounts_on_the_pages' panicked at crates/knotless-serve/tests/../../knotless/tests/common/mod.rs:162:10:
the shared harness makes an account: reqwest::Error { kind: Status(502, None), url: "http://localhost:34381/xrpc/com.atproto.server.createAccount" }

The same panic (common/mod.rs:162, createAccount) also failed stock pages owners_manage_branches_labels_and_access (A check's log is read ahead as it is filed, and many more are kept) and spaces forge a_deleted_repository_leaves_nothing (that pull and 3mzqlswtk72yf), so the fault is the shared account helper, not this test. Quarantined until 2026-11-14.

How to see it

knotless run list knotless://chadtmiller.com/knotless --pull at://did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3mzqlswtk72yf --log, search for createAccount.

What you expected

Making an account to succeed, or be retried.

Where

The runner, both nets, main as of 2026-11-07.

Guess at the cause: the harness PDS answers 502 on com.atproto.server.createAccount when many test binaries create accounts at once. The helper at crates/knotless/tests/common/mod.rs:162 unwraps after one try. Retrying createAccount on 502 and 503 with a short backoff would fix this test and the others that hit it, and the quarantines for them would not be needed. The earlier fix, test accounts made side by side no longer taking the same handle, dealt with handle clashes, not this.