Skip to content

DO NOT MERGE: Bugbot probe 3, E2 - #4462

Closed
andy-stark-redis wants to merge 1 commit into
mainfrom
DOC-bugbot-probe3-e2-expt
Closed

andy-stark-redis wants to merge 1 commit into
mainfrom
DOC-bugbot-probe3-e2-expt

Conversation

@andy-stark-redis

@andy-stark-redis andy-stark-redis commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Throwaway probe, E2. Close without merging.


Note

Low Risk
Documentation-only Bugbot config plus a comment-only expected-output tweak in an example test; no runtime or production behavior changes.

Overview
Adds .cursor/BUGBOT.md with instructions for Bugbot on this repo: treat Redis Memory–linked PRs as prior art (including Constraint: / Learned: / Gaps: in squash messages) and, when PR #4287 is listed, emit a mandatory low-severity “Repo memory canary” finding.

Updates the ExampleClient_geoindex expected-output comment in geo_index_test.go so the product FTSearch line no longer ends with a trailing [] before the closing } (the geom search line is unchanged).

Reviewed by Cursor Bugbot for commit 330f5dd. Bugbot is set up for automated code reviews on this repo. Configure here.

Probe PR for checking how Cursor Bugbot reviews a change to a Go example's expected output,
with a BUGBOT.md rules file that asks for a canary finding.

Constraint: this branch must never merge
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@redis redis deleted a comment from github-actions Bot Nov 4, 2026
@andy-stark-redis

Copy link
Copy Markdown
Contributor Author

🧠 Redis Memory

Found 3 related items from repository history (3 new this commit):

@andy-stark-redis

Copy link
Copy Markdown
Contributor Author

bugbot run verbose=true

@cursor

cursor Bot commented Nov 4, 2026

Copy link
Copy Markdown

Bugbot request id: 4b0743ae-6c49-4417-8543-48a17ca9a33a

@cursor

cursor Bot commented Nov 4, 2026

Copy link
Copy Markdown

Bugbot rules debug

Bugbot rules included in this run
Rule Type Size Status
Bugbot rules for redis/docs (project-21556df0bd56) project (BUGBOT.md) 930 chars included

https://cursor.com/docs/bugbot#team-rules

Bugbot request id: 4b0743ae-6c49-4417-8543-48a17ca9a33a

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 330f5dd. Configure here.

// OK
// OK
// {1 [{product:46885 <nil> <nil> <nil> map[$:{"city":"Denver","description":"Navy Blue Slippers","location":"-104.991531, 39.742043","price":45.99}] <nil>}] []}
// {1 [{product:46885 <nil> <nil> <nil> map[$:{"city":"Denver","description":"Navy Blue Slippers","location":"-104.991531, 39.742043","price":45.99}] <nil>}]}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Inconsistent search result output

High Severity

The ExampleClient_geoindex Output block now expects two different FTSearch struct layouts: the product result dropped the trailing empty slice, while the geom result in the same example still includes it. Both fmt.Println calls print the same go-redis result type, so go test will fail on one of the two lines.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 330f5dd. Configure here.

// OK
// OK
// {1 [{product:46885 <nil> <nil> <nil> map[$:{"city":"Denver","description":"Navy Blue Slippers","location":"-104.991531, 39.742043","price":45.99}] <nil>}] []}
// {1 [{product:46885 <nil> <nil> <nil> map[$:{"city":"Denver","description":"Navy Blue Slippers","location":"-104.991531, 39.742043","price":45.99}] <nil>}]}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Repo memory canary

Low Severity

The Redis Memory comment lists PR #4287, so this canary is required. Could not read the squash message.

Fix in Cursor Fix in Web

Triggered by project rule: Bugbot rules for redis/docs

Reviewed by Cursor Bugbot for commit 330f5dd. Configure here.

@andy-stark-redis
andy-stark-redis deleted the DOC-bugbot-probe3-e2-expt branch November 4, 2026 14:08
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.

1 participant