Repository navigation
DO NOT MERGE: Bugbot probe 3, D1 - #4459
andy-stark-redis wants to merge 1 commit into
Conversation
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 MemoryFound 3 related items from repository history (3 new this commit):
|
|
bugbot run verbose=true |
|
Bugbot request id: 80d0f84a-18a2-4d69-93a9-c5bee99b875f |
Bugbot rules debugBugbot rules included in this run
Bugbot request id: 80d0f84a-18a2-4d69-93a9-c5bee99b875f |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ 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>}]} |
There was a problem hiding this comment.
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)
Triggered by project rule: Bugbot rules for redis/docs
Reviewed by Cursor Bugbot for commit fc0361b. Configure here.


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 viagit log) and includes a probe canary that requires quoting PR #4287’s firstLearned:line when that PR appears in memory.Updates the
ExampleClient_geoindexgolden// Output:comment ingeo_index_test.goso the product geo search line no longer ends with a trailing[]before the closing brace—matching the current string form of thatFTSearchresult.Reviewed by Cursor Bugbot for commit fc0361b. Bugbot is set up for automated code reviews on this repo. Configure here.