check_generated_files_current.py's git calls have no timeout
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
Research direction
Read scripts/check_generated_files_current.py, focusing on _fresh_build_dir and the calls to git worktree add, git ls-files, and worktree removal. Add timeout handling that names the stalled command and exits 1; use a fake runner to test each relevant timeout path. Done when a stalled git call ends the check with the command named and the test covers it.
Written by the indexing model from the issue text.
Description
Where: scripts/check_generated_files_current.py (_fresh_build_dir).
Current gap: The three builders now have a timeout (#1292), but git worktree add, git ls-files and the worktree removal run without one, so a stuck git (a lock file, a network filesystem) still hangs the check.
Suggested approach: Pass a timeout to those calls, report which git command stalled and exit 1, and test it with a fake runner.
Done when: a stalled git call ends the check with a message naming it, covered by a test.
- Dominant language
- HTML
- Stars
- 47
- Forks
- 45
- Avg merge
- 2h 47m
- Merged PRs (30d)
- 92
Getting set up
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 yakew7/Fair-Code
-
community enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
community enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
enhancement good first issue tooling
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
community enhancement tooling
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug testing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
All issues in yakew7/Fair-Code
Similar issues
-
Document and enforce pull request review guidelinesPossibly taken @dashorst claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug implicit-state
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Misleading 'Update → Config → Hyprland' menu item silently resets user configs without confirmationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Tencent/tdesign-react#4465 · 1 comment ·
Maintainers usually reply within 1 day