Feature/migrate im channel cronjob from ace - #201
Open
liukewia wants to merge 7 commits into
Open
Conversation
…riggers Added functionality to translate numeric Unix weekdays to names and updated the cron trigger builder to support Unix-style expressions. Enhanced unit tests to validate the new behavior for various weekday formats and ranges.
liukewia
force-pushed
the
feature/migrate-im-channel-cronjob-from-ace
branch
from
August 7, 2026 10:19
c45f4c3 to
3b40655
Compare
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
Improve LightClaw/ACE → Octop backup restore so IM channels, cron jobs, login sessions, and DB schema come back correctly without a full process restart.
Gateway.reload_channels_from_db) and user cron jobs (CronManager.reload_from_db), while keeping system jobs (e.g. TLS auto-renew) and built-in dashboard/cli channels.preserve_users), capture and restore the live JWT secret with users so outstanding browser sessions stay valid; only seed a new secret when none existed.cron_jobs.mcp_servers) are upgraded on the live pool.0/7= Sunday) so migrated schedules schedule correctly under APScheduler 3.OctopErrormessages for 5xx responses (app exception handler + JWT middleware) for diagnosis in~/.octop/logs.presetProviders.Target branch
develop(feature / fix — default)main(release/*orhotfix/*only)Type of change
Test plan
make allpasses locallyuv run pytest tests/unit/api/test_backup_restore_rehydrate.py tests/unit/backup/test_snapshot.py tests/unit/backup/test_system_archive.py tests/unit/cron/test_cron_manager.py tests/unit/cron/test_cron_trigger.py tests/unit/gateway/test_gateway_runtime_status.py tests/unit/api/test_exception_handlers.py -qpreserve_users/ migration restore preserves JWT0/7= Sunday) match Unix crontab behaviorChecklist
CHANGELOG.md(if user-facing)