Skip to content

test(client): scope fleet_accounted to Unix, where the desktop uses it - #688

Merged
ufna merged 1 commit into
integrate/design-polishfrom
webui/fleet-accounted-unix-scope
Oct 31, 2026
Merged

ufna merged 1 commit into
integrate/design-polishfrom
webui/fleet-accounted-unix-scope

Conversation

@ufna

@ufna ufna commented Oct 31, 2026

Copy link
Copy Markdown
Owner

The longer grace from #684 didn't fix the to-main-5 Windows native job. On the second run (41151373830), accounted_local_and_peer_keep_frames_controls_and_eof still timed out waiting for the owned EOF. On Windows it never arrives at any grace, so my earlier theory was wrong.

The desktop starts the accounted Fleet only on Unix (client/src-tauri/src/commands.rs, #[cfg(unix)] Fleet::start_accounted). Windows keeps Fleet::start, whose stream EOF tests/fleet.rs covers and which passes on Windows CI. The file's other test was already #[cfg(unix)].

This gates the whole file with #![cfg(unix)], like its production caller, and restores the author's 100 ms grace. A bead tracks the Windows accounted stop path before Windows adopts it.

Linux: both tests pass. Windows all-target cross-clippy for client/core passes; fmt is clean.

🤖 Generated with Claude Code

#684's longer stop grace did not fix the Windows native job: the owned
EOF never arrives there at any grace. The desktop starts the accounted
Fleet only on Unix (src-tauri commands.rs); Windows keeps Fleet::start,
whose stream EOF tests/fleet.rs covers and which passes on Windows. Gate
the file like its production caller and restore the author's 100 ms
grace. The Windows accounted stop path is tracked separately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ufna
ufna merged commit 1892098 into integrate/design-polish Oct 31, 2026
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