Windows: two hub-client harness tests fail on CRLF-checked-out fixtures
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- git, github-actions, rust, typescript
- Domain
- build-system, testing-qa
Research direction
Start with the two fixtures named in the body: crates/quarto-core/tests/fixtures/import-recordings/basic-docx/expected.qmd and crates/quarto-core/tests/fixtures/pandoc-goldens/smoke-all/mermaid/backticks.qmd. Run git ls-files --eol on them and compare against the .gitattributes rule for pandoc-goldens/parity/**. Done when both harness tests pass on windows-latest, most likely by adding eol=lf rules for these paths and confirming the failing spec files still pass locally.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Rust
- Stars
- 316
- Forks
- 23
- Avg merge
- 8h 19m
- Merged PRs (30d)
- 244
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/q2
-
bug testing windows
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
quarto-dev/q2#1346 ·
Maintainers usually reply within 1 day
-
bug testing windows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
quarto-dev/q2#1344 ·
Maintainers usually reply within 1 day
-
bug testing windows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
quarto-dev/q2#1343 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
quarto-dev/q2#1335 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
quarto-dev/q2#1324 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
renaming a provider to a taken name fails with a raw sql errorPossibly taken A pull request linked to this issue is open or already merged. Openarea:storage kind:bug priority:p3 ready
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
XLSX files cannot be imported into Adobe InDesign due to missing AppVersion in extended propertiesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
qingjian-team/qingjian#1181 ·
Maintainers usually reply within 2 days