Skip to content

DO NOT MERGE: Bugbot probe 3, D1 - #4459

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

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

Conversation

@andy-stark-redis

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

Copy link
Copy Markdown
Contributor

Throwaway probe, D1. Close without merging.


Note

Low Risk
Changes are limited to Cursor/Bugbot documentation and an example test’s expected output comment, with no runtime or security impact.

Overview
Adds .cursor/BUGBOT.md, which documents how Bugbot should use Redis Memory PR comments (including reading squash messages via git log) and includes a probe canary that requires quoting PR #4287’s first Learned: line when that PR appears in memory.

Updates the ExampleClient_geoindex golden // Output: comment in geo_index_test.go so the product geo search line no longer ends with a trailing [] before the closing brace—matching the current string form of that FTSearch result.

Reviewed by Cursor Bugbot for commit fc0361b. 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.

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: 80d0f84a-18a2-4d69-93a9-c5bee99b875f

@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-75f14052de2d) project (BUGBOT.md) 761 chars included

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

Bugbot request id: 80d0f84a-18a2-4d69-93a9-c5bee99b875f

@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 1 potential issue.

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 fc0361b. 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.

Mismatched search example output

Medium Severity

The // Output: line for geoQueryResult drops the trailing empty slice that fmt.Println of a go-redis search result still emits. The following geomQueryResult line in the same block, and the other Go search examples, keep that suffix, so ExampleClient_geoindex will not match stdout.

Additional Locations (1)
Fix in Cursor Fix in Web

Triggered by project rule: Bugbot rules for redis/docs

Reviewed by Cursor Bugbot for commit fc0361b. Configure here.

@andy-stark-redis
andy-stark-redis deleted the DOC-bugbot-probe3-d1-expt branch November 4, 2026 13:48
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