apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.02k stars 339 forks source link

Update Go version to 1.22.4 #8021

Closed asf-ci-trafficcontrol closed 3 weeks ago

asf-ci-trafficcontrol commented 3 weeks ago

What does this PR (Pull Request) do?

This PR makes the Go components of Traffic Control build using Go version 1.22.4 and updates the golang.org/x/ dependencies.

See the Go 1.22.4 release notes:

go1.22.4 (released 2024-06-04) includes security fixes to the archive/zip and net/netip packages, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the os package. See the Go 1.22.4 milestone on our issue tracker for details.

Which Traffic Control components are affected by this PR?

What is the best way to verify this PR?

Run unit tests and API tests. Since this is only a patch-level version update, the only changes were bugfixes. Breaking changes would be unexpected.

The following criteria are ALL met by this PR

codecov[bot] commented 3 weeks ago

Codecov Report

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

Project coverage is 78.58%. Comparing base (ef3fc6a) to head (bf64be5). Report is 33 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8021 +/- ## ========================================== + Coverage 74.36% 78.58% +4.21% ========================================== Files 121 57 -64 Lines 5548 1564 -3984 Branches 908 0 -908 ========================================== - Hits 4126 1229 -2897 + Misses 1351 254 -1097 - Partials 71 81 +10 ``` | [Flag](https://app.codecov.io/gh/apache/trafficcontrol/pull/8021/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [traffic_ops_integration](https://app.codecov.io/gh/apache/trafficcontrol/pull/8021/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `78.58% <ø> (?)` | | | [traffic_portal_v2](https://app.codecov.io/gh/apache/trafficcontrol/pull/8021/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | | | [unit_tests](https://app.codecov.io/gh/apache/trafficcontrol/pull/8021/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | | | [v5](https://app.codecov.io/gh/apache/trafficcontrol/pull/8021/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `78.58% <ø> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.

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