Skip to content

fix(checkhealth): check minor and patch opencode version#217

Merged
nickjvandyke merged 1 commit intonickjvandyke:mainfrom
lungsin:chore/checkhealth-version
Mar 29, 2026
Merged

fix(checkhealth): check minor and patch opencode version#217
nickjvandyke merged 1 commit intonickjvandyke:mainfrom
lungsin:chore/checkhealth-version

Conversation

@lungsin
Copy link
Copy Markdown
Contributor

@lungsin lungsin commented Mar 29, 2026

Description

There's a minor logic error (pun intended!) in the :checkhealth logic when comparing the opencode version. When the minor version is larger than the latest tested version, the patched version check is still performed. So, the following cases trigger warning. (see screenshots below):

  • The opencode version: 1.3.5
  • The tested version: 1.2.11

Related Issue(s)

It's probably not worth creating an issue just for this lol.

Screenshots/Videos

Before

image

After

image

@nickjvandyke nickjvandyke merged commit ecd6e9b into nickjvandyke:main Mar 29, 2026
2 checks passed
@nickjvandyke
Copy link
Copy Markdown
Owner

Thanks!

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