opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

make sure ci job uses always the latest go patch available

Open cpanato opened this issue 1 year ago • 5 comments
trafficstars

Description:

  • make sure ci job uses always the latest go patch available
  • update deprecated goreleaser flag

cpanato avatar Apr 12 '24 08:04 cpanato

cc @jpkrohling

cpanato avatar Apr 12 '24 08:04 cpanato

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.75%. Comparing base (0d6e6bf) to head (0149ba7).

:exclamation: Current head 0149ba7 differs from pull request most recent head e99f986

Please upload reports for the commit e99f986 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9951      +/-   ##
==========================================
- Coverage   92.56%   91.75%   -0.81%     
==========================================
  Files         387      358      -29     
  Lines       18254    16569    -1685     
==========================================
- Hits        16896    15203    -1693     
- Misses       1014     1038      +24     
+ Partials      344      328      -16     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Apr 12 '24 08:04 codecov[bot]

If I recall correctly I purposefully switch from using the latest patch version to specifying a specific patch version so that we had complete control over the go version we built/tested with

TylerHelmuth avatar Apr 15 '24 17:04 TylerHelmuth

purposefully switch from using the latest patch version to spe

I see, but then should we pin that to the patch version and not use the ~?

cpanato avatar Apr 16 '24 16:04 cpanato

This PR was marked stale due to lack of activity. It will be closed in 14 days.

github-actions[bot] avatar May 08 '24 03:05 github-actions[bot]

Closed as inactive. Feel free to reopen if this PR is still being worked on.

github-actions[bot] avatar May 22 '24 03:05 github-actions[bot]

@jpkrohling @TylerHelmuth is this something you guys want to have? if yes can you reopen and lets merge it?

cpanato avatar May 22 '24 06:05 cpanato

I think this is desirable, especially for the security aspects of this, but I'll let @TylerHelmuth comment as well. I understand that this is either about using the latest patch, or pinning to specific patch (and thus, remove ~ from the version spec), right?

jpkrohling avatar May 22 '24 08:05 jpkrohling

i will rebase and fix the conflicts

cpanato avatar May 22 '24 09:05 cpanato

Agreed

TylerHelmuth avatar May 22 '24 15:05 TylerHelmuth

@jpkrohling @TylerHelmuth done, ptal

thanks!

cpanato avatar May 22 '24 16:05 cpanato

This PR was marked stale due to lack of activity. It will be closed in 14 days.

github-actions[bot] avatar Jun 07 '24 03:06 github-actions[bot]

I asked the Collector leads if it's something we want, and if so, I'll fix the conflicts.

jpkrohling avatar Jun 07 '24 07:06 jpkrohling

rebased

cpanato avatar Jun 07 '24 08:06 cpanato

I don't see why we shouldn't do this, although one thing to keep in mind is that CI will be broken when a new version of go is released (because of the helpful toolchain directive)

codeboten avatar Jun 07 '24 15:06 codeboten

Can't renovate take care of bumping it as well?

jpkrohling avatar Jun 11 '24 12:06 jpkrohling

This PR was marked stale due to lack of activity. It will be closed in 14 days.

github-actions[bot] avatar Jul 05 '24 03:07 github-actions[bot]

renovate or dependabot can bump

cpanato avatar Jul 05 '24 08:07 cpanato

renovate or dependabot can bump

Is this something we have an issue/PR for?

mx-psi avatar Jul 18 '24 11:07 mx-psi

This PR was marked stale due to lack of activity. It will be closed in 14 days.

github-actions[bot] avatar Aug 02 '24 03:08 github-actions[bot]

Closed as inactive. Feel free to reopen if this PR is still being worked on.

github-actions[bot] avatar Aug 16 '24 03:08 github-actions[bot]