18 lines
927 B
Python
18 lines
927 B
Python
# Per-recipe harness config for loomio (collaborative decision-making; Rails app + sidekiq
|
|
# worker + postgres (pgautoupgrade) + redis, with a separate loomio_channel_server).
|
|
#
|
|
# `/` redirects into the SPA/dashboard (302 for an anonymous visitor, 200 once it settles), so the
|
|
# serving gate accepts both. The real liveness signal is the Rails JSON API under /api/v1.
|
|
#
|
|
# Boot is heavy: every app start runs `apt install postgresql-client`, `bundle install`, then
|
|
# `db:setup`/`db:migrate` before puma. The recipe's healthcheck start_period is only 2m, so give
|
|
# the deploy a generous ceiling (DB init + first-boot schema load + asset boot).
|
|
HEALTH_PATH = "/"
|
|
HEALTH_OK = (200, 302)
|
|
DEPLOY_TIMEOUT = 1800
|
|
HTTP_TIMEOUT = 900
|
|
|
|
# canon §2.B: enroll as a DATA-WARM canonical (all recipes enrolled — operator 2026-06-17).
|
|
# The weekly sweep promotes this recipe's canonical to its latest green RELEASE TAG.
|
|
WARM_CANONICAL = True
|