Repository navigation
fix(scripts-test): dependabot npm tests accept deliberate single-directory npm blocks - #17665
Merged
developing-today-fleet[bot] merged 2 commits intoNov 30, 2026
Merged
Conversation
…le-directory npm blocks (#17661)
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
3 tasks
developing-today-fleet
Bot
deleted the
xaltha/17661-dependabot-npm-test
branch
November 30, 2026 21:28
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Nov 30, 2026
#17681) PR #17665 added /pm-stack/dispatch-hosted to the npm directories, but that directory is Bun-managed: it carries bun.lock and package.json with no package-lock.json/yarn.lock/pnpm-lock.yaml, so the npm_and_yarn updater aborts the whole grouped job with the Bun misconfiguration error (run 46517120901). Move it to the bun block and add it to BUN_DIRS in the npm-targets test so both stay in lockstep. pkgs/fleet/conductor-hosted (the other directory #17665 added) stays in npm: it has a tracked package.json and no bun.lock, so it is genuinely npm-managed. Diagnosis firsthand from the failed run log; fix shape specified by lane 0900-FV, which root-caused it before standing down to this claim.
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #17661
Fixes the stale
scripts/tests/test_dependabot_npm_targets.pythat failed main run 46503746940 (AssertionError: expected one npm update block, found 3, 2 test failures inbasic: scripts-test (3.12))..github/dependabot.ymldeliberately has 3 npm blocks — the shared enumerated block plus two documented single-directory splits (grok-cli ignore carrier #15492 withopen-pull-requests-limit: 0; atlas-search/worker vitest split #16880) — and the config is unchanged by this PR. The test now encodes the actual contract:npm_block()selects the enumerated block (the one carryingdirectories:; exactly one must exist).npm_single_directories()collects the single-directory:npm blocks; the manifest test asserts each is manifest-backed, none double-covers an enumerated target, and the enumerated expectation subtracts them.Verification: remote dispatch of the exact CI step (
python3 -m unittest discover -s scripts/tests -p 'test_dependabot_npm_targets.py' -v) on this head — run id and executed-test count recorded on #17661 when it concludes.{ "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:15:25Z", "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)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.