As a git hook, the tracker cannot match files on worktrees due to mismatched path prefixes
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 67/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- git, react, typescript
Research direction
Start by reading getGitPrefix and stage, then trace the git calls they make when invoked as a hook in a worktree. Check how filtered paths lead to the “No files to check” message, and review the integration examples if relevant. Done means the hook handles worktree paths, warns when all supplied paths are filtered out, and standalone and CI behavior remains intact.
Written by the indexing model from the issue text.
Description
As git sets GIT_DIR for hooks in worktrees (e.g. GIT_DIR=.git/worktrees/<name>), this causes the tracker to not match any files, resulting in never catching anything.
It still works when run standalone or in CI, but we need to improve this. This means:
- Run its git calls in
getGitPrefix(and instage) withoutGIT_DIRandGIT_WORK_TREE. It should warn when every path it was given gets filtered out, instead of printing "No files to check". - Update integration examples, if necesseary
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
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 Doist/react-compiler-tracker
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Doist/react-compiler-tracker#105 ·
-
Dependency DashboardOpen
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
Add Ubicloud Managed Runners appMay be free again @frankieyan claimed this 329 days ago, and no pull request is open. Open
Doist/react-compiler-tracker#3 · 1 assignee ·
All issues in Doist/react-compiler-tracker
Similar issues
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
novuhq/novu#13613 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement from-app needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nightly-labs/openbot#23943 ·
Maintainers usually reply within 1 day
-
comp/desktop desktop/chat P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
NousResearch/hermes-agent#164451 ·
Maintainers usually reply within 1 day
-
shortkeys-2188:ready
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
crittermike/shortkeys#1121 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Doist/todoist-cli#742 ·