Skip to content

docs: keep the bridge secret on the service definition, not the host file - #90

Merged
EthanThatOneKid merged 1 commit into
mainfrom
bridge-secret-docs
Sep 23, 2026
Merged

EthanThatOneKid merged 1 commit into
mainfrom
bridge-secret-docs

Conversation

@EthanThatOneKid

Copy link
Copy Markdown
Contributor

The host secrets file is rewritten from Zo's managed secrets, so a hand-appended DISCORD_BRIDGE_SECRET disappears within hours. The running bridge keeps signing with the copy it read at startup, then fails at its next restart — which any push to this repository triggers via the deploy workflow.

This documents where the secret belongs (the service definition), how to rotate it against Vercel, and the cheapest way to prove both sides agree without dispatching a turn.

…file

The host file is rewritten from Zo's managed secrets, so a value appended by
hand disappears and the bridge dies at its next restart. Record where the
secret belongs and how to rotate it against Vercel.
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
computer Ready Ready Preview Sep 23, 2026 10:56pm UTC

@wazoocomputer

wazoocomputer Bot commented Sep 23, 2026

Copy link
Copy Markdown

This pull request updates the documentation for DISCORD_BRIDGE_SECRET, clarifying that it should be kept on the service definition rather than the host secrets file. This change addresses an issue where the secret would disappear due to the host file being rewritten, causing the bridge to fail on restart. The updated documentation also provides guidance on how to rotate the secret between the service definition and Vercel.

File Change Summary
README.md modified Updated documentation for DISCORD_BRIDGE_SECRET to reflect its proper placement and rotation procedure.

Reviewers should begin by examining the changes in README.md to ensure the instructions are clear and accurate.

@wazoocomputer

wazoocomputer Bot commented Sep 23, 2026

Copy link
Copy Markdown

This pull request updates the documentation for DISCORD_BRIDGE_SECRET, clarifying that it should be kept on the service definition rather than the host secrets file. This change addresses an issue where the secret would disappear due to the host file being rewritten, causing the bridge to fail on restart. The updated documentation also provides guidance on how to rotate the secret between the service definition and Vercel.

File Change Summary
README.md modified Updated documentation for DISCORD_BRIDGE_SECRET to reflect its proper placement and rotation procedure.

Reviewers should begin by examining the changes in README.md to ensure the instructions are clear and accurate.

@EthanThatOneKid
EthanThatOneKid merged commit 2df4c27 into main Sep 23, 2026
3 checks passed
@EthanThatOneKid
EthanThatOneKid deleted the bridge-secret-docs branch September 25, 2026 21:46

This branch was successfully deployed

1 active deployment
Preview — b05b1825 Deployed Sep 23, 2026 by vercel[bot]
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