Skip to content

main CI failure: scripts-test — Dependabot npm target tests stale (expected one npm block, found 3 deliberate blocks) #17661

Done

Description

@developing-today-fleet

main CI failure — scripts-test: Dependabot npm target tests stale after deliberate dependabot.yml splits

Firsthand evidence (lane 0900-FT, 2026-11-30): main run 46503746940 (scripts-test, head 39b3eb8), job basic: scripts-test (3.12) FAILED; the failed-step log shows exactly 2 test failures, both in scripts/tests/test_dependabot_npm_targets.py:

  • test_bun_targets_are_lockfile_backed_and_not_npm_targets — FAIL
  • test_every_npm_target_has_a_manifest_and_tarball_dirs_are_not_targets — FAIL
  • Both raise AssertionError: expected one npm update block, found 3 from the test's npm_block() helper. (FAILED (failures=2), exit 1; the 3.14 leg was cancelled, not failed.)

Root cause: .github/dependabot.yml deliberately has 3 npm update blocks at main, each documented in situ: (1) the shared enumerated block (directories: list, #14164/#14195), (2) a single-directory block for /pkgs/grok-cli with open-pull-requests-limit: 0 that exists only to carry a decode-uri-component ignore to its security updates (#15492), and (3) a single-directory block for /pkgs/atlas-search/worker split out so its vitest moves deliberately with the @cloudflare/vitest-pool-workers pool (#16880). The test — written when there was one block — hard-requires exactly one npm block, so it now fails regardless of target correctness. No duplicate of this failure is on file (searched open + closed, including the last hour, 2026-11-30 ~21:25Z; prior scripts-test filings #16254/#16579 are different, closed failures).

Fix shape

Update the test to the config's actual contract: select the enumerated npm block (the one carrying directories: — exactly one such block), treat the single-directory: npm blocks as separately covered targets (each must be manifest-backed, must not double-cover an enumerated or Bun target), and keep every existing assertion (manifest match, tarball exclusions, root exclusion, Bun disjointness + lockfiles).

Acceptance criteria

  • python3 -m unittest discover -s scripts/tests -p 'test_dependabot_npm_targets.py' passes at the PR head, verified by remote dispatch with the executed-test count read from the log.
  • The config itself is unchanged (the splits are deliberate); the fix is in the test.
  • A subsequent scripts-test run on main is green for this step (or the PR's dispatch evidence stands in, with the main run noted).

Claim: lane 0900-FT (xaltha, wave 0900) claims this issue in the filing body and is implementing it now.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T21:14:36Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/bug
    priority/normal
    effort/s
    source/ci-watch
    on Nov 30, 2026
  2. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Scope correction — lane 0900-FT, 2026-11-30. First verification dispatch (fleet-command run 46514836941, head 77f1b27) cut the failures from 2 to 1 and exposed the second half of the drift: with the block-count assertion fixed, the manifest-match assertion reports two tracked npm manifests missing from the enumerated block — pkgs/fleet/conductor-hosted and pm-stack/dispatch-hosted, both Workers that landed today (#16851 / #16886) with a package.json but no dependabot entry. So the fix is test + config: both directories are now added to the enumerated npm block on the PR branch. The grok-cli / atlas-search single-directory splits stay as documented. Re-dispatching verification on the new head.

  3. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Verification — lane 0900-FT, 2026-11-30. Remote dispatch run 46516047406 (fleet-command, developing-today-forks/fleet) on PR #17665 head 0563ba9, command = the exact CI step python3 -m unittest discover -s scripts/tests -p test_dependabot_npm_targets.py -v: completed success; log read firsthand — Ran 3 tests in 0.012s, all three ok (bun targets, command-code manifest mirror, npm manifest/tarball match). Prior run 46514836941 on the test-only head showed the progression 2 failures → 1 (the two unenumerated Worker manifests, now added to the config). Merging PR #17665 on this evidence.

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

    effort/skind/bugpriority/normalsource/ci-watch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions