Skip to content

Rebuild when the recorded build no longer matches what was asked for #1255

Description

@jgabry

Rebuild when the recorded build no longer matches what was asked for

Part of the design described in #1254. I asked Claude to write the text below based on that.


Supersedes #1019, which predates the build record entirely. Close it when this lands.

Once a record exists (#1238), cmdstan_model() can decide whether the existing executable is still the right one. Today it compares mtimes against the artifact and never compares configuration at all.

The triggers, what identity means for each kind of dependency, and what is left untracked are #1254 §6 ("Contract: when a rebuild happens"). When the assessment runs and what each caller does with the answer is #1254 §5 ("Contract: when validation happens"). Which recorded fields are compared is #1254 §4's table. This issue tracks the work.

Stage 3b: the engine, pure and unwired (#1258)

Stage 4: wired in, together with #1256

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions