Skip to content

fix: unify FTW update guidance and block retired release publication - #1473

Merged
frahlg merged 3 commits into
masterfrom
docs/update-instructions-20260929
Sep 29, 2026
Merged

frahlg merged 3 commits into
masterfrom
docs/update-instructions-20260929

Conversation

@frahlg

@frahlg frahlg commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Problem and result

Old install pages disagree about Docker, Pi images, 3.x beta and the new 0.x packages. A user can follow an old update path or leave two Core instances controlling the same equipment.

Make docs/native-beta.md the common entry point, with a Swedish guide and a route for each install type. State the owner's policy: no further 2.x or 3.x releases; use new 0.x now. Explain separate new setups, the unshipped data migration, backups, MQTT, old start rules and checks after reboot. Align README, support, agent rules, both deployment-skill copies, product docs, all five Pi guides and retired script messages. The deployment skill no longer pulls retired Docker latest or applies a saved override as a general update recipe. Restore the old Pi-image URL as a retirement notice.

Scope and safety

No runtime control or migration behavior changes. Native installer help and refusal messages use the same current paths. Current beta.yml and release-assets.yml entry points fail before checkout or registry access. Manual publication through release.yml also fails there; pushes still run the native Changesets version PR. Historical workflow revisions must not be dispatched. Retired scripts still exit without changing a site. Docker's missing-version message now asks for an exact published tag. Historical release artifacts and recovery material remain available.

Paired with the website and Home Assistant documentation changes in srcfl/ftw-web and srcfl/home-assistant-addons. The owner requested and authorized this cross-repository audit and merge.

Checked open PRs #1051, #1292 and #1364 and their reviews. This change uses separate install/release-policy sections and preserves their pending product, proposal and CLAUDE-shim work.

Verification

  • make verify: passed again after the publication guards (tests, vet and build).
  • Retirement regression checks execute the refusal steps and verify they precede checkout, block downstream publication and preserve the native version-PR path.
  • bash scripts/test-install-native.sh: passed.
  • bash scripts/test-modular-compose.sh and bash scripts/test-upgrade-paired-release.sh: passed after final wording changes; retired paths make no site changes.
  • docker compose -f deploy/docker/compose.yaml config --quiet: rejects a missing tag with the new message; passes with an explicit published new 0.x tag.
  • Checked local Markdown targets and anchors plus links between the three changed repositories; all resolve.
  • Brand inventory check and identical Codex/Claude skill copies: passed.
  • git diff --check: passed. No hardware behavior is changed or claimed as tested.

Checklist

  • Follows VISION.md and the owner's selected scope.
  • Checked overlapping PRs; kept their pending work intact.
  • Relevant checks cover changed messages and failure paths.
  • No Core UI changed.
  • Changeset included for the script and Compose messages.
  • Every commit has a DCO sign-off.

Paired PRs: web, Home Assistant. Merge Core before the links to its new guide go live.

Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T07:54:15.710057Z a01a0bd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: a01a0bdb23

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread AGENTS.md Outdated
Comment on lines +230 to +232
The old Docker workflows, tags and receipts describe past releases and remain
for recovery and audit. Their presence is not authority to cut another 2.x or
3.x release. Do not dispatch them or the old Home Assistant publication path.

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 Retire the still-authorized legacy release dispatch

When a maintainer opens .github/workflows/release.yml, its lines 3–8 and 29–30 still explicitly authorize an exceptional 2.x safety release, while scripts/check-legacy-release-line.sh continues to accept 2.x tags. That directly contradicts the new no-dispatch policy here and leaves a documented, executable path for publishing a release on the retired line; update or disable those workflow entry points as part of retiring the path.

AGENTS.md reference: AGENTS.md:L228-L234

Useful? React with 👍 / 👎.

Comment thread docs/native-beta.md
Comment on lines +88 to +89
Move directly to the new line using one of the paths below. Keep the old
installation and its data for recovery; the new setup does not import them.

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 Update the active installer's obsolete wait message

When an existing-site owner follows this new switch-now guidance but invokes scripts/install.sh --help or hits its refusal path, the active installer still says that an existing installation “must wait for the guided 0.x migration” and directs the owner to “try 0.x beside it.” That stale user-facing path contradicts the newly selected separate-card/project migration guidance and can cause owners to defer the required switch, so the active installer messages need to point to the same current guide and terminology.

AGENTS.md reference: AGENTS.md:L202-L206

Useful? React with 👍 / 👎.

Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@frahlg frahlg changed the title docs: make every FTW update path clear and retire 2.x/3.x advice fix: unify FTW update guidance and block retired release publication Sep 29, 2026
@frahlg
frahlg merged commit 46ae403 into master Sep 29, 2026
14 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