Skip to content

docs: add Cursor Cloud pscale build/install notes to AGENTS.md#1291

Closed
heyglassy wants to merge 2 commits into
mainfrom
cursor/document-pscale-cloud-build-1c88
Closed

docs: add Cursor Cloud pscale build/install notes to AGENTS.md#1291
heyglassy wants to merge 2 commits into
mainfrom
cursor/document-pscale-cloud-build-1c88

Conversation

@heyglassy

@heyglassy heyglassy commented Jul 13, 2026

Copy link
Copy Markdown

What

Adds a ## Cursor Cloud specific instructions section to AGENTS.md covering two things discovered while setting up a Cursor Cloud dev environment:

  1. Building/installing pscale from this repo (entry point ./cmd/pscale, install to /usr/local/bin/pscale), and that installing the binary does not authenticate it.
  2. pscale auth login hangs on the desktop keyring prompt. In the Cursor Cloud VM the gnome-keyring SecretService backend is present but locked, so after approving the device flow the CLI blocks on a "Choose password for new keyring" dialog and never writes the token (auth check keeps reporting NO_AUTH). Documented the workaround: run with DBUS_SESSION_BUS_ADDRESS=unix:path=/dev/null so pscale falls back to its plaintext file store at ~/.config/planetscale/access-token (must be applied to reads too, since those also open the keyring).

Why

Both are non-obvious and cost real time to rediscover. The keyring hang in particular looks like a failed login when it's actually a blocked credential write.

Notes

  • Docs-only change; no code changes.
  • pscale version 0.299.0 builds and runs from this repo with Go 1.26.
Open in Web Open in Cursor 

@heyglassy heyglassy closed this Jul 13, 2026
@cursor cursor Bot deleted the cursor/document-pscale-cloud-build-1c88 branch July 13, 2026 19:00
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.

2 participants