Windows CI parity: run the test workflows on Windows for every PR

Aperta
#1,351 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, typescript
Ambito
ci-cd, devops

Direzione di ricerca

This is a tracking issue for making Windows a default PR runner in the test workflows, so it is not a starting point. The work is spread across linked sub-issues (#1343, #1344, #1347 for .gitattributes pins, #1346 for /tmp paths, #1350, #1349, #1348) and needs a baseline Windows dispatch on main first. Done would mean all four workflows are green on Windows on two consecutive runs, and the default-runner decision is agreed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

testing windows

The test workflows can run on Windows through workflow_dispatch with runners: ["windows-latest"] since #1275, but no PR run includes Windows. This issue tracks what stands between that opt-in axis and Windows running by default on every PR.

The first Windows dispatches, on the head of #1292 (49036fc, before it was rebased onto main), found failures in the TypeScript suites, the hub-client E2E and the q2-preview-spa E2E. Each one is a sub-issue of this one.

This list is not complete. The Windows test-suite.yml hasn't been dispatched on that head, and the ts-test-suite job stopped at its first failing step, so six later steps (wasm-js-bridge, q2-preview-spa, kanban, trace-viewer, quarto-sync-client, quarto-hub-mcp) didn't run. The stack up to #1295 has merged, so we could take a baseline first, with one Windows dispatch of all four workflows on main, and compare every fix against it.

Fixes that share a cause could go together, as independent PRs off main:

  • .gitattributes pins for the CRLF-checked-out files: #1343, #1344, #1347. Existing Windows clones keep CRLF until they re-checkout.
  • Literal /tmp paths: #1346.
  • Test portability: #1350.
  • quarto-hub path keys: #1349.
  • Flaky tests: #1348.

We could make Windows a default PR runner when all four workflows are green on main on two consecutive runs, with no test skipped or gated for Windows. That doubles the runner cost of each PR for a team that works mostly on macOS and Linux, so I'd like to agree on it before changing the defaults.

Related: #1275, #1292 (R and Jupyter provisioning, which adds engine tests to every runner).

Lingua principale
Rust
Stelle
316
Fork
23
Merge medio
11h 49m
PR unite (30g)
245

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di quarto-dev/q2

Tutte le issue di quarto-dev/q2

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.