Skip to content

chore(ci): use real bt in ci, not a mock up - #97

Merged
Cedric / ViaDézo1er (viadezo1er) merged 3 commits into
mainfrom
cedric/use-real-bt-in-ci
Aug 27, 2026
Merged

chore(ci): use real bt in ci, not a mock up#97
Cedric / ViaDézo1er (viadezo1er) merged 3 commits into
mainfrom
cedric/use-real-bt-in-ci

Conversation

@viadezo1er

@viadezo1er Cedric / ViaDézo1er (viadezo1er) commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

CI fails because BRAINTRUST_SERVICE_TOKEN repository secret has been added but CI on main doesn't export it yet.

@viadezo1er
Cedric / ViaDézo1er (viadezo1er) marked this pull request as ready for review August 26, 2026 21:59
Comment thread packages/spark/test/braintrust-cli.test.ts Outdated
await new Promise<void>((resolve, reject) =>
server.close((error) => (error ? reject(error) : resolve())),
);
await rm(home, { recursive: true, force: true });

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a bit scary to run. Can we just make this all work w/ tmp directories?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages/spark/test/braintrust-cli.test.ts:21:
const home = await mkdtemp(join(tmpdir(), "braintrust-cli-test-"));

home is a temp dir.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But maybe I should rename home?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not a big deal, I just didn't read this properly. we are good.

@viadezo1er
Cedric / ViaDézo1er (viadezo1er) merged commit 7febf37 into main Aug 27, 2026
12 of 13 checks passed
@viadezo1er
Cedric / ViaDézo1er (viadezo1er) deleted the cedric/use-real-bt-in-ci branch August 27, 2026 18:12
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