Skip to content

Fix selfhost update release source#39

Merged
Ryson-32 merged 1 commit into
mainfrom
ryan/dev
Jun 24, 2026
Merged

Fix selfhost update release source#39
Ryson-32 merged 1 commit into
mainfrom
ryan/dev

Conversation

@Ryson-32

Copy link
Copy Markdown
Member

Summary

  • keep fixed-tag installers installing the requested tag while writing the default update source to the stable latest release manifest
  • refresh manager runtime env after release metadata updates so compose pull/up uses the new image immediately
  • keep dev release installers on the dev update source

Validation

  • bash -n public/local/scripts/install.sh public/local/scripts/subboost.sh
  • npm --prefix public exec vitest run local/scripts/selfhost-shell.test.ts
  • npm exec vitest run service/test/scripts/selfhost-oneclick.test.ts
  • npm --prefix public run lint
  • npm --prefix public run test:unit

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e3b16235f1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread local/scripts/install.sh

set_env_value SUBBOOST_IMAGE "$image"
set_env_value SUBBOOST_RELEASE_URL "$SUBBOOST_RELEASE_URL"
set_env_value SUBBOOST_RELEASE_URL "$SUBBOOST_UPDATE_RELEASE_URL"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve explicit custom update sources

When an operator installs from a custom/fork/dev manifest by setting SUBBOOST_RELEASE_URL but does not also know to set the newly added SUBBOOST_UPDATE_RELEASE_URL, this persists the default official latest manifest into .env. Since subboost update later reads SUBBOOST_RELEASE_URL in update_cmd, those installs silently switch update channels after the first install instead of continuing to update from the requested source.

Useful? React with 👍 / 👎.

@Ryson-32
Ryson-32 merged commit fbb697d into main Jun 24, 2026
9 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.

1 participant