docs(readme): document proxy + no-proxy deploy modes in parallel#116
Merged
Conversation
…y in parallel Expands the two-mode summary table with conoha.yml / proxy boot / DNS columns so users can pick a mode at a glance. Adds a parallel "no-proxy mode" subsection that previously only existed as a one-line footnote, plus explicit mode-marker semantics (set by init, auto-detected, --proxy / --no-proxy as override-with-error-on-mismatch). Also documents the full conoha.yml schema (compose_file, accessories, health, deploy.drain_ms) — previously only name/hosts/web were shown. Adds a flags reference table covering --slot, --drain-ms, --follow, --service, --tail, --data-dir that were reachable only via --help. No functional change; just documents features already shipped in #98 (proxy blue/green) and #102/#103 (--no-proxy mode).
- C1: correct .env.server semantics — the local-file auto-copy claim was wrong. `.env.server` is the server-side file at /opt/conoha/<app>.env.server, appended to the deploy's .env after the repo-committed .env (see cmd/app/deploy.go:132-140). - I1: flag-table row for --proxy/--no-proxy wrongly excluded `init`, which also takes the flag (selects the mode to write into the marker). See cmd/app/init.go:25. - I2: rollback on no-proxy emits a dedicated "rollback is not supported" error, not a mode-mismatch error. See cmd/app/rollback.go:22-26. - I3: drop redundant --app-name from proxy-mode init/deploy/rollback examples (proxy mode reads name from conoha.yml's `name` field; --app-name is silently ignored there). Tighten the flag-table row to distinguish where --app-name is actually required vs where it's overridden by conoha.yml.
The plan's replacement Markdown for Tasks 2/3/4 (JA/EN/KO READMEs) and the Phase B Task 7 recipe block embedded the same wrong "local .env.server auto-copies to .env on deploy" claim. Ground truth from cmd/app/deploy.go:107-140 and cmd/app/env.go:94,144,170,211: the server-side /opt/conoha/<app>.env.server file (written by `conoha app env set`) is appended onto the repo-committed .env at deploy time; no local .env.server is ever picked up specially. Plan updated so future re-runs don't regress the README.
5 tasks
…stall Docker, env is no-proxy only, drain_ms default 30000, flag scope excludes list Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…locks Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Owner
Author
|
Follow-up review (superpowers:code-reviewer, fresh eyes) surfaced 2 additional factual errors that survived the prior 2-stage review, plus 2 tightenings. All 4 fixed in `5f750c2` + `2f3ea8b`:
The plan file was also updated in `2f3ea8b` to propagate the same corrections so they are preserved in the repo's plan archive. |
crowdy
added a commit
that referenced
this pull request
Apr 21, 2026
…ugh (#117) (#118) Fills three gaps in the proxy blue/green walkthrough that surfaced during post-merge review of #116: - N1: --slot auto-suffix on collision. Previously the flag description only covered explicit slot reuse. Now also notes that when --slot is omitted, a default-ID collision with a still-draining or running compose project triggers auto-suffix (-2, -3, ...) rather than destroying the other project (slot.go:47-57, deploy.go:188-194). - N3a: skipping `conoha proxy boot` and going straight to `app init` fails with an Admin API socket error — now called out inline under step 2. - N3b: DNS must resolve by the time `app init` registers the host. If it doesn't, the `app`-layer deploy still succeeds but ACME keeps failing and the hostname serves invalid certs until validation eventually succeeds — now called out inline under step 3. The skill recipe already covered this via its troubleshooting table; README now matches. Applied symmetrically across README.md (JA), README-en.md, README-ko.md. Closes #117 Co-authored-by: t-kim <t-kim@planitai.co.jp>
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.
Summary
Refreshes the three READMEs (JA/EN/KO) to document
conoha app's two deploy modes symmetrically:conoha.ymlschema (compose_file,accessories,health.*,deploy.drain_mswere previously undocumented), and an accurate--proxy/--no-proxyflag table row that distinguishesinit(writes the mode to the marker) from other lifecycle commands (overrides marker, mismatch = error).--no-proxy) — shipped in feat: --no-proxy mode for app deploy/logs/status/stop/restart/destroy/init (TLS-less single-slot) #102/feat: --no-proxy mode for app deploy/init/logs/... (#102) #103; was previously only a one-line footnote. Now has a parallel walkthrough.--slot,--drain-ms,--follow,--service,--tail,--data-dir, plus precise--app-namesemantics (required where noconoha.ymlexists; ignored in proxy mode).conoha app envfamily (set/list/get/unset) — previously missing from the README..envassembly on deploy: repo-committed.envfirst, then/opt/conoha/<app>.env.server(written byapp env set) appended — server-side values win via last-occurrence semantics. The prior "place a local.env.serverand it's auto-copied" claim was wrong and has been corrected.Code references
All claims traced back to:
cmd/app/init.go:46-52— proxy init usespf.Namefromconoha.yml;--app-nameflag ignored in proxy mode.cmd/app/mode.go:145-170— mode marker resolution + override/mismatch semantics.cmd/app/rollback.go:22-26— no-proxy rollback emits a dedicated "rollback is not supported in no-proxy mode" error (not a mode-mismatch error).cmd/app/deploy.go:119-140— server-side.env.servermerge onto workdir.env.internal/config/projectfile.go:15-43, 97-104—conoha.ymlschema including optionalcompose_file,accessories,health.*,deploy.drain_ms, and compose-file auto-detect order.Review history
Implemented via superpowers:subagent-driven-development. Spec compliance + doc-quality review surfaced 1 Critical (wrong
.env.serverclaim) and 3 Important findings (--proxy/--no-proxyflag-table row wrongly excludinginit; wrong rollback error wording; cargo-cult--app-namein proxy-mode examples). All four fixed in follow-up commit `5e1394f`; plan file corrected in `6d980a6` so Phase B (skill repo) will not re-inherit the C1 bug.Test plan