Repository navigation
Agent-seed: guard start-background scheduler DB env and add --restart - #3757
Merged
GuillaumeDSM merged 3 commits intoOct 14, 2026
Merged
Conversation
…d --restart Co-authored-by: Guillaume De Saint Martin <GuillaumeDSM@users.noreply.github.com>
Co-authored-by: Guillaume De Saint Martin <GuillaumeDSM@users.noreply.github.com>
Co-authored-by: Guillaume De Saint Martin <GuillaumeDSM@users.noreply.github.com>
Herklos
approved these changes
Oct 14, 2026
GuillaumeDSM
marked this pull request as ready for review
October 14, 2026 11:57
GuillaumeDSM
deleted the
cursor/agent-seed-restart-scheduler-check-3b50
branch
October 14, 2026 11:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prevent agent-seed QA from starting OctoBot against the wrong scheduler SQLite file when
SCHEDULER_SQLITE_FILEis not exported, and add a supported node restart path that keeps seeded automations and orders.Changelog
start-backgroundverifiesSCHEDULER_SQLITE_FILE,NODE_SQLITE_FILE, anduser/agent-seed/tasks.dball resolve to the same path; fails with an actionable error otherwise.bash .cursor/seed-agent.sh --restartstops the node, starts it in the background, and waits for the base URL (no seed, no bootstrap).CONTRIBUTING-agent.md.What's new?
Calling
python -m tools.agent_seed start-backgroundafter onlysource .cursor/agent-seed.envnow fails fast with paths and a hint to useseed-agent.sh --restartor--full. Always start or restart the demo node throughseed-agent.shsoSCHEDULER_SQLITE_FILEis exported.Reuse (follow-up)
Scheduler path checks use one private
_resolve_env_pathshared withresolve_scheduler_sqlite_path. Env name and default DB file come fromoctobot_services.constants.ENV_NODE_SQLITE_FILEandoctobot_node.config.settings.SCHEDULER_SQLITE_FILE(no local copies ofSCHEDULER_SQLITE_FILE/tasks.db).