docs: scheduled tasks in portal/gateway (self-maintaining apps) + operator verification steps
This commit is contained in:
1 parent
0f657b7cf4
commit
fed58a3437
2 files changed
+46
No files matched your search
@@ -62,6 +62,30 @@ domain, port 443), so members can also join from any homeserver they already
|
||||
use. The `@inference-bot:inference.coop` admin account (used by the portal
|
||||
for invites) has no password — token lives in the portal env.
|
||||
|
||||
## How the apps run themselves
|
||||
|
||||
The portal and gateway are self-maintaining: their recurring housekeeping is
|
||||
built into the apps as scheduled tasks, not run from any member's or operator's
|
||||
personal machine.
|
||||
|
||||
- **Member portal** — two scheduled jobs (Cloudron scheduler):
|
||||
- *Membership sweep* (nightly, 3am) — reconciles members against the live
|
||||
Open Collective list: provisions new members who signed up while a webhook
|
||||
was missed, deactivates lapsed members, and syncs Loomio + Matrix
|
||||
membership. A missed webhook self-heals within 24 hours.
|
||||
- *Docs knowledge refresh* (nightly, 3:30am) — pulls this documentation from
|
||||
the public Git repo and updates the shared knowledge base behind the chat's
|
||||
models, so answers grounded in the docs stay current. Changes to the docs
|
||||
appear in the chat within a day, no manual step.
|
||||
- **Gateway** — an *audio keep-alive* (every 10 minutes) sends a tiny text-to-
|
||||
speech ping to the private enclave so voice mode responds quickly even after
|
||||
long quiet periods, without compromising the end-to-end encryption model.
|
||||
|
||||
Scheduled tasks are declared in each app's `CloudronManifest.json` (see the
|
||||
`code/` repos) and survive redeploys. If a task fails, it shows up in the
|
||||
app's logs on the admin panel; the portal also exposes a manual trigger for
|
||||
the membership sweep.
|
||||
|
||||
## How membership is wired
|
||||
|
||||
Membership flows through the member portal, which is the single source of truth
|
||||
|
||||
Reference in new issue
Block a user