René's URL Explorer Experiment


Title: Worker applications: a process manifest in the app's repository, with instances and placement in the fleet record · Issue #498 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Worker applications: a process manifest in the app's repository, with instances and placement in the fleet record · Issue #498 · cloudfall-dev/cloudfall

X Title: Worker applications: a process manifest in the app's repository, with instances and placement in the fleet record · Issue #498 · cloudfall-dev/cloudfall

Description: Problem A queue-worker application does not fit one Component today, and the parts of it that change with the code live in the fleet record instead of the application's repository. Take a Celery application with ten queues, one worker no...

Open Graph Description: Problem A queue-worker application does not fit one Component today, and the parts of it that change with the code live in the fleet record instead of the application's repository. Take a Celery ap...

X Description: Problem A queue-worker application does not fit one Component today, and the parts of it that change with the code live in the fleet record instead of the application's repository. Take a Celer...

Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/498

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Worker applications: a process manifest in the app's repository, with instances and placement in the fleet record","articleBody":"### Problem\n\nA queue-worker application does not fit one `Component` today, and the parts of it that change with the code live in the fleet record instead of the application's repository.\n\nTake a Celery application with ten queues, one worker node per queue, a different set of queues on each server, and one Beat scheduler. In Cloudfall today:\n\n- **One component is one unit and one command.** Ten nodes become either ten hand-written components per server, or one unit that runs `celery multi`: a process manager inside systemd (`Type=forking`, pid files), where the health gate, the restart and the rollback see the whole set and never one node\n- **`deployment.servers` is a flat list.** A component cannot say \"these queues on h1, those on h2\", so each server's set needs its own component with a copied command\n- **Nothing stops a scheduler from running twice.** A Beat component deployed to two servers sends every scheduled task twice, and the record accepts it\n- **The process definition lives away from the code.** The command, its queues, its stop timeout and its health command change with the application: a new queue and the worker that consumes it should arrive in one PR and roll back with the release. In the fleet record they are a second change in a second repository, made by a different person\n\nRender solves the last point with `render.yaml` in the application's repository. Copying that whole is wrong for Cloudfall: a Blueprint also names the plan, the region and the env groups, because Render owns the infrastructure. Here the operator owns it. An application repository that picks its servers and secret references turns a merge to that repository into a deploy anywhere, past the record that is supposed to gate it.\n\n### Proposal\n\nSplit a component by who owns each part.\n\n| The application's repository | The fleet record |\n| --- | --- |\n| The process's command and its parameters | Servers |\n| The instance names a process allows (queues) | Which instances run on which server |\n| Stop timeout, health command | Environment and secret references |\n| Release command, build steps, runtime | Application user, `installRoot`, approval policy |\n\n**1. A process manifest in the application's repository**\n\n`cloudfall.yaml` at the repository root (or under `repository.subdirectory`), read from the git ref being deployed:\n\n```yaml\napiVersion: cloudfall/v1\nkind: Processes\nruntime: {type: python, version: \"3.14\", packageManager: uv}\nrelease:\n  command: [.venv/bin/python, manage.py, migrate]\nprocesses:\n  worker:\n    instances:\n      allowed: [default, mail, reports, imports]\n    command: [.venv/bin/celery, -A, crm, worker, -n, \"{instance}@%h\",\n              -Q, \"{instance}\", -c, \"1\"]\n    stop: {timeoutSeconds: 900}\n    healthCheck:\n      type: command\n      command: [.venv/bin/celery, -A, crm, inspect, ping, -d, \"{instance}@%h\"]\n  beat:\n    command: [.venv/bin/celery, -A, crm, beat]\n    singleton: true\n```\n\nNothing in it is specific to Celery: a process is a command, how it stops and how to tell it is healthy.\n\n**2. A component that takes its process from the manifest**\n\n```yaml\nkind: Component\nmetadata: {id: crm-worker}\nspec:\n  application: crm\n  repository: {url: https://github.com/example/crm-backend.git}\n  source: {manifest: cloudfall.yaml, process: worker}\n  deployment:\n    servers:\n      - id: h1\n        instances: [default, mail]\n      - id: h2\n        instances: [default, reports, imports]\n```\n\nA component without `source` works as it does today.\n\n**3. Instances as systemd template units**\n\nEach instance is `crm-worker@\u003cinstance>.service`, rendered from one template, with `{instance}` substituted in the command and the health command. A deploy restarts and gates the instances of a server one at a time; a receipt names each instance.\n\n**4. `singleton`**\n\nA process marked `singleton: true` deploys to exactly one server with no instances. Validation refuses a component that places it on two.\n\n**What the record can then check**\n\n- An instance a server names that the manifest does not allow fails validation, so a typo in a queue name never reaches a server\n- An allowed instance no server runs is a queue without a consumer: a validation finding\n- An instance only one server runs is reported before that server is drained or removed\n\n**Approval**\n\nThe manifest is code that decides what runs as the application user. A change to a process's command between the current release and the one being deployed shows in the plan as a diff and belongs to an operation class the policy can hold for approval.\n\n### Open questions\n\n- Per-server build variants: an application that installs an optional dependency group on one server only (`uv sync --extra …`) has no place to say so\n- Whether `runtime`, `build` and `release` may be set in both places, and which wins. Proposed: the manifest, with the record refusing to set a field the manifest sets\n- Whether a `subdirectory` monorepo has one manifest or one per component\n- Stop settings are tracked separately in #497; this proposal reuses whatever field that issue settles on\n\n### Alternatives\n\n- **Everything in the fleet record** (today): one place to read, but a process change is a second PR in another repository and does not roll back with the release\n- **Everything in the application's repository** (`render.yaml` as is): simplest for the developer, but the repository then chooses servers and secrets, which removes the operator's gate\n- **A `CeleryWorker` component kind**: no template syntax to learn, but each queue system (RQ, Dramatiq, Sidekiq, a plain consumer loop) would need its own kind\n- **Keep `celery multi` in one unit**: no schema change, but no per-node health gate, restart or rollback\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T12:34:43Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/498"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ac3b22b2-3170-5e53-2637-ca9c3cb96aa2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id98AE:B4606:C9A305:114F073:6B0550EA
html-safe-nonce387d952a00ab24c2c8b643e6c76c8a85268272b86817ca770921afa4e93817af
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEFFOkI0NjA2OkM5QTMwNToxMTRGMDczOjZCMDU1MEVBIiwidmlzaXRvcl9pZCI6Ijc4MTk4MzEwMDE4MTkyMDU4NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac75c6a27c1d4deb094cc7985e5549db9cd3c209f664ab16df7e40a1fbf39a8787
hovercard-subject-tagissue:6444639087
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/498/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ccbcbb56cfb8ea0e5e58bbff85f3ec8de6bfb77bebe2b1e86aacbbeff6cb513e/cloudfall-dev/cloudfall/issues/498
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ccbcbb56cfb8ea0e5e58bbff85f3ec8de6bfb77bebe2b1e86aacbbeff6cb513e/cloudfall-dev/cloudfall/issues/498
og:image:altProblem A queue-worker application does not fit one Component today, and the parts of it that change with the code live in the fleet record instead of the application's repository. Take a Celery ap...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshipmill-romamo[bot]
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/issues/498#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F498
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F498
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/498
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/498
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/498
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues79 (79)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests9 (9)https://github.com/cloudfall-dev/cloudfall/pulls
Discussionshttps://github.com/cloudfall-dev/cloudfall/discussions
Actionshttps://github.com/cloudfall-dev/cloudfall/actions
Security and qualityhttps://github.com/cloudfall-dev/cloudfall/security
Insightshttps://github.com/cloudfall-dev/cloudfall/insights
https://github.com/cloudfall-dev/cloudfall
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/498
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/498
Worker applications: a process manifest in the app's repository, with instances and placement in the fleet recordhttps://github.com/cloudfall-dev/cloudfall/issues/498#top
enhancementhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 17, 2026https://github.com/cloudfall-dev/cloudfall/issues/498#issue-6444639087
Components cannot declare a stop timeout, so a deploy kills a worker's long tasks after 90 seconds #497https://github.com/cloudfall-dev/cloudfall/issues/497
shipmill-romamohttps://github.com/apps/shipmill-romamo
enhancementhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Nov 17, 2026https://github.com/cloudfall-dev/cloudfall/issues/498#event-36403898687
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 17, 2026https://github.com/cloudfall-dev/cloudfall/issues/498#issuecomment-6951795757
shipmill-romamohttps://github.com/shipmill/shipmill
#497https://github.com/cloudfall-dev/cloudfall/issues/497
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 19, 2026https://github.com/cloudfall-dev/cloudfall/issues/498#issuecomment-7019933086
shipmill-romamohttps://github.com/shipmill/shipmill
#560https://github.com/cloudfall-dev/cloudfall/issues/560
Sign up for freehttps://github.com/signup?return_to=https://github.com/cloudfall-dev/cloudfall/issues/498
Sign in to commenthttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/498
enhancementhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.