Skip to content

Fix nightly workflow command parsing - #415

Merged
max-sixty merged 2 commits into
mainfrom
codex/fix-nightly-command
Sep 7, 2026
Merged

max-sixty merged 2 commits into
mainfrom
codex/fix-nightly-command

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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.

This was written by Codex on behalf of max-sixty

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread tests/test_interact_layer.py Resolved
@max-sixty
max-sixty merged commit cc161f6 into main Sep 7, 2026
7 checks passed
@max-sixty
max-sixty deleted the codex/fix-nightly-command branch September 7, 2026 21:25
max-sixty added a commit that referenced this pull request Sep 7, 2026
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_
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.

2 participants