Skip to content

Windows: action/capability/net/process/fs behavior tests fail #800

Closed

Description

@ropoctl

8 OS-surface behavior tests fail (exit 1) on native Windows CI: action capability filtering, crash diagnostics, no-deps isolation, capability-token mismatch, loopback net, std.process command, fs remove_tree. Likely genuine Windows OS-surface gaps in the action/capability/net/process/fs runtime. Tracked behind //! skip-windows; un-skip PRs will address each surface.
Tests: behav_action_capability_filesystem, behav_action_capability_process, behav_action_crash_diagnostic, behav_action_no_deps_isolation, behav_capability_token_mismatch, behav_net_loopback, behav_std_process_command, behav_fs_remove_tree

Activity

  1. ropoctl commented on Aug 19, 2026

    @ropoctl
    CollaboratorAuthor

    Native-Windows CI evidence (run 32196543369, #847 test captures): the p7 action/capability cluster is NOT a linker-metadata gap — the child links and builds green. The failures are in action project-root / output-path / target-arg resolution.

    Per-test symptom from the p7 child captures (tmp/pre-d-p7-capture/<label>/{stdout,stderr}.txt):

    • action-no-deps (behav_action_no_deps_isolation): with build :leaf --no-deps → child prints error: build.w did not declare target 'leaf', although the generated build.w does declare leaf. → Windows :target --no-deps / project-root resolution picks the wrong build.w or mis-parses the target arg.
    • action-filesystem / action-process / capability-token-mismatch: child build reports survey: all targets green (the action ran), but the asserted output file (ctx.output() = out/action/*.txt) is not readable under the p7 case dir afterward → the action's relative output path resolves outside the case dir on Windows.
    • action-crash (behav_action_crash_diagnostic): action assert(false) should surface panic-action ... failed with exit code ... build.w:5:5; on Windows that diagnostic isn't present in the p7 capture → panic/diagnostic propagation from the action child diverges.

    None of these reach a link error. The earlier "p7 linker-metadata gap" hypothesis (compiler-relative out/lib resolution) is falsified for current main: the child already resolves the toolchain and builds green. Root-cause needs native-VM investigation of the action-execution path (project-root walk, ctx.output()/ctx.fs() scope resolution, :target --no-deps arg parsing). Tests remain correctly skip-windows-gated until that lands.

  2. ehartford commented on Oct 25, 2026

    @ehartford
    Contributor

    Triage 2026-10-25, Windows x86_64 (win10, with.exe built from main c88f3ee): does not reproduce. Every test this issue names passes on Windows, and none carries //! skip-windows any more (the tree has none):

    • test/behavior/behav_action_capability_filesystem.w
    • test/behavior/behav_action_capability_process.w
    • test/behavior/behav_action_crash_diagnostic.w
    • test/behavior/behav_action_no_deps_isolation.w
    • test/behavior/behav_capability_token_mismatch.w
    • test/behavior/behav_fs_remove_tree.w
    • test/behavior/behav_net_loopback.w
    • test/behavior/behav_std_process_command.w

    All ran in one with.exe test invocation of 57 Windows-cluster tests (#797–#806); 55 passed, and the two that failed are tracked on #797 and #806.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions