Skip to content

Chart appVersion drifts every release, and the guard test cannot run on the commit that causes it #38

Description

@catinspace-au

The chart's appVersion drifts behind the image on every single release, and the test we wrote to catch it is structurally incapable of firing on the commit that causes it.

How it goes wrong:

So the guard only ever fires on the NEXT unrelated PR, where it looks like that PR broke something. That is how it surfaced this time.

Two things worth fixing, and they are independent:

  • Make the release commit regenerate the deployment artefacts, so appVersion is stamped in the same commit as VERSION. That kills the drift at the source.
  • Or, if the release commit must stay minimal, run the artefact check on the release commit rather than skipping CI on it.

There is a second, nastier trap sitting next to this one that cost us two dead PRs today. A commit message that QUOTES the skip marker while explaining it gets skipped too -- GitHub scans the whole message, body included, not just the subject. #35 never got a single CI run for that reason and could never satisfy its required check, and cherry-picking it did the same to #36. Both had to be abandoned for #37 with the marker described instead of spelled out.

Worth a line in CONTRIBUTING: describe that marker, never write it literally.

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