Repository navigation
The soak's day with a deliberate image change reported the change correctly and then also told the operator that a port had been taken over by the container that had held it all along. It was the one false line left in the 0.41.2 soak's reports, and this release removes it along with its duplicate. It also stops upgrade from replacing a build that is newer than the latest release with that release — the build from make included, which is stamped by git describe — in a fix contributed by @mvanhorn. And it is the first release built by release.yml with the v4 Docker actions, so that 1.0 is not their first run.
🐛 Fixes
upgradereplaced a binary that was already newer than the latest GitHub release (#307, #312). It treated any version string that was not exactly that release as out of date, so a source build stamped0.41.1-devwas moved tov0.41.0, and a machine already on a newer tag was moved back while the latest release was still the previous one. A higherMAJOR.MINOR.PATCHis left in place, including one with a suffix, and the line for that machine says it is newer; the summary still counts it as up to date. Amake buildis stamped bygit describe, andv0.41.2-2-gc180322orv0.41.2-dirtycounts as after its tag, so it is left alone too. A real prerelease with the same numbers, such as-rc.1, is still upgraded once that release is out, and a localdevbuild with no numbers is still refusedupgradeprinted twovs in front of a version that already had one (#313):already vv0.41.2for everymake buildexactly at a tag, sincegit describestamps thevitselfreportsaid a port had a new owner when only its container's image had changed (#314). A Docker container owns a port under the labelname (image), and the comparison used the whole label, so a container whose image tag moved — or one recreated on a new image — was reported asport: :8082/tcp — it-tools (corentinth/it-tools:latest) → it-tools (8b8128748339), with aneeds_attentionitem saying the port "was not" answered by it at the last report. The image change is already theimageline, and a recreated container isreplaced. A port now changes hands only when the process or the container's name does. Found on the 0.41.2 soak, the day after an image tag was moved deliberately- a port reachable on both
0.0.0.0and[::]that changed hands produced itsneeds_attentionitem and its suggested action twice (#314), once per listener.notable_changesalready counted it once