Skip to content

gate: dx check fails in generate because bad.vue and bad.mdx both claim target bad #9237

Closed

Description

@TrapsterDK

Problem

Scheduled ci.yml run 42363337317 at 974d63a (tracked in #9216) fails here: https://github.com/devhusdk/rules_dx/actions/runs/42363337317/job/128376092821

First cause: vue: javascript/tests/typecheck: target name "bad" is claimed by generated vue_library(bad.vue) and existing mdx_library. Generate also reports cli/cli/Cargo.lock (and cli/ide, cli/update, cli/worktree, quality/adapter, tools/testing) as not wired, and a Maven lock BUILD change.

Where

  • javascript/tests/typecheck/bad.vue, javascript/tests/typecheck/bad.mdx, javascript/tests/typecheck/BUILD.bazel
  • .github/actions/gate

Fix

Rename one of the two fixtures (and its expected files) so the generated names do not collide. Then wire or exclude the listed Cargo.lock files and apply the Maven BUILD change with dx generate --apply, so dx check passes generate.

Done when

The job is green on the next scheduled ci.yml run.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hzpb4qWNZKpDCrwUz7

Activity

  1. added
    P2Improve and finish existing features
    model:sonnetAgent lane: scoped change with stated design, Sonnet
    on Nov 7, 2026
  2. TrapsterDK commented on Nov 7, 2026

    @TrapsterDK
    CollaboratorAuthor

    With #9295, #9296, #9310 and the #9311 branch applied on main, dx generate --apply still proposes 108 modified and 5 created BUILD files. It drops hand-written content: starlark load() statements and test cases, alwayslink, target_platform, all_crate_deps blocks, rust srcs entries (src/main.rs), an f-sharp lint data entry, and rules_dx python_binary loads. These are further generator bugs, so the bulk apply was not committed. PR #9279 stays as the partial fix.

  3. added a commit that references this issue on Nov 7, 2026
    6b27b1d
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

    P2Improve and finish existing featuresmodel:sonnetAgent lane: scoped change with stated design, Sonnet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions