Skip to content

docs: add missing alert webhook and keeper TTL vars to .env.example - #1149

Merged
collinsezedike merged 1 commit into
drydocs:mainfrom
rajesetavie-maker:fix/issue-1109-env-example-omits-meridian-alert-webhook-url
Oct 23, 2026
Merged

collinsezedike merged 1 commit into
drydocs:mainfrom
rajesetavie-maker:fix/issue-1109-env-example-omits-meridian-alert-webhook-url

Conversation

@rajesetavie-maker

Copy link
Copy Markdown

Overview

This PR updates .env.example so the setup template contributors copy first matches the configuration surface documented in apps/docs/operations/environment-variables.md. It adds the two missing variables — MERIDIAN_ALERT_WEBHOOK_URL and MERIDIAN_KEEPER_SUBMISSION_TTL_MS — each with a short comment matching the surrounding entries.

Related Issue

Changes

📄 Environment Template

  • [MODIFY] .env.example
    • Added MERIDIAN_ALERT_WEBHOOK_URL with a comment noting it is required by the alert keeper (per environment-variables.md:31).
    • Added MERIDIAN_KEEPER_SUBMISSION_TTL_MS with a comment noting the documented default of 360000 (per environment-variables.md:26).
    • Placed both entries alongside the existing keeper/alert configuration block, following the file's existing comment style.

Verification Results

Manual diff review of .env.example:
✅ MERIDIAN_ALERT_WEBHOOK_URL present with comment
✅ MERIDIAN_KEEPER_SUBMISSION_TTL_MS present with comment (default 360000 noted)
✅ Style matches surrounding entries
Acceptance Criteria Status
.env.example lists every variable documented in environment-variables.md, or explicitly notes intentional omissions ✅ Both previously omitted variables now listed with comments

Closes #1109

@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

@rajesetavie-maker Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Oct 18, 2026

Copy link
Copy Markdown

@rajesetavie-maker is attempting to deploy a commit to the Collins' projects Team on Vercel.

A member of the Team first needs to authorize it.

@collinsezedike collinsezedike left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two added variables are real and needed. Three lines have typos, and the commit header is 73 characters (the repo limit is 72). Details inline.

Comment thread .env.example Outdated
# immediately; DeFindex needs a second, time-separated share-price sample
# per pool before it can report a rate, persisted via UPSTASH_REDIS_REST_URL
# / UPSTASH_REDIS_REST_TOKEN above (falls back to an in-memory, per-process
# per pool before it can report a rate, persisted via UPSTASh_REDIS_REST_URL

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPSTASH_REDIS_REST_URL is misspelled here as UPSTASh_REDIS_REST_URL (lowercase h). CI will not catch this, but anyone copying this file would set the wrong name.

Comment thread .env.example Outdated
# per pool before it can report a rate, persisted via UPSTASH_REDIS_REST_URL
# / UPSTASH_REDIS_REST_TOKEN above (falls back to an in-memory, per-process
# per pool before it can report a rate, persisted via UPSTASh_REDIS_REST_URL
# / UPSTASh_REDIS_REST_TOKEN above (falls back to an in-memory, per-process

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same typo on the token name: UPSTASh_REDIS_REST_TOKEN should be UPSTASH_REDIS_REST_TOKEN.

Comment thread .env.example Outdated
# set). The live testnet vault still doesn't have migrate_adapter deployed
# (see apps/docs/operations/migration-keeper.md, #514), so the keeper can't
# actually migrate anything on testnet yet regardless of these.
# actually migrate anything on testnet yeu regardless of these.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeu should be yet.

Comment thread .env.example Outdated
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# Fastify API server uses the Redis protocol (ioredis). Format: rediss://default:TOKEN@HOST:PORT
MERIDIAN_KEEPER_SUBMISSION_TTL_MS=360000

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lands between the Fastify Redis comment and REDIS_URL=, so the comment no longer describes the variable under it. Move MERIDIAN_KEEPER_SUBMISSION_TTL_MS below REDIS_URL= or give it its own comment.

@collinsezedike collinsezedike left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rajesetavie-maker the two added variables are correct. Three issues remain: UPSTASh is misspelled twice, the new testnet paragraph contradicts the paragraph below it, and the first commit header is 73 characters so Commit Messages fails. See the inline notes.

Comment thread .env.example Outdated
# immediately; DeFindex needs a second, time-separated share-price sample
# per pool before it can report a rate, persisted via UPSTASH_REDIS_REST_URL
# / UPSTASH_REDIS_REST_TOKEN above (falls back to an in-memory, per-process
# per pool before it can report a rate, persisted via UPSTASh_REDIS_REST_URL

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPSTASh_REDIS_REST_URL should be UPSTASH_REDIS_REST_URL.

Comment thread .env.example Outdated
# per pool before it can report a rate, persisted via UPSTASH_REDIS_REST_URL
# / UPSTASH_REDIS_REST_TOKEN above (falls back to an in-memory, per-process
# per pool before it can report a rate, persisted via UPSTASh_REDIS_REST_URL
# / UPSTASh_REDIS_REST_TOKEN above (falls back to an in-memory, per-process

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPSTASh_REDIS_REST_TOKEN should be UPSTASH_REDIS_REST_TOKEN.

Comment thread .env.example Outdated
# per pool before it can report a rate, persisted via UPSTASh_REDIS_REST_URL
# / UPSTASh_REDIS_REST_TOKEN above (falls back to an in-memory, per-process
# store — not durable across serverless invocations — when those aren't
# set). The live testnet vault still doesn't have migrate_adapter deployed

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This paragraph says the testnet vault still lacks migrate_adapter, but the paragraph below says it was redeployed with migrate_adapter present. Delete this stale paragraph and keep the current one.

Comment thread .env.example Outdated
# store — not durable across serverless invocations — when those aren't
# set). The live testnet vault still doesn't have migrate_adapter deployed
# (see apps/docs/operations/migration-keeper.md, #514), so the keeper can't
# actually migrate anything on testnet yeu regardless of these.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeu should be yet.

@rajesetavie-maker
rajesetavie-maker force-pushed the fix/issue-1109-env-example-omits-meridian-alert-webhook-url branch from b181272 to b590162 Compare October 22, 2026 02:28

@collinsezedike collinsezedike left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rajesetavie-maker The obfuscated payload has been removed. The two variable names are correct. Three issues remain. The prose at lines 45 and 46 still says UPSTASh. The testnet paragraphs at lines 48 and 51 contradict each other. yeu at line 50 should be yet.

@collinsezedike
collinsezedike force-pushed the fix/issue-1109-env-example-omits-meridian-alert-webhook-url branch from a75d8ba to 5788d90 Compare October 23, 2026 16:05

@collinsezedike collinsezedike left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rajesetavie-maker Thank you for your contribution. If you are interested, there are more open issues to pick up.

@collinsezedike
collinsezedike merged commit 0b13753 into drydocs:main Oct 23, 2026
10 of 11 checks passed
@collinsezedike

Copy link
Copy Markdown
Collaborator

@rajesetavie-maker Thank you for your contribution. If you found Meridian useful, please star the repository: https://github.com/drydocs/meridian.

@rajesetavie-maker

Copy link
Copy Markdown
Author

Thank you for the opportunity. I’d be in picking up more open issues.

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.

[Docs] .env.example omits MERIDIAN_ALERT_WEBHOOK_URL and MERIDIAN_KEEPER_SUBMISSION_TTL_MS

2 participants