Skip to content

Bitbucket DC: resolve annotated tag SHA to commit SHA before posting build status#6203

Merged
qwerty287 merged 2 commits into
woodpecker-ci:mainfrom
dccdis:fix/bbdc-annotated-tag-commit-status
Mar 6, 2026
Merged

Bitbucket DC: resolve annotated tag SHA to commit SHA before posting build status#6203
qwerty287 merged 2 commits into
woodpecker-ci:mainfrom
dccdis:fix/bbdc-annotated-tag-commit-status

Conversation

@dccdis
Copy link
Copy Markdown
Contributor

@dccdis dccdis commented Mar 6, 2026

Fixes #6202

@qwerty287
Copy link
Copy Markdown
Contributor

Thanks! The sha is also cloneable? Because cloning uses the sha by default.

@qwerty287 qwerty287 added bug Something isn't working forge/bitbucket bitbucket forge related labels Mar 6, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 6, 2026

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 32.60%. Comparing base (739114b) to head (5c49ee3).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...r/forge/bitbucketdatacenter/bitbucketdatacenter.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6203      +/-   ##
==========================================
+ Coverage   32.58%   32.60%   +0.01%     
==========================================
  Files         417      417              
  Lines       28096    28100       +4     
==========================================
+ Hits         9156     9161       +5     
+ Misses      18094    18093       -1     
  Partials      846      846              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dccdis
Copy link
Copy Markdown
Contributor Author

dccdis commented Mar 6, 2026

As far as I can tell the bug only affects status reporting. Otherwise the pipeline appears to work perfectly (code clones, runs, passes/fails) both before and after applying the proposed fix.

Comment thread server/forge/bitbucketdatacenter/bitbucketdatacenter.go Outdated
@qwerty287 qwerty287 merged commit 1772ba0 into woodpecker-ci:main Mar 6, 2026
9 of 10 checks passed
@woodpecker-bot woodpecker-bot mentioned this pull request Mar 6, 2026
1 task
@woodpecker-bot woodpecker-bot mentioned this pull request Apr 1, 2026
1 task
@woodpecker-bot woodpecker-bot mentioned this pull request Apr 15, 2026
1 task
@6543 6543 changed the title fix(bbdc): resolve annotated tag object SHA to commit SHA before posting build status Bitbucket DC: resolve annotated tag SHA to commit SHA before posting build status Apr 19, 2026
@woodpecker-bot woodpecker-bot mentioned this pull request Apr 27, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working forge/bitbucket bitbucket forge related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bitbucket Data Center: annotated tags don't report build status to the correct commit

3 participants