Skip to content

Windows green battery: invariance + embedded-runtime-regression + emit-c-smoke + spec-inventory-check cluster fails #811

Closed

Description

@ropoctl

The native Windows with build :test green battery fails 8 build-graph targets (run 31976779525, job 95237351014). Linux/macOS pass. These are gated off on Windows (visible skip) to make the battery green; each needs a real root-cause fix and un-skip.

Failing targets

  1. invariance-comment-sema
  2. invariance-let-sema
  3. invariance-two-lets-sema
  4. invariance-let-parser
  5. invariance-let-main
  6. embedded-runtime-regression
  7. emit-c-smoke
  8. spec-inventory-check

Known root-cause notes

  • emit-c-smoke: the emitted C includes runtime/unistd.h, which redeclares ssize_t, read, write, lseek with int64_t/uint64_t signatures that conflict with mingw's corecrt.h/io.h (ssize_t = __int64, read/write = int(int,void*,unsigned int)). Compile fails with "conflicting types". The emit-C runtime header needs Windows-aware guards (or to not redeclare CRT-provided symbols under mingw).
  • spec-inventory-check: keyword inventory comparison reports implementation has unspec'd <kw> on Windows only. Almost certainly a CRLF/line-splitting difference when the comptime action reads src/Token.w/spec on the Windows host.
  • invariance- (5)*: the determinism/invariance self-compile lane (perturb a source file, re-check output is invariant) fails on Windows — needs the concrete diff captured.
  • embedded-runtime-regression: builds hello.w with the fresh compiler embedding the runtime and runs it; fails on Windows (empty build logs in the capture — failure is in the run/link step).

Gating

Gated in build.w (invariance_variant_action), build/selfhost.w
(run_embedded_runtime_regression_action, run_emit_c_smoke_action),
build/compiler.w (run_check_spec_inventory_action) with if os() == "Windows":
visible skip + stamp, matching the #807/#809 precedent.

Activity

  1. ehartford commented on Oct 25, 2026

    @ehartford
    Contributor

    Triage 2026-10-25, Windows x86_64 (win10, with.exe built from main c88f3ee): still skipped. invariance-check, spec-inventory-check, embedded-runtime-regression and emit-c-smoke print "skipped on Windows (#811)".

    post-release: each un-skip needs its own root cause.

  2. 8 remaining items

  3. ehartford commented on Oct 28, 2026

    @ehartford
    Contributor

    Fixed on main in b434398 (stack #2783, #2784, #2785, #2787); each commit's message names the root cause and the evidence. The Windows battery's remaining reds are tracked separately.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions