Skip to content

Conversation

@astrojerms
Copy link
Member

Fixes:

Related:

Pre-review Checklist

For new package PRs only

  • This PR is marked as fixing a pre-existing package request bug
    • Alternatively, the PR is marked as related to a pre-existing package request bug, such as a dependency
  • REQUIRED - The package is available under an OSI-approved or FSF-approved license
  • REQUIRED - The version of the package is still receiving security updates
  • This PR links to the upstream project's support policy (e.g. endoflife.date)

For new version streams

  • The upstream project actually supports multiple concurrent versions.
  • Any subpackages include the version string in their package name (e.g. name: ${{package.name}}-compat)
  • The package (and subpackages) provides: logical unversioned forms of the package (e.g. nodejs, nodejs-lts)
  • If non-streamed package names no longer built, open PR to withdraw them (see WITHDRAWING PACKAGES)

For package updates (renames) in the base images

When updating packages part of base images (i.e. cgr.dev/chainguard/wolfi-base or ghcr.io/wolfi-dev/sdk)

  • REQUIRED cgr.dev/chainguard/wolfi-base and ghcr.io/wolfi-dev/sdk images successfully build
  • REQUIRED cgr.dev/chainguard/wolfi-base and ghcr.io/wolfi-dev/sdk contain no obsolete (no longer built) packages
  • Upon launch, does apk upgrade --latest successfully upgrades packages or performs no actions

For security-related PRs

  • The security fix is recorded in the advisories repo

CVE Scanning: This PR will fail if ANY CVEs are found (fail-any mode). To customize:

  • Must-fix specific CVEs only: Add <!--ci-cve-scan:must-fix: CVE-ID--> markers and remove the line below
  • Fail on any CVEs (default): Keep the marker below
<!--ci-cve-scan:fail-any-->

For version bump PRs

  • The epoch field is reset to 0

For PRs that add patches

  • Patch source is documented

@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Jan 15, 2026
@octo-sts
Copy link
Contributor

octo-sts bot commented Jan 16, 2026

🔄 Build Failed: Git Checkout Error

remote: Repository not found.
fatal: repository 'https://github.com/chainguard-dev/iamguarded-tools/' not found

Build Details

Category Details
Build System melange
Failure Point git clone operation during iamguarded-tools checkout in subpackage configmap-reload-iamguarded-compat

Root Cause Analysis 🔍

The git repository 'https://github.com/chainguard-dev/iamguarded-tools' does not exist or is not accessible. This appears to be a private repository that the build process cannot access, or the repository URL is incorrect.


🔍 Build failure fix suggestions

Found similar build failures that have been fixed in the past and analyzed them to suggest a fix:

Suggested Changes

File: configmap-reload.yaml

  • remove_subpackage at line 32-54 (subpackages section)
    Original:
subpackages:
  - name: ${{package.name}}-iamguarded-compat
    options:
      no-provides: true
    pipeline:
      - uses: iamguarded/build-compat
        with:
          package: configmap-reload
          version: ${{vars.major-version}}
      - runs: |
          mkdir -p "/opt/iamguarded/configmap-reload/bin/"
          ln -s "/usr/bin/configmap-reload" "/opt/iamguarded/configmap-reload/bin/configmap-reload"
      - uses: iamguarded/finalize-compat
        with:
          package: configmap-reload
          version: ${{vars.major-version}}
    test:
      pipeline:
        - uses: iamguarded/test-compat
          with:
            package: configmap-reload
            version: ${{vars.major-version}}

Content:

Remove the entire iamguarded-compat subpackage section that is causing the repository access failure
Click to expand fix analysis

Analysis

The similar fix shows a pattern where a "Repository not found" error for the iamguarded-tools repository was resolved by removing the problematic subpackage entirely. In the envoy-1.35.yaml case, the envoy-1.35-iamguarded-compat subpackage that was trying to access the non-existent https://github.com/chainguard-dev/iamguarded-tools repository was completely removed from the configuration. This suggests that the iamguarded-tools repository is either private, deleted, or never existed, and the solution is to remove dependencies on it rather than trying to fix the repository access.

Click to expand fix explanation

Explanation

The fix should work because it directly addresses the root cause of the failure. The error occurs because the iamguarded/build-compat, iamguarded/finalize-compat, and iamguarded/test-compat pipeline steps are trying to access the non-existent https://github.com/chainguard-dev/iamguarded-tools repository. By removing the entire iamguarded-compat subpackage, we eliminate the dependency on this inaccessible repository while preserving the main configmap-reload package functionality. This approach mirrors the successful fix pattern observed in the envoy-1.35.yaml case, where the problematic iamguarded-compat subpackage was completely removed when facing the same repository access issue.

Click to expand alternative approaches

Alternative Approaches

  • Replace the iamguarded/* pipeline steps with custom implementation that doesn't depend on the iamguarded-tools repository, but this would require understanding the specific functionality these steps provide
  • Update the iamguarded pipeline steps to point to a different, accessible repository if an alternative implementation exists
  • Make the iamguarded-compat subpackage conditional based on environment or build context, but this adds complexity without clear benefit

Was this comment helpful? Please use 👍 or 👎 reactions on this comment.

@octo-sts octo-sts bot added the ai/skip-comment Stop AI from commenting on PR label Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/skip-comment Stop AI from commenting on PR bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant