fix(review): resolve suffix-only paths and check paths in finding quotes and suggestions
Maintainers usually reply within 1 day
A pull request for this has already been merged.
- #1134 by @devops-thiago — merged
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github, java
- Domain
- backend, testing-qa
Research direction
Read the tests covering review path validation and the code that maps paths and checks findings and suggestions; the issue does not name specific files. Reproduce the three referenced cases from #1076 and #1089, then add tests for suffix-only paths, paths quoted in findings, and unresolved suggestion paths. Done when all three cases pass and no finding is dropped.
Written by the indexing model from the issue text.
Description
Background
Follow-up to #1076 (#1089). Round 18 had no invented files in summary prose, but three gaps remain:
- Paths without their language folder: c ThrillhouseBot-test#277 writes
docs/CONFIG-C.md(file isc/docs/CONFIG-C.md, review 5497696891), node #278 writessrc/config.ts(review 5497680136). They pass the check because they are suffixes of real paths. - A wrong path inside finding text: zig #274 finding 4253724449 quotes the Dockerfile destination as
/usr/local/bin/gcompressed-server. - Suggestions are not checked: kotlin #276 suggestion 4253725124 uses
/app/lib/*, which nothing creates.
Change required
Map a suffix-only path to the full changed path when exactly one changed file ends with it. Extend the check to paths quoted from changed files (a path a finding attributes to a file must appear in that file's patch) and to suggestion text, dropping the suggestion (not the finding) when it names a path that resolves nowhere.
Acceptance criteria
- Tests for the three cases above.
- No finding is dropped.
- Dominant language
- Java
- Stars
- 35
- Forks
- 7
- Avg merge
- 9h 45m
- Merged PRs (30d)
- 160
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a 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 devops-thiago/ThrillhouseBot
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
devops-thiago/ThrillhouseBot#1132 ·
Maintainers usually reply within 1 day
-
fix(review): always name the linked issue and its unmet criterion in the summaryPossibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
devops-thiago/ThrillhouseBot#1093 ·
Maintainers usually reply within 1 day
-
documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
devops-thiago/ThrillhouseBot#321 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
devops-thiago/ThrillhouseBot#46 ·
Maintainers usually reply within 1 day
-
bug java
Difficulty 3/5 1-2 days Newbie friendliness 68/100
devops-thiago/ThrillhouseBot#1152 ·
Maintainers usually reply within 1 day
All issues in devops-thiago/ThrillhouseBot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
netshot-net/Netshot#413 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
scylladb/scylla-cdc-source-connector#350 ·
Maintainers usually reply within 1 day
-
agent:working documentation enhancement go:build lane:needs-decision
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Sanne/incus-spawn#1435 · 3 comments ·
Maintainers usually reply within 1 day
-
area:shuffle bug priority:high requires-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
apache/datafusion-comet#7062 ·
Maintainers usually reply within 1 day
-
help wanted testing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
antonyrag/ragleap-core#786 ·
Maintainers usually reply within 1 day