refactor(scheduler): migrate task scheduler to circuitforge-core #47
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/peregrine#47
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/shared-task-scheduler"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
scripts/task_scheduler.pyfull implementation with a thin shim overcircuitforge_core.tasks.schedulerTaskSchedulersubclasses_CoreTaskSchedulerto preserve backward-compat:enqueue()override callssuper().enqueue()and, on queue-full, also writes"failed"to the DB (existing tests assert this side effect)_build_config()reads VRAM overrides fromconfig/llm.yamlas beforeget_scheduler,reset_schedulerso call sites are unchangedjob-seeker→cfinenvironment.yml,manage.sh; README improvementsTest plan
conda run -n cf pytest tests/ -v— all existing scheduler tests pass with shimstatus=failedto DBget_scheduler()singleton works across importsView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.