Keep RELAY_INBOUND_SECRET when Railway config is applied - #26
Merged
Merged
Conversation
The web variables in .railway/railway.ts are exhaustive: apply deletes any it omits. The inbound secret is set on all three environments now, so the file preserves it, and the README says to add new variables. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
RELAY_INBOUND_SECRETis now set on development, uat and production. It's a random placeholder until the relay mints the real one, so in the meantime every inbound text is rejected. That's correct, because no number is routed to Coachatron yet. It also closes the spoofing hole: before #25, anyone could post a "text from a coach" to the webhook..railway/railway.tslists web's variables exhaustively, sorailway config applywould have deleted the new one.planshowedDelete variable web.RELAY_INBOUND_SECRET. The file now preserves it, andplansays "already up to date" in all three environments..railway/README.mdnow says to add every new web variable to the file aspreserve().🤖 Generated with Claude Code