Skip to content

fix(cron): restore profile job model resolution#11470

Open
tr0j4ndev wants to merge 1 commit into
NousResearch:mainfrom
tr0j4ndev:fix-cron-profile-job-model-resolution
Open

fix(cron): restore profile job model resolution#11470
tr0j4ndev wants to merge 1 commit into
NousResearch:mainfrom
tr0j4ndev:fix-cron-profile-job-model-resolution

Conversation

@tr0j4ndev

Copy link
Copy Markdown

Summary

  • load shared root config for profile-scoped cron jobs so they inherit the configured model/provider
  • run profile-owned cron jobs in an isolated helper process and keep scheduler delivery/status handling intact
  • add regression coverage for scheduler compilation, cron delivery wrapping, and profile config inheritance

Test Plan

  • "/Users/zou/hermes-agent/venv/bin/python" -m pytest /Users/zou/hermes-agent/tests/cron/test_scheduler_compile.py /Users/zou/hermes-agent/tests/cron/test_scheduler.py /Users/zou/hermes-agent/tests/hermes_cli/test_config.py -q
  • Manual cron run: trigger 7d14f0d5a431 under profile xuangu and verify last_status=ok, last_delivery_error=null, output 🍪 Mobbin | ✅ 健康

Load shared root config for profile-scoped cron runs so scheduled jobs inherit the configured model/provider and can deliver results again.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/cron Cron scheduler and job management area/config Config system, migrations, profiles labels Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/cron Cron scheduler and job management P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants