You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ea96140
Browse filesBrowse the repository at this point in the historyBrowse files
test: windows-portable fixtures; witness decoupled to its own workflow
- stale-lock fixture: a spawned-and-reaped child supplies the dead PID; PID 0 reads alive on Windows (System Idle Process)
- workspace_root fixture writes through toml serialization; a raw Windows path in a hand-formatted basic string parses as escape sequences
- facade walk and callee asserts compare PathBuf components; display-string compares carry separator assumptions
- profiles orchestrator test module gated cfg(all(test, unix)); its failure fixture is unix permission bits
- windows witness runs standalone in windows-witness.yml (dispatch + nightly cron + workflow_call); full-test waits only on gates
- witness failures emit a ::warning annotation and the job exits zero; red is reserved for gates; gate promotion removes the || echo fallback and re-includes via uses:
# Windows witness leg: the watcher's event-kind assumptions are
2
+
# platform-backend-specific (FSEvents vs inotify vs
3
+
# ReadDirectoryChangesW), and Windows has no local container gate.
4
+
# WITNESS, not gate: failures surface as warning annotations and the
5
+
# job stays green -- red is reserved for gates. Promote to a gate by
6
+
# removing the `|| echo` fallback once Windows is sustained-green,
7
+
# then re-include in full-test.yml as a `uses:` job (workflow_call).
8
+
name: Windows Witness
9
+
on:
10
+
# Iteration loop during the Windows arc
11
+
workflow_dispatch:
12
+
13
+
# Sustained-green record accumulates without a dispatch
14
+
schedule:
15
+
- cron: '0 0 * * *'# Midnight UTC daily
16
+
17
+
# Chain include for gate promotion
18
+
workflow_call:
19
+
20
+
env:
21
+
CARGO_TERM_COLOR: always
22
+
RUST_BACKTRACE: 1
23
+
24
+
jobs:
25
+
test-windows:
26
+
name: windows witness
27
+
runs-on: windows-latest
28
+
timeout-minutes: 40
29
+
steps:
30
+
- uses: actions/checkout@v6
31
+
32
+
- name: Install Rust toolchain
33
+
uses: dtolnay/rust-toolchain@stable
34
+
35
+
- name: Cache cargo artifacts
36
+
uses: Swatinem/rust-cache@v2
37
+
with:
38
+
cache-on-failure: true
39
+
40
+
- name: Run tests (witness)
41
+
shell: bash
42
+
run: |
43
+
cargo test --verbose || echo "::warning title=Windows witness::test failures on Windows (witness leg, non-blocking) -- see this job's log; tracked in the wiki's Windows stories"
0 commit comments