Skip to content

Conversation

caarlos0
Copy link
Member

@caarlos0 caarlos0 added the enhancement New feature or request label Apr 10, 2025
@caarlos0 caarlos0 self-assigned this Apr 10, 2025
@caarlos0 caarlos0 requested a review from Copilot April 10, 2025 03:17
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 10, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

internal/artifact/artifact_test.go:1030

  • [nitpick] Consider refactoring the loop into a table-driven test to clearly specify expected behavior for each artifact type, which may improve readability and scalability of the tests.
for i := 1; i <= 30; i++ {

@@ -468,11 +477,20 @@ func (artifacts *Artifacts) Add(a *Artifact) {
}
}
a.Path = filepath.ToSlash(a.Path)
if a.Type.isUploadable() &&
Copy link
Preview

Copilot AI Apr 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warning log message for duplicate uploadable artifact names could be clarified to indicate that the artifact is still being added and that this is just a warning. Consider rewording it for clearer remediation guidance.

Copilot uses AI. Check for mistakes.

Copy link

cloudflare-workers-and-pages bot commented Apr 10, 2025

Deploying goreleaser with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6c3e43b
Status:⚡️  Build in progress...

View logs

Copy link

codecov bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.02%. Comparing base (1cecd11) to head (6c3e43b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5713      +/-   ##
==========================================
+ Coverage   83.01%   83.02%   +0.01%     
==========================================
  Files         158      158              
  Lines       15564    15579      +15     
==========================================
+ Hits        12920    12935      +15     
  Misses       2088     2088              
  Partials      556      556              

☔ 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.

@caarlos0 caarlos0 merged commit 1a920fd into main Apr 10, 2025
12 of 14 checks passed
@caarlos0 caarlos0 deleted the names branch April 10, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant