Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go version to 1.22.1 #7955

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Update Go version to 1.22.1 #7955

merged 1 commit into from
Mar 6, 2024

Conversation

asf-ci-trafficcontrol
Copy link
Contributor

What does this PR (Pull Request) do?

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

See the Go 1.22.1 release notes:

go1.22.1 (released 2024-03-05) includes security fixes to the crypto/x509, html/template, net/http, net/http/cookiejar, and net/mail packages, as well as bug fixes to the compiler, the go command, the runtime, the trace command, and the go/types and net/http packages. See the Go 1.22.1 milestone on our issue tracker for details.

Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (t3c, formerly ORT)
  • Traffic Control Health Client (tc-health-client)
  • Traffic Control Client
  • Traffic Monitor
  • Traffic Ops
  • Traffic Stats
  • Grove
  • CDN in a Box - Enroller
  • CI tests for Go components
  • Build system - Go version in builder images

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

  • Existing tests are sufficient, no additional tests necessary
  • The documentation only mentions the major Go version, no documentation updates necessary.
  • The changelog already mentions updating to Go 1.22, no additional changelog message necessary.
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Copy link

codecov bot commented Mar 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.28%. Comparing base (1464dc2) to head (fd0f517).

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #7955       +/-   ##
=============================================
- Coverage     65.76%   26.28%   -39.48%     
  Complexity       98       98               
=============================================
  Files           327      738      +411     
  Lines         13010    85719    +72709     
  Branches        998       90      -908     
=============================================
+ Hits           8556    22535    +13979     
- Misses         4091    61096    +57005     
- Partials        363     2088     +1725     
Flag Coverage Δ
golib_unit 45.94% <ø> (?)
grove_unit 4.60% <ø> (?)
t3c_unit 4.73% <ø> (?)
traffic_monitor_unit 20.67% <ø> (?)
traffic_ops_integration 69.42% <ø> (ø)
traffic_ops_unit 21.50% <ø> (?)
traffic_portal_v2 ?
traffic_stats_unit 10.16% <ø> (?)
unit_tests 23.13% <ø> (-51.24%) ⬇️
v3 57.79% <ø> (ø)
v4 79.18% <ø> (ø)
v5 78.58% <ø> (ø)

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

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

@zrhoffman zrhoffman merged commit dc995a9 into master Mar 6, 2024
36 of 37 checks passed
@zrhoffman zrhoffman deleted the go-1.22.1 branch March 6, 2024 16:19
rimashah25 pushed a commit to rimashah25/trafficcontrol that referenced this pull request Mar 20, 2024
Co-authored-by: asf-ci-trafficcontrol <asf-ci-trafficcontrol@users.noreply.github.com>
(cherry picked from commit dc995a9)
zrhoffman added a commit that referenced this pull request Mar 20, 2024
* Update Chromedriver Versions (#7931)

* Update Go version to 1.21.7 (#7935)

* Update Chromedriver Versions (#7941)

Update chromedriver

(cherry picked from commit 8d1b4e3)

* Update Go version to 1.22.0 (#7940)

* Update Chromedriver Versions (#7942)

Update chromedriver

(cherry picked from commit 578f04e)

* Update Chromedriver Versions (#7949)

Update chromedriver

(cherry picked from commit f91c341)

* Update Chromedriver Versions (#7950)

Update chromedriver

(cherry picked from commit a423170)

* Bump ip from 1.1.8 to 1.1.9 in /experimental/traffic-portal/build (#7945)

Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](indutny/node-ip@v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 6c6eebc)

* Bump es5-ext from 0.10.62 to 0.10.64 in /experimental/traffic-portal (#7951)

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.62 to 0.10.64.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.62...v0.10.64)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit e05e709)

* Update Chromedriver Versions (#7954)

Update chromedriver

(cherry picked from commit 1464dc2)

* Update Go version to 1.22.1 (#7955)

Co-authored-by: asf-ci-trafficcontrol <asf-ci-trafficcontrol@users.noreply.github.com>
(cherry picked from commit dc995a9)

* Fix incorrect display of delivery services for an ORG server (#7957)

* Update Chromedriver Versions (#7963)

Update chromedriver

(cherry picked from commit 26a2f6a)

* Changes for ATC 8.0.1 release.

* Remove cypress node dependency

* Updated changelog

* Updated node dependencies

* Removing minor change from PR 7957

* Removing minor change from PR 7553

---------

Co-authored-by: asf-ci-trafficcontrol <127552316+asf-ci-trafficcontrol@users.noreply.github.com>
Co-authored-by: Zach Hoffman <zrhoffman@apache.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants