Skip to content

chore(release): v0.16.5 - #218

Merged
ralyodio merged 1 commit into
mainfrom
release-0.16.5
Aug 1, 2026
Merged

chore(release): v0.16.5#218
ralyodio merged 1 commit into
mainfrom
release-0.16.5

Conversation

@ralyodio

@ralyodio ralyodio commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Releases the check-before-install work from #217 — slightly circular otherwise, since you'd need to upgrade to get the thing that decides whether to upgrade.

moshcode update --check              is there a newer release?
moshcode update --if-newer           install only if there is
moshcode update --timer [--install]  check on a schedule (15min default)

Until now every run re-fetched Node, bun and the release tarball whether or not anything changed.

Ordered version compare, so a rolled-back release isn't an upgrade and 0.9.0 isn't newer than 0.10.0. Unreachable feed means do nothing, because a timer that reinstalls on every failed check hammers a machine that's merely offline. Persistent=true so a sleeping laptop checks on waking. The unit runs --if-newer, not bare update — tested, because that mistake turns a 15-minute timer into a 15-minute reinstall.

Automatic updates hand a bad release to every machine on the timer within the interval, with nobody in the loop. Worth knowing before enabling the installing form rather than the checking one.

🤖 Generated with Claude Code

`moshcode update` now checks before it installs.

  moshcode update --check              is there a newer release?
  moshcode update --if-newer           install only if there is
  moshcode update --timer [--install]  check on a schedule, 15min default

Until now every run re-fetched Node, bun and the release tarball whether
or not anything had changed — fine as a thing you type, wrong as a thing
a timer runs every fifteen minutes.

Versions compare in order rather than by string inequality, so a rolled
back release does not read as an upgrade and 0.9.0 does not read as newer
than 0.10.0. An unreachable feed means do nothing, because a timer that
reinstalls on every failed check hammers a machine that is merely offline.
The timer sets Persistent=true so a sleeping laptop checks on waking, and
runs the checking form rather than a bare update.

Automatic updates hand a bad release to every machine on the timer within
the interval, with nobody in the loop — which is worth knowing before
enabling the installing form rather than the checking one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio
ralyodio merged commit afb9b7f into main Aug 1, 2026
3 checks passed
@ralyodio
ralyodio deleted the release-0.16.5 branch August 8, 2026 17:06
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.

1 participant