Stop documenting a decommissioned host address as the DEPLOY_HOST example - #102
Merged
Conversation
…mple Both workflows used `ec2-user@10.118.0.61` as the example value. That address belonged to a staging instance that has since been deleted, and it was read off this workflow source during an incident and mistaken for live configuration — sending an infra engineer after a phantom MTU/MSS problem for half an hour while the real cause was elsewhere. A placeholder cannot be mistaken for config. Also state the requirement the example was silently failing to convey: the value must be the host's PRIVATE address, not the public FQDN. Staging's DEPLOY_HOST was the public hostname, which resolves to the public-facing interface, so its deploys travelled over the internet rather than the VPN. That went unnoticed until the interface's security group stopped permitting 22 and the deploy failed with a connection timeout — and it is also what produced the misleading public source address that the port-22 analysis in #91 was built on. Nothing here changes behaviour; both files still parse and all five secrets are declared with the same required flags. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R8ZshwKmjD5fZ4Hs9dS6zh
There was a problem hiding this comment.
Pull request overview
Updates deploy workflow documentation to remove a decommissioned internal host IP from example configuration and to explicitly document that deploy hosts must be specified via their private address (not a public FQDN) to ensure deploy traffic stays on the intended private network path.
Changes:
- Replaced the stale
ec2-user@10.118.0.61example withec2-user@<private-ip>. - Clarified (in both workflows) that
*_DEPLOY_HOSTmust be the host’s private address and must not reuse the public*_DEPLOY_DOMAINvalue.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/deploy-release.yml | Updates header comment docs for PROD_DEPLOY_HOST to use a non-real placeholder and clarify private-vs-public addressing. |
| .github/workflows/deploy-native.yml | Updates workflow_call secret description for DEPLOY_HOST to use a non-real placeholder and clarify private-vs-public addressing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6 tasks
sea-snake
approved these changes
Jul 29, 2026
This was referenced Jul 29, 2026
aterga
added a commit
that referenced
this pull request
Jul 29, 2026
…mple (#102) Both workflows used `ec2-user@<private-ip>` as the example value. That address belonged to a staging instance that has since been deleted, and it was read off this workflow source during an incident and mistaken for live configuration — sending an infra engineer after a phantom MTU/MSS problem for half an hour while the real cause was elsewhere. A placeholder cannot be mistaken for config. Also state the requirement the example was silently failing to convey: the value must be the host's PRIVATE address, not the public FQDN. Staging's DEPLOY_HOST was the public hostname, which resolves to the public-facing interface, so its deploys travelled over the internet rather than the VPN. That went unnoticed until the interface's security group stopped permitting 22 and the deploy failed with a connection timeout — and it is also what produced the misleading public source address that the port-22 analysis in #91 was built on. Nothing here changes behaviour; both files still parse and all five secrets are declared with the same required flags. Claude-Session: https://claude.ai/code/session_01R8ZshwKmjD5fZ4Hs9dS6zh Co-authored-by: Claude <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.
Summary
Both workflows used
ec2-user@10.118.0.61as the exampleDEPLOY_HOSTvalue. That address belonged to a staging instance that has since been deleted — and during an incident it was read off this workflow source and mistaken for live configuration, sending an infra engineer after a phantom MTU/MSS problem for half an hour while the real cause was elsewhere. A placeholder cannot be mistaken for config.While replacing it, the description now states the requirement the example was silently failing to convey: the value must be the host's private address, not the public FQDN.
That is not hypothetical either. Staging's
DEPLOY_HOSTwas the public hostname, which resolves to the public-facing interface, so staging's deploys were travelling over the internet rather than the VPN — the property #84 exists to provide. It went unnoticed until that interface's security group stopped permitting22and the deploy failed with a connection timeout. It is also what produced the misleading public source address that #91's whole "no stable CIDR exists" argument was built on.Related issues
Item 4 of #101. Context for the private-vs-public requirement is on #91.
Changes
deploy-native.yml:DEPLOY_HOSTsecret description →ec2-user@<private-ip>, plus why it must not beDEPLOY_DOMAIN's value.deploy-release.yml: same forPROD_DEPLOY_HOSTin the header comment block.No behaviour change — comments and a
workflow_callsecret description only.Testing
deploy-native.yml'sworkflow_call, with unchangedrequiredflags (DEPLOY_KNOWN_HOSTSfalse, rest true).git grep 10.118.0.61over the tree returns nothing.cargo/npm— no source changed.Checklist
Not in this PR
deploy/native/README.md's "Narrowing inbound SSH" section is the other half of this and needs a substantive rewrite, not a placeholder swap. It currently asserts that22/tcpis still open to the world (closed as of today) and spends four paragraphs arguing that no narrower CIDR exists (the evidence for which was the artifact described above). Kept separate so that prose gets reviewed on its own rather than buried behind a two-line find-and-replace.Generated by Claude Code