Skip to content

Universal worker entrypoint#22

Open
magniloquency wants to merge 3 commits intoorbfrom
universal-worker-entrypoint
Open

Universal worker entrypoint#22
magniloquency wants to merge 3 commits intoorbfrom
universal-worker-entrypoint

Conversation

@magniloquency
Copy link
Copy Markdown
Owner

No description provided.

gxuu and others added 3 commits March 17, 2026 20:36
* Remove aiohttp from dependencies

Signed-off-by: gxu <georgexu420@163.com>

* Bump Version Number

Signed-off-by: gxu <georgexu420@163.com>

---------

Signed-off-by: gxu <georgexu420@163.com>
Co-authored-by: sharpener6 <1sc2l4qi@duck.com>
Replaces six per-adapter CLI entry points and scaler_cluster with a
single `scaler_worker_manager <subcommand>` entry point and a new
`scaler_aio --config <file>` all-in-one launcher.

- Rewrites config_class.py to use stdlib argparse + tomllib/tomli
  instead of configargparse, adding subcommand= and section= field
  metadata support for declarative sub-parser routing and TOML-only
  config-file sections
- Adds scaler/entry_points/worker_manager.py with subcommand dispatch
  for native, symphony, ecs, hpc, and orb adapters
- Adds scaler/entry_points/aio.py which boots scheduler + worker
  managers as separate processes from a single TOML config file
- Adds AWSHPCWorkerManager wrapper so hpc is handled uniformly
- Migrates scaler_cluster shell invocations in ORB and ECS adapters
  to scaler_worker_manager native --mode fixed
- Removes configargparse dependency; adds tomli for Python < 3.11
- Deletes all superseded entry points, dev runner scripts, and
  pyproject.toml script entries
- Updates all docs and README to reflect new commands and TOML section
  names; adds worker_manager.rst and aio.rst tutorial pages
- Adds tests/entry_points/ with test_worker_manager.py and test_aio.py
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.

2 participants