Skip to content

script/Build.sol enumerates frozen 0_1_3/0_1_4/0_1_5 snapshots the tree does not hold #28

Description

@thedavidmeister

script/Build.sol says:

cutRelease() freezes the candidate into src/generated/<tag>/ first. The
frozen 0_1_3/0_1_4/0_1_5 snapshots are append-only historical records,
never regenerated here.

src/generated/ holds 0_1_9, 0_1_10 and candidate — no 0_1_3, 0_1_4
or 0_1_5 — and LibCloneFactoryReleased declares clone-factory@0_1_9 and
clone-factory@0_1_10. The enumeration names snapshots that are not there and
omits both that are.

Delete the enumeration rather than correct it, per the ruling on
rainlanguage/rain.deploy#153: the frozen snapshots are directories in
src/generated/, the tree is the truth and cannot drift from itself, so
re-listing them in prose only re-arms the same trap at the next release. The
durable clause it sits in — frozen snapshots are append-only and run() never
regenerates them — is not visible from the code and stays.

Item 3 of rainlanguage/rain.deploy#153, filed here because the file is in this
repo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions