Skip to content

Windows CI: Remaining Python scripts in wit_markdown.bzl (non-critical) #196

@avrabe

Description

@avrabe

Background

After fixing the 3 critical Python scripts for Windows CI compatibility (wit_bindgen, symmetric_wit_bindgen, rust_wasm_component_bindgen), there are 2 remaining Python scripts in wit/wit_markdown.bzl:

  1. _collect_docs.py - Collects documentation from WIT files
  2. _build_docs.py - Builds documentation website

Status

✅ NOT IN WINDOWS CI CRITICAL PATH

These scripts are only used for documentation generation, which:

  • Runs separately from component builds
  • Not tested on Windows CI
  • Can continue running on Linux runners

Windows Compatibility

Current verdict: LOW PRIORITY

Reasons:

  • Documentation builds typically run on Linux in CI
  • Not blocking Windows component builds
  • Can be addressed when documentation CI moves to Windows

Future Work (Optional)

If documentation generation needs Windows support:

  1. Option A: Replace with Go-based doc generator
  2. Option B: Use Python via Bazel's py_binary with Windows support
  3. Option C: Keep on Linux runners indefinitely

Related Work

  • ✅ Fixed: wit_bindgen.bzl Python scripts
  • ✅ Fixed: symmetric_wit_bindgen.bzl Python scripts
  • ✅ Fixed: rust_wasm_component_bindgen.bzl Python scripts
  • ⏳ See new issue: Deprecate multi_language_wasm_component.bzl

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