Repository navigation
Conversation
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Contributor
There was a problem hiding this comment.
Devin Review found 4 findings. Devin automatically fixed all 4 findings.
Fixed by Devin (4)
- No report from sparse checkouts — A missing skip-worktree Go file no longer aborts a sparse scan; the report counts omissions explicitly.
- Generated source can abort scans — On a parse error, the Go scanner checks leading comments for the standard marker; malformed handwritten files still fail.
- Missed HTTP retries inside blocks — Search nested statement blocks for HTTP send loops while still excluding unrelated closures.
- False replay alerts for tagless switches — Tagless switch cases now expose method and key checks just like if conditions; unrelated cases still alert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
Add a syntax-only
go/analysisexperiment underherta/experiments/retrycheckfor per-attempt idempotency keys, unguarded HTTP replay, and webhook effects without visible dedupe. Include regression tests, a source-only scanner, and the pinned sample. The experiment's module does not add dependencies to the SDK.Why?
Test whether these shapes yield actionable findings before investing in a checker. The fixed nine-repository sample yielded three alerts and no confirmed bugs; the known HTTP replay control was detected. Keep this as a reproducible experiment, not a supported linter or a language change.
Scope check
Implemented in session Test retry-bug linter on public Go repos
Review with Devin · Open in Devin Desktop