Skip to content

Switch minimum go version to go1.21 - through sets update; drop x/exp; bump fsnotify to 1.8.0#70

Merged
ldemailly merged 7 commits intomainfrom
go_1_21_min
Apr 6, 2025
Merged

Switch minimum go version to go1.21 - through sets update; drop x/exp; bump fsnotify to 1.8.0#70
ldemailly merged 7 commits intomainfrom
go_1_21_min

Conversation

@ldemailly
Copy link
Copy Markdown
Member

No description provided.

@ldemailly ldemailly requested a review from Copilot April 6, 2025 22:00
Copy link
Copy Markdown

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 3 out of 5 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • Makefile: Language not supported
  • go.mod: Language not supported
Comments suppressed due to low confidence (3)

dyngeneric.go:320

  • [nitpick] Ensure that the switch from constraints.Ordered to cmp.Ordered preserves the intended ordering semantics in all use cases now that Go 1.21 is required.
func ValidateRange[T cmp.Ordered](fromInclusive T, toInclusive T) func(T) error {

configmap/loglevel_change_test.go:59

  • [nitpick] Consider removing the obsolete commented-out sleep statement to improve test clarity and maintainability.
// time.Sleep(5 * time.Second)

configmap/loglevel_change_test.go:93

  • [nitpick] Increasing the sleep duration might slow down the tests; if possible, consider using an event-driven approach to wait for the desired state instead of a fixed delay.
time.Sleep(5 * time.Second)

@ldemailly ldemailly changed the title Switch minimum go version to go1.21 - through sets update Switch minimum go version to go1.21 - through sets update; drop x/exp; bump fsnotify to 1.8.0 Apr 6, 2025
@ldemailly ldemailly merged commit 0758f82 into main Apr 6, 2025
6 checks passed
@ldemailly ldemailly deleted the go_1_21_min branch April 6, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants