Skip to content

ci: run the full workspace test surface in the required Windows cell - #8316

Merged
oferchen merged 8 commits into
masterfrom
ci/windows-full-workspace
Nov 10, 2026
Merged

oferchen merged 8 commits into
masterfrom
ci/windows-full-workspace

Conversation

@oferchen

@oferchen oferchen commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Summary

The required Windows (stable) job ran core, engine and cli, then metadata, fast_io and transfer. daemon, protocol, rsync_io and the root package ran only in non-gating jobs, or not at all on Windows. This runs the whole workspace with every feature, as the Linux test job does (task 353, Windows Tier 1 row T1-2).

  • windows-test: one cargo nextest run --locked --profile ci --workspace --all-features. It replaces the two per-crate steps and the three per-crate QUIC build and test steps. The UDP-offload report step stays.
  • windows-daemon is removed, since the workspace run covers it.
  • Windows ACL/xattr "Test metadata" step: timeout-minutes: 5, --profile ci, and an if: always() upload of the nextest log with 30-day retention, so a hang like the 30-minute stall on test: drop uid/gid from the v61d_2 daemon config #8255 names its test (task 513).
  • docs/design/platform-tiers.md: T1-2 reads Yes, and the non-gating job list drops windows-daemon.

Verification

  • cargo check --workspace --all-features --all-targets --target x86_64-pc-windows-gnu: 0 warnings, 0 errors.
  • The workflow YAML parses.
  • This PR's own Windows run is the first native run of protocol, checksums, filters, daemon (all features) and the root tests/ on Windows. Its wall time against the job's 45-minute timeout and any Windows-only failures will be fixed on this branch before merge, so the T1-2 row only lands once it is true.

@github-actions github-actions Bot added the ci label Nov 3, 2026
@oferchen oferchen closed this Nov 4, 2026
@oferchen oferchen reopened this Nov 4, 2026
@oferchen oferchen closed this Nov 4, 2026
@oferchen oferchen reopened this Nov 4, 2026
@oferchen oferchen closed this Nov 4, 2026
@oferchen oferchen reopened this Nov 4, 2026
@oferchen
oferchen force-pushed the ci/windows-full-workspace branch from 32d8dd0 to 6c9f4d6 Compare November 4, 2026 08:22
@oferchen oferchen closed this Nov 4, 2026
@oferchen oferchen reopened this Nov 4, 2026
@oferchen
oferchen force-pushed the ci/windows-full-workspace branch from f1666fe to 922683f Compare November 4, 2026 15:02
@oferchen oferchen closed this Nov 10, 2026
@oferchen oferchen reopened this Nov 10, 2026
@oferchen oferchen closed this Nov 10, 2026
@oferchen oferchen reopened this Nov 10, 2026
The required Windows (stable) job ran core, engine and cli, then metadata,
fast_io and transfer; daemon, protocol, rsync_io and the root package only
ran in non-gating jobs or not at all on Windows. Run the whole workspace
with every feature, as the Linux test job does, and drop the windows-daemon
job and the per-crate QUIC steps it subsumes.

Give the ACL/xattr metadata step its own 5-minute timeout and upload its
nextest log, so a hang like the 30-minute stall on #8255 names its test.
…emon start

Win32 path normalisation (CreateFileW on a path without the \\?\ prefix)
strips trailing spaces from each component, so the `a ` fixture in
filter_file_record_ends_at_a_carriage_return cannot exist on Windows. Gate
the file off Windows; the filter-file reader is platform independent and
stays covered on every Unix cell.

client_empty_flist_skips_recv_loop's daemon never listened on Windows. This
is a diagnostic, not a fix: the harness keeps the daemon's stderr and, when
the daemon exits or never listens, fails with its exit status and stderr so
the next run names the cause.
Daemon-backed client tests gate on unix: Windows refuses --daemon
(cli frontend/server/daemon.rs:181-219; task 601 makes it run).
QUIC config chunks that need a directive to parse gate on unix: a
Windows daemon refuses every QUIC directive, and the existing
quic_windows_refusal chunk covers that side.
Literal-backslash filter tests and the trailing-space fixtures gate off
Windows, where those names cannot exist.

link_stat builds its expected path from the tempdir on Windows, since
canonicalize returns a verbatim path the child never reports. The
ssh -G differential skips an MSYS2 or Cygwin ssh, identified by the
runtime DLL beside it: that build reads C:\ paths as relative. xtask
branding requires daemon paths to start at /, the fake rpmbuild uses
EXE_SUFFIX as the lookup does, and the fake-gh upload test gates on
unix.
@oferchen oferchen closed this Nov 10, 2026
@oferchen
oferchen force-pushed the ci/windows-full-workspace branch from 922683f to f75c485 Compare November 10, 2026 07:05
@oferchen oferchen reopened this Nov 10, 2026
@oferchen
oferchen merged commit c882996 into master Nov 10, 2026
82 of 89 checks passed
@oferchen
oferchen deleted the ci/windows-full-workspace branch November 10, 2026 11:54
oferchen added a commit that referenced this pull request Nov 15, 2026
…rd-link detection (#277) (#8387)

## Summary
- **#311 (`crates/platform/src/signal.rs`):** Factor Windows console
control event dispatch out of the `unsafe extern "system" fn handler`
into `dispatch_console_ctrl(ctrl_type, shutdown, graceful) -> bool` with
compile-time `const` assertions against Win32 `CTRL_*_EVENT` constants
and cross-platform unit tests.
- **#277 (`crates/fast_io/src/same_fs.rs`,
`crates/engine/src/local_copy/hard_links/windows.rs`,
`crates/engine/src/local_copy/executor/file/copy/links.rs`):**
- Add `fast_io::same_fs::FileIdentity` and `file_identity(path)` sharing
a single `windows_file_info` (`GetFileInformationByHandle`) helper on
Windows and `symlink_metadata` on Unix.
- Implement Windows `HardLinkTracker` (`existing_target_for_path` /
`record_for_path`) keyed by `(volume_id, file_index)` when `nlink > 1`,
and wire `source` at local-copy call sites.
- Implement `is_already_hardlinked(destination, target)` via
`fast_io::same_fs::file_identity` on both Unix and Windows.
- Note from audit: **#407** (`test_copy_partial_eof` temp-file
pid-unique naming) was already fixed in `7bc2964a4` (#8139), and
**#353** (required Windows CI full workspace test surface) landed in
`c88299623` (#8316).

## Verification
- `cargo fmt --all -- --check`
- `cargo test --locked -p platform`: 88 passed, 0 failed
- `cargo test --locked -p fast_io --lib same_fs`: 6 passed, 0 failed
(1111 filtered out)
- `cargo test --locked -p engine --lib local_copy::hard_links`: 50
passed, 0 failed (4559 filtered out)
- `cargo clippy --locked -p platform -p fast_io -p engine --all-targets
-- -D warnings`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant