fix: Record no-changes bugs as SKIPPED_NO_CHANGES instead of null#9
Open
Senna46 wants to merge 6 commits intofeat/github-app-and-renamefrom
Open
fix: Record no-changes bugs as SKIPPED_NO_CHANGES instead of null#9Senna46 wants to merge 6 commits intofeat/github-app-and-renamefrom
Senna46 wants to merge 6 commits intofeat/github-app-and-renamefrom
Conversation
When Claude analyzes a bug but makes no code changes, the bug was recorded with fix_commit_sha=null. Since isBugProcessed treats null as "processed successfully", these bugs were never retried, silently preventing detection of new comments on the same PR. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fixooly now posts a summary comment listing the analyzed bugs even when Claude determines no changes are needed, so users can confirm the daemon ran and see which bugs were skipped. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ocessed state - Change from null to string doesn't alter behavior Applied via Fixooly
|
Fixooly committed fixes for 1 bug(s). (42b8c8555e)
|
…yable SKIPPED_NO_CHANGES bugs - Retryable skipped bugs cause infinite comment spam Applied via Fixooly
|
Fixooly committed fixes for 1 bug(s). (37d3bc8231)
|
…prevent infinite retries - SKIPPED_NO_CHANGES bugs retried infinitely despite being "terminal" Applied via Fixooly
|
Fixooly committed fixes for 1 bug(s). (a8f0741b56)
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
… prevent permanent since-filter bypass - `hasRetryableBugsForRepo` incorrectly includes terminal `SKIPPED_NO_CHANGES` state Applied via Fixooly
|
Fixooly committed fixes for 1 bug(s). (8b6b938bd0)
|
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.

Summary
fixBugsOnPrBranchreturnsnull(Claude made no code changes), bugs were recorded withfix_commit_sha=nullisBugProcessed()treatsnullas "successfully processed", so these bugs were never retried and silently blocked detection of new comments on the same PR"SKIPPED_NO_CHANGES"which is correctly treated as a terminal stateTest plan
d6e-ai/d6e-construction-frontendPR #13 — bug was re-detected and processed after the fix🤖 Generated with Claude Code
Note
Medium Risk
Medium risk because it changes bug processing state semantics and alters repo scanning behavior by disabling the
sincefilter when retryable records exist, which can affect what bugs are discovered and retried.Overview
Fixooly now records bug runs that produce no code changes as
SKIPPED_NO_CHANGES(instead ofnull) and logs them as skipped.It posts a dedicated, de-duplicated “no changes needed” issue comment on the PR (using new
GitHubClient.hasIssueCommentContainingwith an HTML marker) to avoid spamming.Repo scanning tweaks the
sincefiltering logic to skip the time filter when a repo has retryable bugs (renaminghasFailedBugsForRepotohasRetryableBugsForRepoand updating messaging) so missed/failed items can be reprocessed.Written by Cursor Bugbot for commit 8b6b938. This will update automatically on new commits. Configure here.