Repository navigation
Bitbucket Data Center PR links saved as GitHub /pull/ URLs and never sync
#26498
Closed
Gigan-ator
started this conversation in
Ideas
Replies: 1 comment
|
Closing as a duplicate of #26493, which tracks the same request. Please follow along there. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What happened
We use Bitbucket Data Center. Thread PR linking fails often. Linked URLs look like GitHub (
.../pull/N) instead of Data Center (.../pull-requests/N). Sync then cannot browse the host. Seen on stable and nightly.Diagnosis
Remote shape:
https://git.example.corp/scm/<project>/<repo>.git(Data Center). Hostname has nobitbucketDNS label.bitbucketDNS label are not claimed bypackages/source-control-bitbucket, so remotes and PR URLs on those hosts are not parsed as Bitbucket./workspace/repo/pull-requests/N. Data Center browse URLs are/projects/KEY/repos/slug/pull-requests/N.resolveTargetfalls back to the project host kind and builds a GitHub URL (.../owner/repo/pull/N). GitHub's parser accepts/owner/repo/pull/Non any host, so the link is stored.provider-unsupported: "Change requests cannot be browsed for this project's host yet."Steps to reproduce
bitbucket(example shape:https://git.example.corp/scm/<project>/<repo>.git).link_pull_requestwith repository + number (or a GitHub-shaped URL).https://git.example.corp/<project>/<repo>/pull/<n>.https://git.example.corp/projects/<KEY>/repos/<repo>/pull-requests/<n>.provider-unsupported).Version
Stable
0.1.3and nightly0.1.3-nightly.20261026.3740(same failure on both).Triage CLI that ran this session:
0.1.3.Environment
Windows 10.0.26100 (win32 x64), Node v26.12.1, local server via
npxinstall (serverInstallation.kind: npx), Cursor harness against a local server on port 3773.Evidence
Stored link shape (agent source):
https://git.example.corp/<project>/<repo>/pull/1Real Data Center PR URL shape:
https://git.example.corp/projects/<KEY>/repos/<repo>/pull-requests/<n>Trace (redacted): PullRequestSyncReactor sweep skipped a large batch of links for that custom DC host with reason
Change requests cannot be browsed for this project's host yet.Related issues
bitbucket-labeled hosts; closed; does not cover/pull/mis-build on unlabeled DC hosts.Fix applied or workaround
None. No local config makes Data Center PR link + browse work today.
Filed by
Composer (Auto) via
t3 triageAll reactions