Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-12361

prefetch failures due to backstage: and workspace: refs not cleaned up

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Build, Dynamic Plugins, Operator
    • None
    • RHDH COPE 3287, RHDH COPE 3288

      builds failing to prefetch in Konflux!

      3. konflux prefetch problems for

      • workspaces/backstage
      • workspaces/orchestrator
      • workspaces/rbac
      • workspaces/tech-radar

      possibly more affected too.

      STEP-PREFETCH-DEPENDENCIES
        INFO: Using mounted CA bundle: /mnt/trusted-ca/ca-bundle.crt
        '/mnt/trusted-ca/ca-bundle.crt' -> '/etc/pki/ca-trust/source/anchors/ca-bundle.crt'
        2026-02-20 02:45:01,646 WARNING Config option 'requests_timeout' is deprecated. Please use 'http.read_timeout' instead.
        2026-02-20 02:45:01,646 WARNING Config option 'subprocess_timeout' is deprecated. Please use 'runtime.subprocess_timeout' instead.
        2026-02-20 02:45:01,647 WARNING Config option 'requests_timeout' is deprecated. Please use 'http.read_timeout' instead.
        2026-02-20 02:45:01,647 WARNING Config option 'subprocess_timeout' is deprecated. Please use 'runtime.subprocess_timeout' instead.
        2026-02-20 02:45:01,648 DEBUG Copying /var/workdir/source to /tmpx9bbhxij.hermeto-source-copy using fast in-kernel copy.
        2026-02-20 02:45:01,649 DEBUG Fast copying failed, falling back to standard copy.
        2026-02-20 02:45:02,765 INFO Fetching the yarn dependencies at the subpath /tmpx9bbhxij.hermeto-source-copy/workspaces/orchestrator
        2026-02-20 02:45:03,279 INFO Processing the request using yarn@3.8.7
        2026-02-20 02:45:06,445 ERROR The command "yarn install --mode skip-build" failed
        2026-02-20 02:45:06,445 ERROR STDERR: <empty>
        2026-02-20 02:45:06,445 ERROR STDOUT:
        ➤ YN0000: ┌ Resolution step
        ➤ YN0001: │ Error: @red-hat-developer-hub/backstage-plugin-orchestrator-common@workspace:^: Workspace not found (@red-hat-developer-hub/backstage-plugin-orchestrator-common@workspace:^)
            at Ge.getWorkspaceByDescriptor (/root/.cache/node/corepack/v1/yarn/3.8.7/yarn.js:440:3260)
            at uC.getCandidates (/root/.cache/node/corepack/v1/yarn/3.8.7/yarn.js:391:29726)
            at Df.getCandidates (/root/.cache/node/corepack/v1/yarn/3.8.7/yarn.js:392:1264)
            at Df.getCandidates (/root/.cache/node/corepack/v1/yarn/3.8.7/yarn.js:392:1264)
            at /root/.cache/node/corepack/v1/yarn/3.8.7/yarn.js:440:8033
            at df (/root/.cache/node/corepack/v1/yarn/3.8.7/yarn.js:391:11214)
            at ue (/root/.cache/node/corepack/v1/yarn/3.8.7/yarn.js:440:8013)
            at async Promise.allSettled (index 4)
            at async ro (/root/.cache/node/corepack/v1/yarn/3.8.7/yarn.js:391:10542)
        ➤ YN0000: └ Completed in 0s 573ms
        ➤ YN0000: Failed with errors in 0s 580ms
        2026-02-20 02:45:06,688 ERROR PackageManagerError: Yarn command failed: install --mode skip-build
        Error: PackageManagerError: Yarn command failed: install --mode skip-build
          The cause of the failure could be:
          - something is broken in hermeto
          - something is wrong with your repository
          - communication with an external service failed (please try again)
          The output of the failing command should provide more details, please check the logs.
      

      and more: https://konflux-ui.apps.stone-prod-p02.hjvn.p1.openshiftapps.com/ns/rhdh-tenant/applications/rhdh-plugin-catalog-1/activity/pipelineruns?name=orch

      Seems to be caused by not running the transformations that remove these refs.

      can either ensure we always do the transforms, or else maybe we can locally roll back changes to the workspace that re-introduce code from upstream instead of our already-fixed version

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: