Skip to content

ci: add Windows backend integration test workflow#8219

Merged
rubenfiszel merged 18 commits intomainfrom
ci-windows-tests
Mar 4, 2026
Merged

ci: add Windows backend integration test workflow#8219
rubenfiszel merged 18 commits intomainfrom
ci-windows-tests

Conversation

@rubenfiszel
Copy link
Contributor

Summary

  • Adds a new workflow_dispatch-triggered CI workflow that runs backend integration tests on Windows (blacksmith-16vcpu-windows-2025)
  • Sets up PostgreSQL via action-setup-postgres, OpenSSL via vcpkg, DuckDB FFI module, and all necessary runtimes (Bun, Deno, Node, Python/UV, Go, .NET, PHP, PowerShell)
  • Tests with features: enterprise,deno_core,duckdb,license,python,rust,scoped_cache,parquet,private,csharp,php,quickjs,mcp,run_inline
  • Excludes mysql (no service container on Windows), ruby (not in Windows language set), private_registry_test (needs Verdaccio)

Test plan

  • Trigger workflow_dispatch on this branch to validate the workflow runs

🤖 Generated with Claude Code

rubenfiszel and others added 2 commits March 4, 2026 09:10
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 4, 2026

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: 71c7e56
Status:⚡️  Build in progress...

View logs

rubenfiszel and others added 16 commits March 4, 2026 09:29
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- WINDMILL_DIR: use std::env::temp_dir() on Windows instead of /tmp/windmill
- HOME_ENV: fall back to USERPROFILE on Windows when HOME is not set
- loader.bun.js: normalize paths to forward slashes for consistent
  comparison with Bun's resolver output on Windows
- bun_executor.rs: convert job_dir to forward slashes in JS template
  strings to avoid backslash escape issues (\t -> tab, etc.)
- go_executor.rs: fix windows_gopath() double backslash bug (r"\\" -> "\\")
- bash_executor.rs: default to "bash" (in PATH) on Windows instead of /bin/bash

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Include path in create_directory_async/sync panic messages
- Add WINDMILL_DIR initialization debug output
- Fix loader.bun.js onLoad: use properly escaped regex instead of
  returning undefined (Bun requires onLoad to return an object)
- Add env var debug output to CI workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… cargo path

- Replace :: with __ in worker names (colons illegal in Windows dir names)
- Fix HOME_DIR to fall back to USERPROFILE on Windows
- Add PATH fallback for cargo discovery on Windows
- Add debug logging to bun loader for fetch errors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… revert bun debug

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
… Windows

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
… path issues

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
… loader

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…s without leading slash in bun loader

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…uplication

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ader only on windows

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rubenfiszel rubenfiszel marked this pull request as ready for review March 4, 2026 20:19
@claude
Copy link
Contributor

claude bot commented Mar 4, 2026

Reviewing PR #8219

  • Read all changed files
  • Review CI workflow file
  • Review Rust backend changes
  • Review Bun loader for Windows
  • Post detailed review feedback

View job run

@rubenfiszel rubenfiszel merged commit 077779e into main Mar 4, 2026
14 of 15 checks passed
@rubenfiszel rubenfiszel deleted the ci-windows-tests branch March 4, 2026 20:20
@github-actions github-actions bot locked and limited conversation to collaborators Mar 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant