Skip to content

Update Canary to v1.5.1#1004

Closed
schjonhaug wants to merge 7 commits into
mynodebtc:masterfrom
schjonhaug:canary-v1.5.1
Closed

Update Canary to v1.5.1#1004
schjonhaug wants to merge 7 commits into
mynodebtc:masterfrom
schjonhaug:canary-v1.5.1

Conversation

@schjonhaug
Copy link
Copy Markdown
Contributor

@schjonhaug schjonhaug commented May 22, 2026

Summary

Update Canary myNode app package to v1.5.1.

Release summary

Canary v1.5.1 improves self-hosted explorer settings and local platform labels for myNode. It also fixes address-watch syncing edge cases and small self-hosted UI/build issues.

Upstream release

https://github.com/schjonhaug/canary/releases/tag/v1.5.1

Test plan

  • Built with mynode-sdk build canary
  • Tested on local myNode

@schjonhaug schjonhaug mentioned this pull request May 22, 2026
2 tasks
@schjonhaug schjonhaug marked this pull request as ready for review May 22, 2026 09:48
VERSION="${VERSION:-v1.5.0}"
VERSION="${VERSION:-v1.5.1}"

remove_canary_images_by_name() {
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.

This function is replicated twice and should not be necessary. Use the generic remove_docker_images_by_name function.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed. Removed the Canary-specific duplicate helper and switched this back to the existing remove_docker_images_by_name helper from mynode_functions.sh.

JWT_SECRET=$(cat "$JWT_SECRET_FILE")
EOF

if service_is_enabled mempool; then
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.

This should be fine, but it is possible for a service to be disabled or stopped while canary is running which may lead to undesirable behavior.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Tightened this up. Canary now only writes the local explorer env vars when the myNode service is both enabled and active at Canary startup.

That still leaves runtime changes as startup-scoped behavior: if Mempool or BTC RPC Explorer is stopped/disabled after Canary is already running, restarting Canary refreshes the advertised explorer list. I kept it scoped this way to avoid expanding this PR into a larger dynamic service-status integration.


echo "==================== UNINSTALLING APP ===================="

remove_canary_images_by_name() {
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.

Same here - function is unnecessary

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed here too. Removed the duplicate helper and switched uninstall cleanup back to remove_docker_images_by_name.

"app_status": app_status,
"app_status_color": app_status_color,
"app": app,
"canary_username": "admin@local",
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.

Did the app go to not requiring a username?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Canary still uses the fixed self-hosted username internally (admin@local). The app’s self-hosted sign-in flow now submits that fixed username automatically, so the user only needs the generated password. That is why I removed the username from the myNode info page.

Comment thread .gitignore Outdated
release.sh

# myNode app build artifacts
rootfs/standard/usr/share/mynode_apps/*/dist/
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.

I don't like this. Apps should not be build within the mynode repo.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed. I agree this should not encourage building app artifacts inside the myNode repo. I’ll keep build artifacts outside the upstream repo workflow.

@schjonhaug schjonhaug closed this Jun 5, 2026
@schjonhaug schjonhaug deleted the canary-v1.5.1 branch June 5, 2026 13:02
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