Skip to content

Conversation

brileyyyy
Copy link
Contributor

Problem

The d8 mirror tool was failing when trying to pull from registries that included LTS (Long Term Support) release channels. The error occurred during platform version discovery:

get lts from registry: get lts release channel data: GET .../release-channel/manifests/lts: MANIFEST_UNKNOWN: manifest unknown; map[Tag:lts]

Root Cause

Hard-coded assumption about channel availability: The code expected all channels to exist in the registry and failed hard when LTS manifests were not found.

Solution

  • LTS channels are discovered and pulled when available
  • Missing LTS channels are silently ignored
  • System continues working with existing registries that don't have LTS

@brileyyyy brileyyyy self-assigned this Oct 14, 2025
@brileyyyy brileyyyy marked this pull request as ready for review October 14, 2025 16:36
if err != nil {
// If release channel doesn't exist, don't return an error
if errorutil.IsImageNotFoundError(err) {
return nil, nil
Copy link
Collaborator

Choose a reason for hiding this comment

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

are we sure about it?
looks like a place for bug possibility

@brileyyyy brileyyyy requested a review from ldmonster October 20, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants