Skip to content

Fix main's database parity jobs after #570 and #572 - #576

Merged
rmcdaniel merged 5 commits into
mainfrom
rust-325-takeover-qualification-fix
Oct 21, 2026
Merged

rmcdaniel merged 5 commits into
mainfrom
rust-325-takeover-qualification-fix

Conversation

@rmcdaniel

@rmcdaniel rmcdaniel commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Part of #325. Fixes two failures on main's database jobs that are not required checks.

Takeover refusal qualifications. #570 taught native to run cron schedules and narrowed takeover's schedule refusal to match. The PostgreSQL and MySQL takeover-refusal qualifications still used a plain cron schedule as their "unsupported schedule" case, so takeover now accepted it. This failed postgres-storage (existing-php-matrix) and mysql-execution (mariadb-10.11) after #573 (run 39564946525). Both cases now give the schedule search attributes, which takeover still refuses with upgrade_source_schedules_unsupported.

Storage diagnostic in the database jobs. The storage-test fixture configures a local payload root under file:///state/.... The SQLite job mounts /state, but the MySQL and PostgreSQL jobs did not, so published PHP answered the round trip with 500 and every database job of main's parity run 39558376652 failed. Those jobs now give PHP, both native nodes and the recovered node their own --tmpfs /state. Each server only reads back what it wrote, so no shared directory or host permission change is needed.

Evidence. Both qualifications pass locally with --ignored against disposable PostgreSQL and MySQL 8.4 databases. The failed-step logs show the same takeover acceptance and the same PHP 500 on POST /api/storage/test in each affected job. This PR's own database jobs exercise the mount.

🤖 Generated with Claude Code

#570 made native run cron schedules, so the PostgreSQL and MySQL
qualifications' cron schedule no longer blocks takeover. Give it search
attributes, which takeover still refuses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rmcdaniel
rmcdaniel enabled auto-merge October 21, 2026 08:29
The storage-test fixture configures a local payload root under
file:///state, which the SQLite job mounts but the MySQL and PostgreSQL
jobs did not, so published PHP answered its round trip with 500.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rmcdaniel rmcdaniel changed the title Keep takeover refusal qualifications refusing after cron support Fix main's database parity jobs after #570 and #572 Oct 21, 2026
rmcdaniel and others added 3 commits October 21, 2026 03:36
The storage diagnostic only reads back what each server wrote, so every
server can use its own writable /state without loosening host permissions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@rmcdaniel
rmcdaniel merged commit 2db4cab into main Oct 21, 2026
10 checks passed
@rmcdaniel
rmcdaniel deleted the rust-325-takeover-qualification-fix branch October 21, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants