Sign in

Protron M

@protronm.bsky.social
30 followers 37 following 1 posts
PostsRepliesMedia
Protron M @protronm.bsky.social · 08/06/2026
There's a bug in Cursor's BugBot landing page. Found it the old fashioned way.
web page of "https://cursor.com/bugbot" showing the following example code:
```
src/waymo/planner/route.ts
4   const DEFAULT_ROUTE_OPTIONS = { maxSpeed: 65, avoidTolls: false };
5   export function planWaymoRoute(dest, options = {}) {
6 -   return planner.compute({ ...DEFAULT_ROUTE_OPTIONS, ...options });
6 +   return planner.compute(Object.assign(DEFAULT_ROUTE_OPTIONS, options));
7   }
```
And the bot commenting:
> Route settings leak between riders
> Using Object.assign mutates the shared DEFAULT_ROUTE_OPTIONS object in place. One rider's route preferences will leak to all subsequent trips.

But then the image shows that the "CORRECT line" is the one in red and the "Bug line" is the one in green.
010