michaelpb / michaelpb/omnic

Subprocess runner singleton

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Wrap all subprocess calls in a singleton that manages them

- Allow a queue that (async blocks) until finished, and thus have a configurable max number of subprocesses (e.g. 1 per core)

- Requires some experimentation in how asyncio waits for subprocesses, etc, along with some thinking about how to properly use cores

- Maybe merge this with subprocess asyncio stuff?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating all subprocess call sites and reviewing how asyncio currently waits for subprocesses. Experiment with a singleton queue that limits concurrent subprocesses, then verify that queued async blocks finish correctly and the concurrency limit can be configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.