Repository navigation
chore(master): release - #308
Merged
Merged
Conversation
The page sent the schedule to updateCron.php in a request that raced the settings save. When the save landed first, updateCron.php saw no change and kept the old cron file, so a schedule migrated from Unraid (such as 3:40) kept running whatever the page showed. - update.php now runs updateCron.php apply after it saves the settings, and Defaults runs the same apply. - sync also rewrites a cron file that differs from the settings, so an install heals a stale one. - A saved schedule that is not valid cron is still not applied; the page now says so under its field. - Debug zips include mover.tuning.cron, mover.watchdog.cron and the mover lines crond runs.
- The install again rewrites age_mover and old forced-move commands in the cron files: sync keeps a file whose saved schedule is invalid, so it would not heal those lines. - A day or month name is valid only as dcron reads it (mon or Mon), so a schedule such as 0 4 * * MON is flagged instead of written and skipped.
The migration renamed mover.cron before the sync wrote mover.tuning.cron. When the settings file does not parse, the sync writes nothing, so no schedule was left. The rename now waits for the sync to write the replacement or find the Mover Tuning schedule disabled.
A file name reaches rsync as its own argument and Unraid's move as a line on stdin, never through a shell, so no character in it can run anything. The check's other two parts never fired on a real name: a name is at most 255 bytes, and a name cannot hold /, so the traversal test caught only names starting ..\ or holding \.., which are plain names on Linux. The check kept those files on the cache and reported each one as a failure. A name that ends in | now also moves in a rebalance with sync: the move loop took the path through read, which drops a | that ends the row. Anyone who added characters to the list to keep files on the cache can list those files under "Ignore files and folders listed inside of a text file" or "Ignore file types" instead. Fixes #285
Unraid before 7.2 shows a notification's description as raw HTML, in the pop-up and on the Archived Notifications page, so a < in a file name would start markup there. From 7.2 the Unraid API sanitizes the description itself, and from API 4.26 it decodes entities in the notification file first, which undoes an escape; so from 7.2 the text goes through unchanged. When the version cannot be read, it is escaped. The log keeps the name as it is. Before 7.2, email and agent notifications show < or > for a name holding < or >; & and quotes are left alone, so names like Tom & Jerry read the same everywhere.
The install kept Unraid's mover.cron when its sync failed, but it had already saved moverTuneCron, so no later install tried again, and an Apply that then wrote mover.tuning.cron left both schedules running. A disabled schedule with an invalid forced schedule also kept it, because the sync's exit status counted the forced schedule's error. The migration now leaves a marker. A sync or apply that finds it renames mover.cron to mover.cron.old once mover.tuning.cron exists or the schedule is disabled, then removes the marker.
While the retirement waited, Defaults or clearing the schedule left Unraid's mover.cron running, though the tab showed no schedule and a finished migration would have left none. Only a schedule that is on, set and not written yet now keeps it.
Make the cron files follow the saved settings when Apply is pressed
Escape < and > in notification text before Unraid 7.2
Remove the filename check, so names holding $, <, : and the like move
tests/age_mover runs each row shape the planner writes through the real processTheMoves, rsync and getMoverSettings in a throwaway Debian container, with only Unraid's move stood in. It pins where names land, the counters and the log lines, including today's held collisions, so later changes to the group lookup show up as deliberate test edits.
…te counters The move stand-in copies, so names of one inode stay linked only within one run. A row for a missing name, stderr or an early exit fails the case. Debug logging really turns on in the second pass, rows from the array come from a disk, a hardlink group's size counts once as in the planner, and the in-use, soft stop and pause cases wait for a later PR.
Add regression tests for age_mover's moves
…in the dataset cases
Add regression tests for age_mover's folder cleanup
…SOFTSTOPFILE - The two fatal exits ran `rm $SOFTSTOPFILE`, which share_mover never sets, so rm's "missing operand" reached the syslog. Removed. - Quoted the rest, split local from its assignment, counted the pool configs with a glob instead of ls, and picked the move binary with || instead of && ... ||. - tests/age_mover/test_share_mover.sh runs the real share_mover against Unraid's config files. On beta's share_mover, only the rm and ls stderr checks fail.
…t any path the test writes
…d line cannot hide a running mover
…nstall Nothing reads them since the filename check was removed, and a backtick saved in invalidFileChars stops debug_mover's source of the config at that line. test_install.sh runs the plg's post-install step, read by xmllint.
…; note why SC2016 is off for the rsync wrapper
A failed or missing move left the run exiting 0. The run now sets the write method back, logs both statuses and exits with move's, else find's. Tests pin it, and pin that a stop's EXIT trap tries the restore once, before the pid file goes.
A find that fails while move succeeds gives find's status; when both fail, move's.
share_mover: run find without eval, put turbo write back on a stop, exit with the move's status
Release-Synced: d634ea0
One user-facing line per change since 2026.11.13; tests, CI, ShellCheck and fixes to this cycle's own changes left out.
chore(beta): release
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 6 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
A publish run can post its first build comment between the sweep's two notes; the cached empty id left that comment pointing at a removed build.
… sweep A publish run's --cleanup-tag can delete an orphaned tag between the sweep's inventory and its delete; GitHub answers 422 "Reference does not exist" (or 404), which stopped that pull request's cleanup.
…is retried The sweep finds a pull request by its pr- tags. Deleting them with the releases, before the final note, meant a note that failed was never written again and the comment kept pointing at a removed build. Releases go first, then one note, then the tags; the note before the deletes is no longer needed.
…uild Its comment is written in the next step. With the tag gone, a failed write left the comment on a removed build and PR cleanup never came back to it; the tag now leads that sweep to note the comment and remove the tag.
ci: clear CodeFactor workflow findings and close the test-build cleanup gaps
Resolved as on release/stable (#308): master's wording and headings, beta's in-use check text, and no filename validation bullet, as beta removed that check.
masterwishx
force-pushed
the
release/stable
branch
from
November 26, 2026 13:25
e17b149 to
33475e6
Compare
Owner
|
Released as 2026.11.27. |
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.
Merge this PR to cut the next stable release. Edit the Unreleased section of
CHANGELOG.mdon this branch first; the release job stamps the version, renders it into the plugin manifest, and attaches the package.Bullets are copied from commit subjects: reword or delete each one that is still word for word the copy (those ending in a commit hash, for example). On a stable release PR the Release notes check fails until none is left; the release itself only warns.
@coderabbitai ignore
This PR also brings beta release
2026.11.26bintomaster— merge it with a merge commit, not a squash.Unreleased