Serial test attribute blocked before write

A `#[serial]` shortcut in a headless login test was blocked on the pre-write lane through `RUST-ANTI-TESTSERIAL-001`, before shared-state coordination could normalize as test style.

Last checked 2026-03-26Musha, SadaveRUST-ANTI-TESTSERIAL-001

Serial test attribute blocked before write

Summary

A shared-state coordination shortcut was caught at the attribute level before it could harden into normal test harness behaviour.

Trigger

#[serial] next to #[tokio::test(flavor = "current_thread")]

The issue was the shared-state escape hatch itself, not a later flaky symptom reconstructed after the fact.

System response

The pre-write hook emitted BLOCK with RUST-ANTI-TESTSERIAL-001, tied the reject to the exact file and snippet, and framed the problem as a deterministic-isolation issue rather than something to paper over with serialized execution.

Outcome

The write was blocked before the attribute could enter the repository as normal test style. The episode remains easy to inspect later through the exact MCR and short report summary.

Why it mattered

The repo rejected the shortcut at the moment of write, before later reviewers had to infer the underlying discipline from downstream failures.

Current note

Historical block. The exact #[serial] snippet no longer appears in current source, but the rejection remains verified through the preserved report trail.