Repository navigation
refactor(deploy)!: reduce the edge Worker to a webhook relay and dashboard proxy - #21
Merged
Merged
Conversation
…board proxy The Cloudflare Container no longer hosts the controller or Agent sessions. The Worker keeps webhook intake, the Queue, the dashboard proxy and Cloudflare Access, and forwards both to CONTROLLER_URL on Hogwild. Removes the Container, its Durable Object, /setup, provider logins, Artifacts snapshots, the Edge session host from #19, and the dashboard settings that depended on them.
|
Architecture Inside the changed components — 1 viewComponent view — Edge Worker & Relay Internal components of the edge relay and reverse proxy connecting to the external controller. Data flow Review ✨ Nothing flagged · reviewed Tip Set 🪧 More tips
Thanks for using PR Lens! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out on X, Bluesky, Mastodon, Reddit or LinkedIn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❓ Type of change
📚 Description
Agents and their sessions should live on Hogwild, and the dashboard should only be the interface to them. #19 went the other way and made the Cloudflare Container an Agent session host. This undoes that: the Worker keeps webhook intake with the Queue, the dashboard proxy and Cloudflare Access, and forwards both to
CONTROLLER_URL. The Container, its Durable Object,/setup, provider logins, Artifacts snapshots and the Edge session host are gone, along with the dashboard settings that talked to them.Workers AI and the Jev classification stay. They are model providers, not hosting, and work from Hogwild.
The Worker no longer runs a controller. Webhooks and the dashboard need a controller reachable at
CONTROLLER_URL.📝 Migration
wrangler secret put GITHUB_WEBHOOK_SECRETwith the same value the controller reads fromwebhook.secret_path. Until it is set, every delivery gets a 503.CONTROLLER_URLinwrangler.jsonc. It defaults tohttps://agent.harlanzw.com, the Caddy route inscripts/public-dashboard.md, and must be a public https origin.v2, which deletesControllerContainerand the setup record it stored (GitHub App key, dashboard password, provider logins). The Container application and thecontroller/journal in R2 stay until you delete them by hand.