Skip to content

Add standalone fleet Worker process runner - #84

Merged
sfloess merged 10 commits into
mainfrom
feat/fleet-worker-process-runner
Oct 19, 2026
Merged

sfloess merged 10 commits into
mainfrom
feat/fleet-worker-process-runner

Conversation

@sfloess

@sfloess sfloess commented Oct 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Add the loom-fleet-worker console command for loading a Worker instance/class from module:attribute and running the authenticated polling lifecycle.
  • Configure fleet URL and bearer token through environment variables; expose implementation ID, capabilities, lease duration, and poll interval as CLI options.
  • Replace the README's hand-written polling loop with the supported runner command.
  • Add a process-level integration test where a separate Python process registers, claims a task, executes it, and returns the result through the REST → Orchestrator → FleetDispatchWorker path.

Boundaries

The test qualifies separate-process communication on one host, not a live multi-host deployment. Fleet coordinator storage remains single-leader and the fleet HTTP endpoint still requires a trusted network or TLS-terminating proxy for remote use.

Validation

Draft until Python 3.11/3.12/3.13 quality gates, SonarCloud, security audit, and GitGuardian pass.

@github-actions

Copy link
Copy Markdown

Quality Gate Report

Check Status
Ruff lint ❌ 0 issues
Ruff format ✅
Tests ✅
Imports ✅
Version (X.Y) ✅

⚠️ Quality gates failed! Fix issues before merging.

@github-actions

Copy link
Copy Markdown

Quality Gate Report

Check Status
Ruff lint ❌ 0 issues
Ruff format ✅
Tests ✅
Imports ✅
Version (X.Y) ✅

⚠️ Quality gates failed! Fix issues before merging.

@github-actions

Copy link
Copy Markdown

Quality Gate Report

Check Status
Ruff lint ❌ 0 issues
Ruff format ✅
Tests ✅
Imports ✅
Version (X.Y) ✅

⚠️ Quality gates failed! Fix issues before merging.

@github-actions

Copy link
Copy Markdown

Quality Gate Report

Check Status
Ruff lint ❌ 0 issues
Ruff format ✅
Tests ✅
Imports ✅
Version (X.Y) ✅

⚠️ Quality gates failed! Fix issues before merging.

@github-actions

Copy link
Copy Markdown

Quality Gate Report

Check Status
Ruff lint ❌ 0 issues
Ruff format ✅
Tests ✅
Imports ✅
Version (X.Y) ✅

⚠️ Quality gates failed! Fix issues before merging.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Quality Gate Report

Check Status
Ruff lint ✅ 0 issues
Ruff format ✅
Tests ✅
Imports ✅
Version (X.Y) ✅

✅ All quality gates passed!

@sfloess
sfloess marked this pull request as ready for review October 19, 2026 23:00
@sfloess
sfloess merged commit 12b62b0 into main Oct 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant