mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-26 07:37:54 +00:00
Suspending an account already made its hosted sites answer 404, but its deployed worker scripts kept running. - On `user.suspended` the worker driver removes each of the owner's deployed scripts and keeps the rows. On `user.unsuspended` it deploys them again from their source files, without the per-worker notification. The local runtime needs no redeploy: it builds a worker from source on its next request. - Hot reload skips a suspended owner, so a write by someone the source file is shared with does not bring the script back. - The local worker runtime answers 404 for a suspended owner's worker instead of deploying it on demand.