From e37a340bb46bb40293258ee5f6a78bee77622f83 Mon Sep 17 00:00:00 2001 From: Matthew Meszaros Date: Mon, 6 Jul 2026 06:27:43 +0200 Subject: [PATCH] feat: add a reusable WarmupPoolNotice component explaining the shared warmup pool is a cloud feature a single self-hosted instance cannot replicate --- site/src/components/WarmupPoolNotice.astro | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 site/src/components/WarmupPoolNotice.astro diff --git a/site/src/components/WarmupPoolNotice.astro b/site/src/components/WarmupPoolNotice.astro new file mode 100644 index 00000000..f5303e69 --- /dev/null +++ b/site/src/components/WarmupPoolNotice.astro @@ -0,0 +1,42 @@ +--- +/** + * Reusable notice: the shared warmup pool is a cloud feature, and a single + * self-hosted instance starts with an empty pool. Drop it on any light- + * background page where a reader might assume self-hosting gives them a + * working warmup pool (warmup, deliverability, open-source sections). + * + * The numbers and behaviour match the warmup pool model in the repo + * (internal/repository/pg_warmup.go, migration 000010). + */ +import Icon from './Icon.astro'; + +interface Props { + /** extra margin/utility classes on the outer card */ + class?: string; + /** show the cloud waitlist link (default true) */ + showWaitlist?: boolean; +} +const { class: className = '', showWaitlist = true } = Astro.props; +--- +