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.0 #7940

Merged
merged 5 commits into from
Feb 17, 2024
Merged

Update Go version to 1.22.0 #7940

merged 5 commits into from
Feb 17, 2024

Conversation

zrhoffman
Copy link
Member

What does this PR (Pull Request) do?

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

See the Go 1.22.0 release notes:

The latest Go release, version 1.22, arrives six months after Go 1.21. Most of its changes are in the implementation of the toolchain, runtime, and libraries. As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before.

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?

Verify that tests pass

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.
  • This PR includes a changelog entry
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b1d83a5) 65.77% compared to head (fbc01df) 26.31%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #7940       +/-   ##
=============================================
- Coverage     65.77%   26.31%   -39.46%     
  Complexity       98       98               
=============================================
  Files           327      738      +411     
  Lines         13010    85719    +72709     
  Branches        998       90      -908     
=============================================
+ Hits           8557    22557    +14000     
- Misses         4091    61079    +56988     
- Partials        362     2083     +1721     
Flag Coverage Δ
golib_unit 45.93% <ø> (?)
grove_unit 4.60% <ø> (?)
t3c_unit 4.82% <ø> (?)
traffic_monitor_unit 20.67% <ø> (?)
traffic_ops_integration 69.42% <ø> (ø)
traffic_ops_unit 21.55% <ø> (?)
traffic_portal_v2 ?
traffic_router_unit 29.03% <ø> (ø)
traffic_stats_unit 10.16% <ø> (?)
unit_tests 23.17% <ø> (-51.22%) ⬇️
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.

@shamrickus shamrickus merged commit 1008c27 into apache:master Feb 17, 2024
41 checks passed
rimashah25 pushed a commit to rimashah25/trafficcontrol that referenced this pull request Mar 20, 2024
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] <[email protected]>
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] <[email protected]>
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 <[email protected]>
(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 <[email protected]>
Co-authored-by: Zach Hoffman <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@zrhoffman zrhoffman deleted the go-1.22.0 branch August 27, 2024 15:24
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