Repository navigation
Windows Update, version rules, safer installs, honest results, and the plan - #22
Merged
Merged
Conversation
cargo audit: 2 vulnerabilities (cookie RUSTSEC-2026-0594, url RUSTSEC-2026-0592) and one yanked crate become 0. chrono is unmaintained (RUSTSEC-2026-0543) and failed cargo-deny as a direct dependency; jiff is the recommended replacement, and histories written before still load. The Rust and the npm half of the Tauri plugins move together here, which the two separate pull requests could not.
Debian security updates (1.1.1w-0+deb11u1 to +deb11u2) compared as equal and were never installed; epochs such as 1:9.2p1-2+deb12u3 were unreadable. Version::parse_as now uses dpkg, rpm, pacman or PEP 440 rules, tested with the reference cases of each project. The stable-only rule missed every marker that was not exactly "rc" or "beta": 1.0.0-rc1, 2.0b3, 5.0 Beta 2 were offered as stable. 3.5a to 3.5 counted as an upgrade. Two versions whose difference has no agreed meaning (1.0.0 against 1.0.0-4) are now refused instead of guessed.
proc::run waited for the output pipe to close, so an installer that started the installed app kept "running" until that app was closed and ended as a timeout. It now returns two seconds after the program exits at the latest. A timeout or a cancelled scan ends everything the program started on Windows (npm.cmd's node, choco's installer), not only the launcher, and output beyond 10 MiB is dropped while reading instead of afterwards.
An installer that ran into its time limit was started up to two more times over whatever the first left. The installed version is read back instead. Exit codes 11 and 143 no longer count as "try again" either. Runs can be cancelled between packages, a lock file keeps two Odysync processes from installing at once, history is written after every package and an unreadable history is kept instead of overwritten. macOS system updates, guest tools and Windows features are never part of unattended care. Error texts keep four-part versions, which were redacted as IPs.
orcFailed was taken to be 2, which is orcSucceeded. Every download that succeeded was reported as failed and nothing was installed, every install that succeeded was reported as failed, and a real failure (4) passed as success. This affected security updates, Defender, feature upgrades and drivers. The codes are now checked against the Windows bindings. A search that failed with nothing found is an error instead of "up to date", an incomplete search no longer proves that an update landed, an update that only waits for a restart counts as installed, optional previews are not offered, and a hung Windows Update service stops blocking the scan after 10 minutes and an install after 60.
powershell.exe, which checks every installer's signature, and msiexec.exe were looked up through PATH, which any program of the same user can change. They now come from the directory Windows itself names, not from an environment variable either.
- Elevated downloads go to a fresh directory only administrators can write to. The installer file was locked, but a library planted next to it would have been loaded with its rights. - "Is it running?" fails closed, is asked again after the download, and works for Windows Installer packages that record no location (Node.js, GitHub CLI and four more were never checked). - Installing asks the publisher afresh; a cached or stale answer on disk is never used for it. - With several uninstall entries the newest one counts, so a leftover no longer offers the same update for ever. - Offline is an error instead of "up to date"; a single unreachable publisher is listed as undetermined. - GitHub answers are reused for ten minutes: 304 replies count against the anonymous limit of 60 (measured), the comment said they did not. - The proxy setting and the system proxy reach downloads and lookups. - Leftovers of interrupted downloads are removed after a day.
KeePassXC 2.8.0 renamed its installer and PowerShell 7.7 no longer ships one, so both apps silently looked up to date. KeePassXC matches again, PowerShell stays on the installed line (7.6 still gets security fixes), and a release without a matching installer is now listed as undetermined. The live test covers all 15 entries and reports every problem, not the first.
Every source has its own time limit (the setting existed and did nothing), a hang no longer holds up the rest, and the terminal shows who is still busy. Asking one source no longer probes the thirty others first. apply, care and the daemon record history, honour the retry setting, hold the machine-wide lock and stop after the current package on Ctrl-C. Schedules and the daemon leave drivers, firmware, system upgrades and developer packages to a person (apply --unattended). Windows schedules make up for missed runs and are no longer stopped when a laptop is unplugged. --json always prints exactly one document, and a run in which no source answered exits with 2 instead of looking up to date.
- A check that failed or could not reach its source is never shown as "up to date" or a full care score; unknown Defender values are not "off". - Scans show which sources are still busy and can be cancelled. Installs can be cancelled between packages, only one runs at a time, and quitting or restarting as administrator during one asks first. - The scan interval, notifications, proxy and timeout settings work; the two that could not (concurrency, automatic install) are gone. - Drivers, firmware and developer packages are never preselected. The restore point checkbox decides. Holds can be set and released. - Destructive confirmations are a separate button, so a double click no longer starts System Restore. - Text meets 4.5:1 and control borders 3:1 in both themes, checked by a test; keyboard, screen reader and focus handling throughout. - Maximize works (its permission was missing); unused plugins, npm packages and permissions are removed. Frontend tests: 19 to 91.
- Packaging tools are cached and a failed download of one is tried again; a 504 from GitHub failed two platforms (issue 17's first run). - The command line's tests run in CI; --lib skipped all of them. - The lockfile refresh uses one branch, says in an issue when it may not open a pull request (it failed silently four weeks in a row) and merges exactly the commit that was checked. - Tauri is raised there only: Dependabot could never merge either half. - New weekly jobs: every catalog entry against its publisher, and the minimum Rust version. cargo update now respects that version. - Windows CI registers and removes a real scheduled task. - Releases get build provenance attestations.
Every package manager source asks its manager again right before installing and refuses when the target moved, when the package is gone or already newer, and when an id or version could be read as an option. Sources that never worked, silently: dnf and snap (no installed version), zypper (an option that does not exist), fwupd, scoop and nix (other output than expected), Chocolatey 2, scoped npm packages, go outside a project, cargo, two-column winget tables. Distribution versions use their own rules; architectures and holds are respected; Homebrew keeps formula and cask apart; pip lists only packages nothing else depends on and refuses to break the rest. macOS no longer restarts by force, and a new major version is never an ordinary update. 22 sources that install a set instead of one approved item, have no command line, or whose newest version nobody publishes (Dell, HP, Lenovo and other maker tools, AMD and Intel graphics, VS Code extensions, .NET tools) are no longer offered; they sit in one file with the reason. With two NVIDIA cards the approved driver is the one that is installed. Slow managers get three minutes to scan. The unused notification module is gone.
The health module was never called and two thirds of it were guesses. What is left, free space for the download, its contents and the new program, is now asked before every install. The unused scan cache is gone, and the settings say what they do.
… code ROADMAP gets Part A: an honest comparison with links, fifteen items ordered by value against effort, each with what done looks like and how to check it, and what needs a decision, money or other people. NEXT says where every path stands. docs/SIGNING.md recommended a route that is closed to individuals in Germany. README and ARCHITECTURE no longer promise what the code does not do.
- NVIDIA and Sparkle installs decided from the scan's cache on disk. - Direct, NVIDIA and Sparkle installs check again that what is installed is still older; the Sparkle archive must contain the announced build. - 4.2.8-p15 to 4.2.8 and 7.1-full_build to 7.1 counted as upgrades, commit hashes and architectures had an order; cask build numbers could not be read. - On Unix, Ctrl-C reached the package manager that was running, and did nothing at all after the first install. Programs run in a session of their own and are stopped as a group. - Installers that hand over to their real setup are waited for, and may start programs outside their job. - A schedule starts at its next hour, not as a missed run within minutes; its arguments are quoted for each system. - The disk check reads /var, not a read-only system image. - A Windows Update that outlasts the limit is reported as still running and blocks the next one instead of being called stopped. - The install lock is one per machine, and runtimes and driver restores take it too. - The lockfile workflow reports a refused merge.
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.
Care round after 3.1.1: what was broken is fixed, what was not true is no longer claimed, and there is a plan. Details in CHANGELOG.md [Unreleased], the plan in ROADMAP.md (Part A), what is verified and what is not in NEXT.md.
Why CI was red (issue 17). A 504 while Tauri fetched its packaging tools, then a new Clippy 1.100 lint, then advisories for cookie, url and chrono. Dependabot could not help: Tauri's Rust and npm halves must move together, so #20 and #21 each failed packaging. Both are contained here. The weekly lockfile refresh failed silently because Actions may not open pull requests; it now says so in an issue.
The most important fixes
1.0.0-rc1were offered as stable; some downgrades counted as upgrades.Numbers. Full scan on the test machine 31 to 45 s before, 9 to 24 s now. Rust tests 680 to 723, frontend tests 19 to 91, cargo audit 2 vulnerabilities to 0.
Not verified. No real install was run. Linux and macOS code was linted (without the app) but not run. The app window was not opened, only the browser demo. The changed workflows run here for the first time.
For the owner. Allow Actions to open pull requests (Settings, Actions, General), or merge the weekly lockfile branch by hand.