Skip to content

Update MD5 hashing migration to handle empty versions - #9292

Merged
taylorsilva merged 1 commit into
concourse:masterfrom
IvanChalukov:empty-versions
Sep 10, 2025
Merged

taylorsilva merged 1 commit into
concourse:masterfrom
IvanChalukov:empty-versions

Conversation

@IvanChalukov

Copy link
Copy Markdown
Contributor

Changes proposed by this PR

This PR updates the MD5 hashing migration to correctly handle and migrate empty versions ({}).

closes #9280
related #9165

Notes to reviewer

I've used sample pipeline from #9165 (comment) to validate it:

resource_types:
  - name: mock-empty
    type: registry-image
    source:
      repository: concourseteam/mock-resource
      tag: empty-version

resources:
  - name: mock
    type: mock-empty

jobs:
  - name: job
    plan:
      - get: mock

@IvanChalukov
IvanChalukov requested a review from a team September 9, 2025 11:43
@taylorsilva taylorsilva added the release/undocumented This didn't warrant being documented or put in release notes. label Sep 10, 2025
@taylorsilva taylorsilva added this to the v8.0.0 milestone Sep 10, 2025

@taylorsilva taylorsilva left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - locally tested and verified that it updates the sha of empty versions.

@taylorsilva
taylorsilva merged commit 2e51874 into concourse:master Sep 10, 2025
@github-project-automation github-project-automation Bot moved this from Todo to Done in Pull Requests Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug release/undocumented This didn't warrant being documented or put in release notes.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Update MD5 hashing migration to migrate empty versions

2 participants