Repository navigation
docs: DEPLOY_HEALTH_URL and ROLLBACK_ON_FAIL (old smoke names removed) - #41
Merged
Merged
Conversation
Default probe is APP_URL + /api/_info/health-check. Live requires a resolvable URL. SMOKE_URL is a deprecated alias, not the SoT. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
No deprecated alias. Docs may say do not use SMOKE_URL; removed. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
No old-name alias. SMOKE_URL stays removed. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
ROBJkE
marked this pull request as ready for review
September 18, 2026 07:01
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.
Locked contract (same as parallel CLI / shopware-cd work). Operator-facing post-deploy probe SoT is
DEPLOY_HEALTH_URLonly. Auto-rollback isROLLBACK_ON_FAIL. There is noSMOKE_URLalias and noROLLBACK_ON_SMOKE_FAILalias.Companion: Require deploy health on live.
Contract
APP_URL(trailing/stripped) +/api/_info/health-check(same path as the Composewebhealthcheck).DEPLOY_HEALTH_URL(full URL as-is, e.g. loopback). Only this override.SMOKE_URLis removed. Docs do not say it still works. Allowed: one line “do not useSMOKE_URL; removed.”ROLLBACK_ON_FAIL.ROLLBACK_ON_SMOKE_FAILis removed (no alias). Allowed: one line “do not useROLLBACK_ON_SMOKE_FAIL; removed.”--allow-no-deploy-health/ALLOW_NO_DEPLOY_HEALTH=1.What changed
Operator-facing recipe text (
post-install.txt, recipe README, repo README):APP_URL+/api/_info/health-checkprobe.DEPLOY_HEALTH_URLas the only override.--allow-no-deploy-health/ALLOW_NO_DEPLOY_HEALTH=1.SMOKE_URLorROLLBACK_ON_SMOKE_FAIL; removed. Auto-rollback usesROLLBACK_ON_FAIL.Tests:
deploy_health_docs_okintests/fixtures.sh. Docs that presentSMOKE_URLorROLLBACK_ON_SMOKE_FAILas still working fail. A removal notice is allowed.tests/init-env.test.sh,tests/vps-hardening.test.sh,tests/wrappers.test.shassert the three recipe docs files.APP_URLso the default probe resolves once the parallel CLI lands.DEPLOY_HEALTH_URLoverride, leftoverSMOKE_URLignored, staging optional) runs whendeploy release --helplists--allow-no-deploy-health; skipped on current 0.2.0.This recipe is thin (
copy-from-package). Overlay bytes live in fyrst-dev/shopware-cd. Tests callfyrst-clidirectly. No CLI source changes here.Out of this PR
DEPLOY_HEALTH_URL/APP_URLdefault / live refuse /--allow-no-deploy-health; do not acceptSMOKE_URL; auto-rollback envROLLBACK_ON_FAIL, noROLLBACK_ON_SMOKE_FAILalias)..env.example/deploy/README.mdstill say optionalSMOKE_URL. Follow-up belongs in shopware-cd, not here.Tests (this revision, fyrst-cli 0.2.0)
wrappers.test.shvps-hardening.test.sh--allow-no-deploy-health; rejectsROLLBACK_ON_SMOKE_FAILas SoT)sync-runtime.test.shsync-dump.test.shsync-rewrite.test.shinit-env.test.shDEPLOY_HEALTH_URL+ROLLBACK_ON_FAILcontract pass; 7.env.local+ override identity checks fail on released 0.2.0 (same pre-existing gap as #40; not this change)