Skip to content

Read the webhook URL from the environment (roadmap 4.8) - #28

Merged
Castor-o7 merged 1 commit into
mainfrom
pdx-35-webhook-env
Oct 31, 2026
Merged

Castor-o7 merged 1 commit into
mainfrom
pdx-35-webhook-env

Conversation

@Castor-o7

Copy link
Copy Markdown
Owner

Story: PDX-35

paradox watch now reads the webhook URL from PARADOX_WEBHOOK, including from .env. --webhook still works and wins if both are set, so existing setups keep working. README and the compose example now use the variable.

Limits

--webhook still exposes the URL if someone uses it, and PARADOX_WEBHOOK sits in the process environment, which the same user can read.

Tested

Full suite passes locally; see CI for other versions. The new test covers the variable, the flag winning, and neither set. With the variable read removed, it fails, and passes with the code intact.

Not tested

A real post, or the compose example run in Docker.

🤖 Generated with Claude Code

The URL works like a password for its channel, and on the command line it
shows in process listings and shell history. PARADOX_WEBHOOK keeps it off.

Story: PDX-35

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Castor-o7
Castor-o7 merged commit 4552648 into main Oct 31, 2026
5 checks passed
@Castor-o7
Castor-o7 deleted the pdx-35-webhook-env branch October 31, 2026 20:51
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