Repository navigation
Native takeover: refuse PHP schedules native cannot run yet - #568
Merged
Merged
Conversation
Native's scheduler fires only default-namespace schedules with one UTC P1D or PT2S interval, the skip policy, no jitter and at most one run. Once due, a taken-over PHP cron schedule would fail every scheduler tick, and a named-namespace one would silently stop firing. Every upgrade inspection now reports schedule_inspection, counting live schedules outside native's subset by reason without naming them, and takeover refuses such a source with upgrade_source_schedules_unsupported before any change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rmcdaniel
enabled auto-merge
October 21, 2026 03:42
This was referenced Oct 21, 2026
…edules # Conflicts: # docs/rust-server-port.md
Member
Author
Member
Author
|
rmcdaniel
pushed a commit
that referenced
this pull request
Oct 21, 2026
#568's takeover schedule check is narrowed to what native still cannot run now that it runs PHP schedules: search attributes, visibility labels, queue routing, an unknown status, a definition native's creation refuses and a specification it cannot evaluate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.



Part of #325. Takeover now refuses a PHP database that has live schedules native cannot run yet. Before, such a schedule would have stopped firing, or failed every scheduler tick, after the upgrade.
Why
Native schedules are still a bounded subset of PHP's:
P1DorPT2Sinterval;Takeover did not check schedules at all. Once due, a taken-over PHP cron schedule would make every native scheduler tick fail, because native refuses to compute its next occurrence, and that would hold back the schedules due after it. A schedule in a named namespace would silently stop firing.
Change
upgrade-inspectand the takeover's own) now reportsschedule_inspection. It contains the number of live (not deleted) schedules and, by reason, how many fall outside native's subset.unqualified. Takeover then refuses withupgrade_source_schedules_unsupportedbefore the fingerprint check or any write.Tests
Native schedule parity (PHP cron, time zones, overlap policies, jitter, quotas, metadata and namespaces) is in progress and will narrow this refusal.
🤖 Generated with Claude Code