Skip to content

Org name like -/ are not properly escaped when passed to bt#55

Merged
Cedric / ViaDézo1er (viadezo1er) merged 1 commit into
mainfrom
cedric/org-name-sanitizing
Jun 1, 2026
Merged

Org name like -/ are not properly escaped when passed to bt#55
Cedric / ViaDézo1er (viadezo1er) merged 1 commit into
mainfrom
cedric/org-name-sanitizing

Conversation

@viadezo1er
Copy link
Copy Markdown
Collaborator

@viadezo1er Cedric / ViaDézo1er (viadezo1er) commented May 29, 2026

After:

◇  Switch Braintrust CLI from ced (ced/test) to -/ (-//My Project)?
│  Yes
│
◆  Configured Braintrust CLI.
│

Before:

◇  Switch Braintrust CLI from ced (ced/test) to -/ (-//My Project)?
│  Yes
│
▲  Could not configure Braintrust CLI: Braintrust CLI login failed with exit code 2. error: unexpected argument '-/' found
│
│  Usage: bt auth [OPTIONS] <COMMAND>
│
│  For more information, try '--help'.
│

The exact flow (thus the text you'll see) depends on whether bt was already logged in before running spark, but the bug is the same.

@viadezo1er Cedric / ViaDézo1er (viadezo1er) merged commit 1733216 into main Jun 1, 2026
10 checks passed
@viadezo1er Cedric / ViaDézo1er (viadezo1er) deleted the cedric/org-name-sanitizing branch June 1, 2026 11:25
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