update: a version newer than its channel's says nothing comes until the channel passes it (realfxw on X)
realfxw on X (tweet 2123033167170814171): "升级无效,重启了无数次,一直卡在这个版本", on 0.1.4445. Every release around it has its 17 assets, so nothing was missing to download. Their Update channel is Daily, and Daily's pick (the 11-17 20:00 UTC cut) is 0.1.4395, older than what they run. The app keeps the newer version and installs nothing until Daily passes it, which is right, but the version row said "Up to date on Daily" (每日版已是最新) and, before a check, Automatic updates are off with a bare Restart. They restarted again and again waiting for an update that couldn't come. - update.go: the update JSON says ahead when the state is latest and this version is newer than the channel's. - app.js: the row says "Newer than Daily's 0.1.4395; it updates once Daily passes it", the newest on Every version after it, and Switch to Every version as before; one t() for both channels and the Every version tail shared with Up to date. Translated in zh, zh-TW, ja, de. - update_cli.go: `magpie update check` says the same, with `magpie update channel every` to get it now. - core_budget_test.go: +68 bytes of code on app.js and the core scripts, packed to the shortest form; renderUpdate draws on every window, so there is no page to move it to. - docs/reference.md: the channel section names Daily and the line. Red on the old code (upd-ahead-red, origin/mainb855cfee9): TestUpdateAheadOfChannel FAIL (no ahead key in the JSON), TestUpdateAheadOfChannelSaysSo FAIL ("up to date"), and update-stable-newest.test.cjs timed out on the ahead line in every language. Run at this head (253547908's tree, rebased on4d79bebfa), on mote: - gofmt -l clean; go vet ./internal/gui ./internal/cli ./internal/update for darwin, GOOS=linux -tags nogui and GOOS=windows; go build . for all three. - go test -count=1 ./internal/gui ./internal/cli ./internal/update ./internal/settings: update and settings ok; the new tests pass; gui and cli red only on TestLaneLimitRoutes (#5150), TestHealthcheckFindsTheRunningGatewayWithoutMagpieAddr, TestUpdateRestartsTheGatewayItFindsWithoutMagpieAddr (#6471) and TestUpdateFindsAMagpieThatWroteNoRecord (#6223), the same on origin/mainb855cfee9on mote, where an ssh forward holds 127.0.0.1:3425. - GUI, BROWSER=chromium and webkit: update-*, i18n-*, gui-zh-tw/ja/de, settings-search(-reach), 28 files, 296/296 each, before the rebase; update-stable-newest and i18n-keys 15/15 each after it, with TestCoreScriptBudget ok. Not run: the full go test ./... suite. mote and mica each had another session's full suite running, and mica's disk is full; CI runs it. Not tried: a real Daily install moving past it.
This commit is contained in:
+6
-4
@@ -3590,10 +3590,12 @@ version channel first. A release marked urgent goes to Stable at once.
|
||||
When Stable moves past several versions, What's new lists the notes of
|
||||
every version since yours as one list.
|
||||
|
||||
A version installed from the site can be newer than Stable's; the app
|
||||
keeps it and waits until Stable passes it. While it waits, the Version
|
||||
row says *Up to date on Stable*, names the newest version out on Every
|
||||
version, and offers to switch to Every version.
|
||||
A version installed from the site, or kept from Every version when the
|
||||
channel changed, can be newer than Stable's or Daily's; the app keeps it
|
||||
and waits until the channel passes it. While it waits, the Version row
|
||||
says so (*Newer than Daily's 0.1.4395; it updates once Daily passes it*),
|
||||
names the newest version out on Every version, and offers to switch to
|
||||
Every version; `magpie update` says the same.
|
||||
|
||||
The site's downloads offer Stable's version beside the newest
|
||||
(`usemagpie.ai/download/stable/<platform>`). A fresh install of it (no
|
||||
|
||||
Reference in New Issue
Block a user