Skip to main content

Module upgrade

Module upgrade 

Source
Expand description

rk upgrade: a landed target takes a newer payload.

Three digests decide each file: the baseline the record keeps — the payload as it stood at landing — the bytes on disk now, and this binary’s candidate, rendered under the recorded parameters. A rendered file nobody touched is rewritten; one the target edited is a conflict, and every conflict is collected before the whole upgrade refuses in one run. There is no merge: the two outcomes are a clean write and a refusal, because a wrong guess in a release workflow is discovered at the next release.

Functions§

run
Upgrade the landed target to this binary’s payload.