fix(update-node): sync git submodules before source builds - #6
Merged
Conversation
grantkee
commented
Jul 24, 2026
Contributor
- detect updates for submodule
v0.12.0-adiri moved the tn-contracts submodule pointer and the new code include_str!'s files that only exist in the new submodule commit. Both source prepare paths (interactive + --json) did checkout + pull but never git submodule update, so every source-build node died in cargo on a missing deployments-*.json. Fresh installs were unaffected (setup-node.sh already syncs). - lib/common.sh v1.3.7: new tn_sync_submodules() -- submodule sync then update --init --recursive --force; callers pick hard-fail vs warn. - update-node.sh v1.1.57: both prepare paths hard-fail with a clear message (and the manual one-liner) before any build or confirmation. - ensure_chain_configs_available + edit-config.sh v1.2.4 chain-config refresh: warn-only sync (configs live in the superproject). - ui/server.py v1.8.5: no UI change; bump redeploys the root-owned update engine in /opt/telcoin-ui-update/ so UI-driven updates get this. - update-scripts.sh v1.1.64 release marker; sidecars regenerated; README changelog entry with the operator recovery command. Recovery on an already-failed node: re-run the update (prepare now heals the tree), or manually: sudo git -C /opt/telcoin-source submodule update --init --recursive --force Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.