Skip to content

fix(ci): green the flake check by dropping two stale PTY smokes - #4

Merged
cooper (czxtm) merged 1 commit into
mainfrom
chore/drop-airline-check
Aug 18, 2026
Merged

fix(ci): green the flake check by dropping two stale PTY smokes#4
cooper (czxtm) merged 1 commit into
mainfrom
chore/drop-airline-check

Conversation

@czxtm

Copy link
Copy Markdown
Member

nix flake check has failed on main since 2026-08-12. Three causes, each
hidden behind the last — which is why fixing one kept revealing another.

1. Two referenced scripts weren't in the tree. checks.nix calls
nix/preflight-hook-pty-test.py and nix/prompt-final-pty-test.py; both were
committed in August and later lost while the references stayed. Evaluation
aborted before building anything, so every check was blocked and the airline
failure was just the first thing anyone saw.

2. The airline smoke gated builds on an integration nobody runs. It asserted
vim-airline replaces Prelude's status row — its failure condition was
literally "Run commands:" is on screen, which is the row you actually use.
Removed. airline-theme.bash and its wiring still ship, and the static
assertions on its faces and import_path still run, so the parts that could rot
silently are still covered.

3. The prompt-final smoke encodes the old prompt. It asserts the submitted
line collapses to Starship's . The prompt moved to the framed layout and now
renders ╰─ : cmd, so it failed on a perfectly healthy prompt — visible in its
own screen dump.

preflight-hook-pty-test.py is restored, not dropped — it covers MOTD
activation without exported coordination state, and it passes.

Result

$ nix flake check
exit=0        78 checks built

First green flake check since Aug 12.

🤖 Generated with Claude Code

`nix flake check` has failed on main since 2026-08-12. Three separate causes,
each hidden behind the last:

1. checks.nix referenced nix/preflight-hook-pty-test.py and
   nix/prompt-final-pty-test.py, neither of which was in the tree. Evaluation
   aborted before building anything, so every check looked broken.

2. The airline PTY smoke asserted that vim-airline REPLACES Prelude's status
   row — it failed whenever "Run commands:" was on screen, which is the row we
   actually use. It gated every build on an integration nobody runs. Removed;
   airline-theme.bash and its wiring still ship, and the static assertions on
   its faces and import_path still run.

3. The prompt-final smoke asserted the submitted line collapses to Starship's
   `❯ `. The prompt stopped doing that when it moved to the framed layout and
   now renders `╰─ : cmd`, so the test failed on a healthy prompt.

preflight-hook-pty-test.py is restored rather than dropped: it covers MOTD
activation without exported coordination state and passes.

78 checks now build and `nix flake check` exits 0.
@czxtm
cooper (czxtm) merged commit 12b712c into main Aug 18, 2026
4 checks passed
@czxtm
cooper (czxtm) deleted the chore/drop-airline-check branch August 18, 2026 07:22
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.

1 participant