Skip to content

ci: enable Windows tests (component runs fine; fix uppercase-hex address normalization)#185

Merged
robcohen merged 2 commits into
mainfrom
ci/windows-component
Jun 18, 2026
Merged

ci: enable Windows tests (component runs fine; fix uppercase-hex address normalization)#185
robcohen merged 2 commits into
mainfrom
ci/windows-component

Conversation

@robcohen

Copy link
Copy Markdown
Member

The component engine runs correctly on Windows — re-enabling the windows-latest test job (disabled since January over presumed wasmtime WASI path issues that do not occur with the component backend).

Root cause of the lone failure

test_api[options] failed only because CPython formats object addresses with uppercase hex on Windows (...RLDisplayContext object at 0x...B82BD0), while the conftest normalizer matched lowercase only (r' object at 0x[0-9a-f]+>') — so dcontext's repr address wasn't replaced with ADDR. Every other field (including filename/include paths) matched identically.

Fix

  • conftest: widen the address regex to [0-9a-fA-F]+ (platform-independent).
  • test.yml: re-enable the windows-latest (py 3.13) matrix entry.

Verified: full test-py matrix incl. windows-latest is green on this branch.

robcohen and others added 2 commits June 18, 2026 09:42
The component engine runs correctly on Windows — the only failure was a
snapshot mismatch: CPython formats object addresses with uppercase hex on
Windows (`object at 0x...B82BD0`), but the conftest normalization regex matched
lowercase only (`[0-9a-f]+`), so `dcontext`'s repr address wasn't replaced with
`ADDR`. Widen to `[0-9a-fA-F]+` and re-enable the windows-latest test matrix
entry (disabled since Jan over presumed wasmtime WASI path issues that don't
actually occur with the component backend).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@robcohen robcohen merged commit 301f72a into main Jun 18, 2026
30 checks passed
@robcohen robcohen deleted the ci/windows-component branch June 18, 2026 10:59
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