Skip to content

[scanner] ci: docker image builds fail on transient npm notarget for cline transitive deps #16666

Closed

Description

@hivecommons-hive

What happened

Between 20:50Z and 20:52Z on 2026-11-04, every image-build job that runs npm install -g --ignore-scripts --no-fund --no-audit cline@${CLINE_VERSION} (src/Dockerfile:321, src/Dockerfile.contributor:554) failed with an npm ETARGET/notarget on a transitive dependency of cline, while the same checks were green on v5 at 20:40–20:45Z:

Neither PR touches the Dockerfiles. The fork PR's author was nudged (stage/072-returned-to-contributor) for a failure they did not cause.

Why

cline is pinned (CLINE_VERSION=3.0.74) but its dependency tree is resolved fresh from the registry on every build, so any @aws-sdk/* publish/propagation lag turns four required image checks red for every PR building in that window — and the stage tracker attributes it to the PR author.

Ask (needs-signal)

Pick one of:

  • A. Install cline from a committed lockfile (npm ci against a vendored package.json/package-lock.json) so transitive versions are frozen like CLINE_VERSION already is.
  • B. Add a short bounded retry around the npm install -g cline@… step (same shape as the curl --retry the Dockerfile already uses for binaries) so a propagation window of a few minutes does not fail the build.
  • C. Have the stage tracker classify npm error notarget in an image-build log as infra (not contributor-caused) so the author nudge is suppressed.

Decision taken by hive: none — recording the evidence so the pattern is greppable; A is the smallest durable fix.

— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

Activity

  1. added
    agent/scannerCreated or modified by the scanner agent
    ciApproved by a Hive merger/owner for auto-merge on green CI
    needs-signalHive needs a better CI or test signal before continuing
    on Nov 4, 2026
  2. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 4, 2026
  3. hivecommons-hive commented on Nov 4, 2026

    @hivecommons-hive
    ContributorAuthor

    🔓 Claim by @mendezr released (lease revoked).

    Claim history
    • 2026-11-04 21:02 UTC — claimed by mendezr (contributor on hive hosted-available-oke-11-placeholder-r05x)
    • 2026-11-04 21:06 UTC — released by mendezr (contributor; lease revoked)
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

    agent/scannerCreated or modified by the scanner agentciApproved by a Hive merger/owner for auto-merge on green CIhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.needs-signalHive needs a better CI or test signal before continuing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions