# fix\(bitbucket\): check the context host before an explicit repository · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/9006ec60a914d835f20949579628842a7630b966)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 9006ec60a914d835f20949579628842a7630b966

Requested commit: 9006ec60a914d835f20949579628842a7630b966

Commit: 9006ec60a914d835f20949579628842a7630b966

Tree: e3b6218d705d736c56cf5a4f62593a1e52b64223

Author: Victor Vogel

Committer: Victor Vogel

## Message

```
fix(bitbucket): check the context host before an explicit repository

resolveRepository returned an explicit repository before the unsupported-host
guard, so getRepositoryCloneUrls with a self-hosted Bitbucket context still
sent its read to the Cloud API. Run the guard first and cover that path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [e1e024cb0126a66f3a29c963fd9fa421960dd501](https://git.cafe/pingdotgg/t3code/commit/e1e024cb0126a66f3a29c963fd9fa421960dd501?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/9006ec60a914d835f20949579628842a7630b966?format=markdown)
