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

未关闭
#1,351 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
8/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, typescript
领域
ci-cd, devops

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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).

主要语言
Rust
星标
316
派生
23
平均合并
11 小时 49 分钟
30 天内合并 PR
245

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

quarto-dev/q2 的其他 Issue

查看 quarto-dev/q2 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。