Skip to main content
← Back to list
01Issue
FeatureClosedSwamp CLIPublic
Assigneesstack72

Relationships

#1533 Improve hot reload of the deamon, include extension source/bundle changes

Opened by stack72 · 8/5/2026

Hit another issue with the hot reload of the demean not taking into account enough.

Conclusion found this morning:

Root cause: Not a code bug this time — the code fix from yesterday (isNew field + upgrade migration, commits 6fb23ec/cc8a26f)
 was correct and already in the repo. The problem was that the long-running swamp serve --hot-reload daemon (pid 858772, up 
since Aug 2) never picked it up. Its --hot-reload flag only watches .swamp.yaml (trust config), not extension source/bundle changes
 — so it kept running the stale pre-isNew bundle for basic-income-news and neurodiversity-news. This morning's 04:00/04:30 UTC
 cron-fired runs hit that stale bundle, the workflow's a.isNew CEL filter found no such key, and both run-digest steps failed before
 any email was generated — same failure mode as the trust-allowlist incident on Aug 1, different underlying cause.

So by including extension source/bundle changes to the deamon, a reload should not be needed for this case.


Automoved by swampadmin from https://github.com/swamp-club/swamp/issues/2074

02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED+ 1 MOREASSIGNED+ 2 MOREREVIEW

Closed

8/6/2026, 9:52:15 PM

No activity in this phase yet.

03Sludge Pulse
stack72 assigned stack728/6/2026, 9:30:07 PM
Editable. Press Enter to edit.

stack72 commented 8/6/2026, 9:52:14 PM

We recently added swamp serve reload --server wss://... which gives you a remote-friendly way to trigger a hot-reload.

Since the extension updates are arriving via a git sync (not swamp extension pull), you're already running a command to pull changes. Adding swamp serve reload --server wss://your-host after your git pull/sync will pick up the new extension bundles automatically.

For example, in your sync script:

git pull origin main
swamp serve reload --server wss://your-host:port

This keeps the daemon simple (no filesystem watchers, no polling) and gives you explicit control over when reloads happen.

Sign in to post a ripple.