Repository navigation
Return unexpected EOF if the stream misses its CRC trailer - #78
Conversation
Signed-off-by: apostasie <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk is identified. Run the regression tests as part of normal checks before merging. Pre-merge checks |
|
|
Hey rabbit, can you clarify your |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
gh api --paginate repos/klauspost/pgzip/issues/78/comments --jq '.[] | select(.body | test("docstring"; "i")) | {user: .user.login, body: .body, url: .html_url}'
gh api --paginate repos/klauspost/pgzip/pulls/78/comments --jq '.[] | select(.body | test("docstring"; "i")) | {user: .user.login, body: .body, path: .path, line: .line, url: .html_url}'
gh pr diff 78 --repo klauspost/pgzipLength of output: 14199 ⚙️ CodeRabbit configuration inspected Length of output: 97774 🏁 Script executed: #!/bin/bash
set -euo pipefail
ast-grep outline gunzip.go --match doReadAhead --view expanded
rg -n -B12 -A10 '^func \(z \*Reader\) doReadAhead\(' gunzip.goLength of output: 939
The check reported 50% coverage for the two functions touched by this PR, against an 80% threshold. Both functions already have documentation comments:
In Go, “docstring” means a documentation comment above the declaration. These comments satisfy that purpose. I cannot determine why the check counted only one. The check is configured as a warning, not an error. If maintainers want to disable it, they can set You are interacting with an AI system. |
|
Thank you rabbit, glad I learned today what a docstring is. Been wondering about that for 25 years now 🤣. |
|
@coderabbitai I can't change it, since it is an "Essentials plan feature" 😿 |
|
Tip For best results, initiate chat on the files or code changes.
You are interacting with an AI system. |
Fix #77 and align behavior with go gzip.
Thanks!
Summary by CodeRabbit