Windows: hub-client author-attribution E2E writes its info file to /tmp
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- testing-qa
Research direction
The failing constant is AUTHOR_E2E_INFO_PATH in hub-client/e2e-author/setup.ts (around line 25), read by globalSetup at line 250 and by author-attribution.spec.ts. Compare it with how e2e/helpers/globalSetup.ts builds its path with tmpdir() and join(). Run the author-attribution E2E on Windows, or check that the path resolves under the OS temp directory. Done when the info file is written and read on both Windows and Ubuntu.
Written by the indexing model from the issue text.
Description
The author-attribution E2E crashes in its global setup on windows-latest, before any test runs:
https://github.com/quarto-dev/q2/actions/runs/45607179507
Error: ENOENT: no such file or directory, open 'D:\tmp\hub-author-e2e.json'
> 250 | writeFileSync(AUTHOR_E2E_INFO_PATH, JSON.stringify(info));
at globalSetup (D:\a\q2\q2\hub-client\e2e-author\setup.ts:250:5)
The path is a literal /tmp, which on Windows resolves to D:\tmp, a directory that doesn't exist:
author-attribution.spec.ts reads the same constant. #1295 fixed this class of error for hub-e2e-server.json in e2e/helpers/globalSetup.ts, and that error is gone in this run, but it didn't touch e2e-author. Ubuntu passes because /tmp exists there.
We could build the path with join(tmpdir(), 'hub-author-e2e.json') like the other helper. I haven't run the fix.
Related: #1295, #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 2/5 1-3 hours Newbie friendliness 62/100
quarto-dev/q2#1347 ·
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