Skip to content

Use goroutine for release check and fixed login in osctrl-admin#787

Merged
javuto merged 2 commits intomainfrom
telemetry-osctrl-admin-fix
Mar 30, 2026
Merged

Use goroutine for release check and fixed login in osctrl-admin#787
javuto merged 2 commits intomainfrom
telemetry-osctrl-admin-fix

Conversation

@javuto
Copy link
Copy Markdown
Collaborator

@javuto javuto commented Mar 30, 2026

Follow up fix to #785 with correct logic and using a goroutine so the check is async.

@javuto javuto requested a review from Copilot March 30, 2026 20:44
@javuto javuto added ✨ enhancement New feature or request osctrl-admin osctrl-admin related changes labels Mar 30, 2026
Copy link
Copy Markdown
Contributor

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.

Pull request overview

Follow-up to #785 to correct the “suggested release” comparison messaging in osctrl-admin and make the remote release check non-blocking during service startup.

Changes:

  • Fix the CheckSuggestedRelease conditional so “up to date” vs “newer version available” logs are emitted in the correct cases.
  • Run checkLatestRelease() asynchronously via a goroutine during startup.
  • Simplify the initial “checking for latest release” log message.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/admin/main.go
@javuto javuto merged commit d0b6afd into main Mar 30, 2026
55 checks passed
@javuto javuto deleted the telemetry-osctrl-admin-fix branch March 30, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ enhancement New feature or request osctrl-admin osctrl-admin related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants