Skip to content

Add a standalone Go retry-linter experiment - #18

Open
arahe-dev wants to merge 6 commits into
mainfrom
devin/1795124895-retrycheck-experiment
Open

arahe-dev wants to merge 6 commits into
mainfrom
devin/1795124895-retrycheck-experiment

Conversation

@arahe-dev

@arahe-dev arahe-dev commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

What does this change?

Add a syntax-only go/analysis experiment under herta/experiments/retrycheck for 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

  • No runtime or execution contract changes.
  • Experiment tests (race) and vet pass with Go 1.26.0. SDK race suite passes with 100% coverage.
  • No adoption claims, benchmarks without methodology, or marketing language.
  • No SVG changes.

Herta opened this PR for Abdur
Implemented in session Test retry-bug linter on public Go repos
Review with Devin · Open in Devin Desktop


devin-ai-integration Bot and others added 2 commits November 19, 2026 21:51
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Co-Authored-By: Abdur Raheem Imami <araheemimami@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 19, 2026 21:53
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

devin-ai-integration Bot and others added 4 commits November 19, 2026 21:56
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>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

View findings in Devin Review · Follow Devin's work

Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants