Skip to content

fix: relaunch updated runtime after self-update#162

Merged
alexk-dev merged 2 commits intomainfrom
fix/self-update-runtime-restart
Mar 12, 2026
Merged

fix: relaunch updated runtime after self-update#162
alexk-dev merged 2 commits intomainfrom
fix/self-update-runtime-restart

Conversation

@alexk-dev
Copy link
Owner

Summary

  • add a runtime launcher that supervises the bot process and handles self-update restarts via exit code 42
  • restart from the jar selected in current.txt instead of always booting the immutable image classpath after an update
  • point the Jib container entrypoint at the launcher and cover bundled-runtime and staged-jar restart flows with tests

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
66.1% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@alexk-dev alexk-dev merged commit 5909b6d into main Mar 12, 2026
16 of 17 checks passed
@alexk-dev alexk-dev deleted the fix/self-update-runtime-restart branch March 12, 2026 21: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.

1 participant