Repository navigation
Fix nightly workflow command parsing - #415
Conversation
leaf-agent
left a comment
There was a problem hiding this comment.
The diagnosis holds — run 34161077474 shows the folded scalar reaching bash as uv run pytest tests --run-nightly -v \ --junitxml=..., collecting [0 items] and exiting 5 — and the literal block restores the continuation. actionlint can't catch this one because \ is a valid escaped space, so the guard is worth having.
One thing on the guard itself: it derives offenders from a glob it never checks, so the only way it fails is a workflow that matches. Move the directory or change the extension convention and it reports zero offenders out of zero files read, staying green while gating nothing — which is what tests/CLAUDE.md's Make a green test non-vacuous asks a test to rule out ("assert that the target declaration set is nonempty"), and what both tests immediately above it in this file spell out as an empty set names itself.
Replace seven fixed browser waits with causal render, hover, and animation-completion signals. Make the pytest result upload fail when no report exists, so CI cannot silently omit the outcomes and timing artifact. The nightly command parsing regression was fixed separately on main in #415; this keeps that fix and adds the upload safeguards. > _This was written by Codex on behalf of @max-sixty_
The main-only nightly step used a folded YAML scalar, so its shell continuation became a literal pytest argument and the run collected zero tests. Use a literal block and guard every workflow against plain
run:scalars ending in a shell continuation.