Skip to content

Feat/auto update binary persistence - #525

Merged
pablocampogo merged 8 commits into
mainfrom
feat/auto-update-binary-persistence
Aug 19, 2026
Merged

Feat/auto update binary persistence#525
pablocampogo merged 8 commits into
mainfrom
feat/auto-update-binary-persistence

Conversation

@rem1niscence

Copy link
Copy Markdown
Collaborator

Description

Currently, when the canopy auto updater downloaded a new binary in a containerized environment such as docker, it was saved in a non-volume path that would be overwritten with the original file on restarts, this meant that everytime the canopy binary was restarted, it would start at an older version, more specifically, the version of the auto updater.

This fix downloads updates to the data-dir folder and prefers to execute the canopy binary from there, if not found, it will use the original one from the auto updater.

Related Issues

Closes: N/A

Changes Made

  • Fix bug where restarting canopy containers would revert the new binary version
  • Remove unnecessary releaser.Enabled field

Checklist

  • I have tested the changes locally and verified they work as intended.
  • I have appropriately titled my branch issue-#<issue-number>.
  • I have run re-built the web-wallet and/or block explorer (if applicable).
  • I have run npm run prettier to format the web-wallet and/or block explorer (if applicable)
  • I have updated documentation (if applicable).
  • I have included tests for the changes (if applicable).

Additional Notes

@pablocampogo pablocampogo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me test these changes with my latest change in the graduator and add plugins to the mix

@pablocampogo
pablocampogo self-requested a review August 18, 2026 22:40
@pablocampogo
pablocampogo force-pushed the feat/auto-update-binary-persistence branch from 43e9d32 to 16a088f Compare August 18, 2026 22:42
Comment thread controller/controller.go Outdated
Comment thread cmd/auto-update/main.go Outdated
@pablocampogo
pablocampogo merged commit eeddff0 into main Aug 19, 2026
2 checks passed
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