Repository navigation
ISS-15129: Support Bitbucket Cloud and multi-repository workspaces - #462
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ISS-15129. Vibe gains Bitbucket Cloud as a code host and multi-repository workspaces. Vibe and the generated ClosedLoop edition move to 1.1.125.
bitbucket.org(HTTPS) orssh.bitbucket.org(SSH) selects Bitbucket. Every other origin, including local paths, SSH aliases, ports, GitHub Enterprise and lookalike hosts, keeps the unchanged GitHub path. Bitbucket delivery goes through thebktCLI the way GitHub goes throughgh: PR publication (env-ctl.mjs pr), comments and threaded replies, PR body refresh (bkt pr edit, mirroring the GitHub body refresh), verified thread resolution (bkt pr comments resolve, mirroring GitHub), exact-commit Pipelines results and merge. Sign-in stays insidebkt; vibe never reads, asks for, stores or prints a credential.code-host-cli.mjs mergeis Bitbucket-only and refuses GitHub checkouts, which keep the guardedgh pr merge. Merge strategies are allowlisted. A merge counts only when Bitbucket reports the PR merged at the verified head; an open PR returnsPENDING. The nativebkt pr mergeis denied, with flags on either side ofpr. Handed-off Bitbucket PRs register worktree retirement.code-host-cli.mjs workspaceselects the changed repositories and their downstream checks. Sessions still use one worktree per repository.Test plan
Head
7f75372b, a merge of main8234d098(#461) into the branch. Everyci.ymljob ran on its committed recipe on a developer laptop, on a tree identical to this head (e7c64c96):plugin-manifest-versions,lint,typechecktest(Python)node-testsshards 1, 2 and 3vibe-eval-t0tools-ts(design-inventory, code-review-cost, guided-manual-qa, erd-diagram, vibe-workers, vibe-closedloop-build), including the committed dist checkplugin-version-bumppull_requestonly; vibe and vibe-closedloop 1.1.124 to 1.1.125VIBE_TEST_ALLOW_NO_LOOPBACK=1is set.bktasserts the full argv of every write. A reviewer broke seven write arguments in a scratch copy, and the suite failed each time.8698bad4as on its base4f9d50e4against the same live state. No branch is newly refused.Review: one independent review (2 blocking, 6 should-fix) and two fix rounds, then a re-review with verdict READY. Its should-fix and nits were applied in the second round.
Risks
bkthas no Cloud option to bind a merge atomically to an expected head. The guarded merge checks the head before and after the request, so a push in that gap remains possible. The source branch is kept after merge.