Skip to content

layout: per-language schema test (part of #10084) #10073

Open

Description

@TrapsterDK

Part of #10084.
A test fails when a language dir lacks defs.bzl, lang.json or private/, exposes a public .bzl other than defs.bzl/extensions.bzl, keeps language code outside <lang>/ (e.g. quality/tools/<lang>, tools/coverage/<lang>), or gives private/ targets public visibility. Land it with an allow list of not-yet-migrated languages that each move PR shrinks; empty list at the end.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B

Activity

  1. added
    P2
    model:opus
    on Nov 9, 2026
  2. changed the title [-]layout: one per-language directory schema, enforced by a test[/-] [+]layout: per-language schema test (part of #10084)[/+] on Nov 9, 2026
  3. TrapsterDK commented on Nov 12, 2026

    @TrapsterDK
    CollaboratorAuthor

    Remaining after PR 12146: move the code behind the 5 outside-lang and 128 private-visibility allowlist lines and delete the lines.

  4. TrapsterDK commented on Nov 12, 2026

    @TrapsterDK
    CollaboratorAuthor

    Remaining after PR 12335: 4 outside-lang lines (core/quality/tools/{cc,dotnet,python} via #10653, tools/coverage/d via #12247) and 116 private-visibility lines. Most remaining public private/ targets are labels legacy macros pass into consumer packages or generated repos reference; they need a private _attr default or a symbolic macro before the visibility can shrink.

  5. TrapsterDK commented on Nov 13, 2026

    @TrapsterDK
    CollaboratorAuthor

    Remaining after PR 12596: 104 private-visibility lines (labels legacy macros pass into consumer packages: bench libs, hlint/ormolu bins, coverage scripts, toolchains; need private _attr defaults or symbolic macros), 4 outside-lang lines (#10653, #12247), and the dotnet/private/coverage coverlet_launcher_bin_test test-location failure on main (generator re-emits it under private/).

  6. TrapsterDK commented on Nov 17, 2026

    @TrapsterDK
    CollaboratorAuthor

    Remaining after PR 12922: 92 private-visibility lines (labels legacy macros pass into consumer packages; need private _attr defaults or symbolic macros), 2 outside-lang lines (#10653), and dotnet/private/coverage coverlet_launcher_bin_test (move crate to dotnet/private/tools/coverlet_launcher with an @crates repin). Guard also red on main for cc/private/toolchain/clang_cl and python/private/coverage visibility, register-label cc toolchains, typescript pins, csharp/private/lock test-location.

  7. TrapsterDK commented on Nov 17, 2026

    @TrapsterDK
    CollaboratorAuthor

    Remaining after PR 12962: 84 private-visibility lines (labels legacy macros put into consumer packages: bench libs, select keys on cell/coverage config_settings, tool binaries, hub repo labels; need private _attr defaults or symbolic macros), outside-lang core/quality/tools/python, dotnet/private/coverage coverlet_launcher_bin_test. language_skeleton_test is also red on main for: julia/perl extension-label/name, php/terraform fixture-name, apple/csharp/fsharp fixture-referenced, typescript pins, cc/private/toolchain/clang_cl, dart/private/tools/lock, python/private/coverage visibility, csharp/private/lock and dotnet/private/coverage test-location, and a stale flutter fixture-hello line.

  8. 55 remaining items

  9. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    Next slice: #14632 makes vite_tool, vite_build_tool, framework_jest_config, astro_tool and astro_build_tool private (per-build tools in the consumer package) and drops the astro and javascript/private allowlist lines. Still public but not detected by the guard: jest_config and jest_transform from dx_framework_jest_files in astro, svelte, mdx and vue /private (reach them through forwarders in dx_framework_test). After that: the other private-visibility lines (#14433), and core/quality/tools/python (#10545).


    Generated by Claude Code

  10. added
    cloud-pool
    and removed
    cloud-taken
    on Nov 22, 2026
  11. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    /evidence platforms=["windows_x86_64"] task=test scope=//astro/tests/fixtures/app:site_static_test


    Generated by Claude Code

  12. github-actions commented on Nov 22, 2026

    @github-actions
    Contributor
  13. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    cloud-claim e77c2e13


    Generated by Claude Code

  14. added
    cloud-taken
    and removed
    cloud-pool
    on Nov 22, 2026
  15. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    Next slice: #14695 (stacked on #14632) makes jest_config and jest_transform in astro, svelte, mdx and vue /private private, loaded through a per-test config target in the test's package. After that: the other private-visibility lines (#14433), .bzl macros that still pass //visibility:public (the guard misses them), and core/quality/tools/python (#10545).


    Generated by Claude Code

  16. added
    cloud-pool
    and removed
    cloud-taken
    on Nov 22, 2026
  17. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    cloud-claim 474cfb75


    Generated by Claude Code

  18. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    Releasing claim 474cfb75 without changes. #14632 and #14695 are ready and on the train. Next slice is unchanged: make the private-visibility guard catch .bzl macros that pass //visibility:public. Then the other lines go to #14433 and core/quality/tools/python to #10545.


    Generated by Claude Code

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

    P2cloud-poolmodel:opus

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions