feat(2): Q4.6 discourse — recipe_meta + postgres P4 overlays + health (WIP, §4.3 create-topic next)
discourse (forum: postgres+redis+sidekiq). HEALTH_PATH=/srv/status (slow Rails boot, DEPLOY_TIMEOUT=1800). P4 via postgres ci_marker (db service, pg_dump backupbot — matrix-synapse pattern). Health functional test. §4.3 create-a-topic + PARITY.md to follow after smoke discovers the admin/API bootstrap path. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
11
tests/discourse/recipe_meta.py
Normal file
11
tests/discourse/recipe_meta.py
Normal file
@ -0,0 +1,11 @@
|
||||
# Per-recipe harness config for discourse (Phase 2 Q4.6 — forum; postgres + redis + sidekiq).
|
||||
#
|
||||
# Discourse (bitnami/discourse) is a slow-booting Rails app: the recipe healthcheck polls
|
||||
# /srv/status with a 5-minute start_period, and a cold first boot (DB migrate + asset precompile)
|
||||
# regularly takes 8-15 min, so the deploy/HTTP timeouts are generous. /srv/status returns 200 only
|
||||
# once the app is actually serving (the canonical "is discourse up" signal — NOT "/", which may
|
||||
# redirect to setup).
|
||||
HEALTH_PATH = "/srv/status"
|
||||
HEALTH_OK = (200,)
|
||||
DEPLOY_TIMEOUT = 1800
|
||||
HTTP_TIMEOUT = 1200
|
||||
Reference in New Issue
Block a user