Windows: two hub-client harness tests fail on CRLF-checked-out fixtures
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 62/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- git, github-actions, rust, typescript
调研方向
从正文中提到的两个测试夹具开始:crates/quarto-core/tests/fixtures/import-recordings/basic-docx/expected.qmd 和 crates/quarto-core/tests/fixtures/pandoc-goldens/smoke-all/mermaid/backticks.qmd。对它们运行 git ls-files --eol,并与 pandoc-goldens/parity/** 的 .gitattributes 规则进行比较。当两个 harness 测试在 windows-latest 上通过时即完成,最可能的做法是为这些路径添加 eol=lf 规则,并确认之前失败的规范文件在本地仍然通过。
由索引模型根据 Issue 内容生成。
描述
Two hub-client harness tests fail on windows-latest in the firefox job:
https://github.com/quarto-dev/q2/actions/runs/45607179507
pandoc-import-emf.harness.spec.ts:126, "importDocument imports basic-docx to its expected.qmd": the line diff shows a trailing invisible character on each expected line.pandoc-parity.harness.spec.ts:30, "docx parity: smoke-all/mermaid/backticks.qmd": the expected text is on one line, the received text is split over real newlines.
Both pass on ubuntu at the same commit.
I think these are CRLF checkouts. On my Windows checkout git ls-files --eol reports i/lf w/crlf for both inputs, and no .gitattributes rule covers them (pandoc-goldens/parity/** is pinned to eol=lf, these two files aren't):
crates/quarto-core/tests/fixtures/import-recordings/basic-docx/expected.qmdcrates/quarto-core/tests/fixtures/pandoc-goldens/smoke-all/mermaid/backticks.qmd
I haven't confirmed the runner's autocrlf setting, and I can't explain why a CR changes how the mermaid SourceCode renders. We could pin both paths to eol=lf and rerun.
Related: #1275.
- 主要语言
- Rust
- 星标
- 316
- 派生
- 23
- 平均合并
- 8 小时 19 分钟
- 30 天内合并 PR
- 244
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
quarto-dev/q2 的其他 Issue
-
bug testing windows
难度 1/5 1-3 小时 新手友好度 78/100
quarto-dev/q2#1346 ·
维护者通常 1 天内回复
-
bug testing windows
难度 2/5 1-3 小时 新手友好度 72/100
quarto-dev/q2#1344 ·
维护者通常 1 天内回复
-
bug testing windows
难度 2/5 1-3 小时 新手友好度 72/100
quarto-dev/q2#1343 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
quarto-dev/q2#1335 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
quarto-dev/q2#1324 · 2 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
area: cli good first issue type: feature
难度 2/5 1-3 小时 新手友好度 78/100
-
[Bug] Windows Ghidra provider rejects a PATH-only JDK: bare `java.exe` probe fails with Win32 87未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
renaming a provider to a taken name fails with a raw sql error可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area:storage kind:bug priority:p3 ready
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug bugfix
难度 2/5 1-3 小时 新手友好度 72/100
storytold/photocraft#16975 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复