Skip to content

feat: add commit status reporting for deployments#1514

Merged
kimdre merged 15 commits into
mainfrom
feat/1511-report-deployment-result-as-a-commit-status-check
Jul 18, 2026
Merged

feat: add commit status reporting for deployments#1514
kimdre merged 15 commits into
mainfrom
feat/1511-report-deployment-result-as-a-commit-status-check

Conversation

@kimdre

@kimdre kimdre commented Jul 17, 2026

Copy link
Copy Markdown
Owner
image image image

@kimdre kimdre added the feature New feature label Jul 17, 2026
@kimdre
kimdre marked this pull request as draft July 17, 2026 23:26
Comment thread internal/commitstatus/commitstatus.go Fixed
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.71186% with 198 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.26%. Comparing base (10bf9ae) to head (96f9480).

Files with missing lines Patch % Lines
internal/stages/types.go 0.00% 59 Missing ⚠️
internal/commitstatus/provider_azuredevops.go 62.20% 35 Missing and 13 partials ⚠️
internal/stages/run.go 58.13% 18 Missing ⚠️
cmd/doco-cd/handler.go 68.08% 9 Missing and 6 partials ⚠️
internal/commitstatus/provider_github.go 65.11% 11 Missing and 4 partials ⚠️
internal/commitstatus/http_client.go 68.88% 7 Missing and 7 partials ⚠️
internal/commitstatus/commitstatus.go 78.94% 8 Missing and 4 partials ⚠️
internal/commitstatus/provider_gitlab.go 78.43% 9 Missing and 2 partials ⚠️
internal/commitstatus/provider_resolver.go 90.24% 2 Missing and 2 partials ⚠️
internal/config/app/app_config.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1514      +/-   ##
==========================================
+ Coverage   45.49%   46.26%   +0.77%     
==========================================
  Files         131      138       +7     
  Lines       11134    11663     +529     
==========================================
+ Hits         5065     5396     +331     
- Misses       5398     5557     +159     
- Partials      671      710      +39     
Flag Coverage Δ
unittests 46.26% <62.71%> (+0.77%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

Comment thread internal/commitstatus/commitstatus.go Fixed
Comment thread internal/commitstatus/http_client.go Dismissed
Comment thread internal/commitstatus/http_client.go Dismissed
@kimdre
kimdre marked this pull request as ready for review July 18, 2026 12:41
@kimdre
kimdre merged commit 529ad77 into main Jul 18, 2026
14 checks passed
@kimdre
kimdre deleted the feat/1511-report-deployment-result-as-a-commit-status-check branch July 18, 2026 12:44
@github-project-automation github-project-automation Bot moved this to Done in Doco-CD Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[feature] Report deployment result back to Git provider as a commit status / check

2 participants