Skip to content

haskell, ocaml, fortran, swift, appimage: move to their own family modules #6514

Closed as not planned

Description

@TrapsterDK

Blocked on: #6513

Goal: move haskell, ocaml, fortran, swift, appimage to their own modules under families/, so consumers that don't use them stop resolving and fetching their deps.

Plan (agent): size M, sonnet
Family: One module per family, one PR. Toolchains: haskell (MODULE.bazel:481 plus its hub), ocaml (:892), fortran (:897), swift (:648, deps rules_swift, bazel_linux_packages). appimage: extension only. python loads 1 appimage label: fix it here. If swift needs a Mac evidence run, split it into its own PR.

Shared rules for every move:

  • Follow the checklist from android: moves to families/android #6053 (android).
  • The root MODULE.bazel depends on each family module with dev_dependency = True plus local_path_override. A non-dev dep would put the family back in every consumer's graph.
  • A family module depends only on core (rules_dx) and upstream rule sets, never on another family module.
  • Before moving, grep core and every other family for labels into the moving dirs. Fix each one in the same PR: move the test to the owning family, or move a shared helper into core.
  • Update the family's entry in modules/families.json, plus docs and examples, in the same PR. Labels change. No forwarding stubs and no migration (owner decision on modules: languages a consumer does not use are not fetched or registered #6032).
  • Keep shard names and # floor: lines unchanged (move a # floor: line with its dep).

Tests: tools/dx test //modules:all //tools/testing/hermetic:haskell //tools/testing/hermetic:ocaml //tools/testing/hermetic:appimage, the family module's own tests as the #6053 checklist says, then tools/dx test --affected.
Host: none
Upstream: none

Do after #6513
Part of #6054

Activity

  1. added
    P2
    blocked
    model:sonnet
    on Nov 4, 2026
  2. TrapsterDK commented on Nov 5, 2026

    @TrapsterDK
    CollaboratorAuthor

    Blocked: this is marked 'Do after #6513', and #6513 is still open. On origin/main only families/android exists, so the shared family-module layout for the later moves has not landed. Keeping the blocked label; nothing to do until #6513 merges.

  3. github-actions commented on Nov 5, 2026

    @github-actions
    Contributor

    This issue has the blocked label but no Blocked on: line in its body. Add one naming the blocking issue (#N), a pull request URL, or the owner action. See CONTRIBUTING.md.

  4. TrapsterDK commented on Nov 6, 2026

    @TrapsterDK
    CollaboratorAuthor

    Rule for this move: the same PR moves the family's register_toolchains from root MODULE.bazel to families/<family>/MODULE.bazel, drops the hub repos from core's use_repo, and moves the patterns to the family entry in modules/families.json (see #8203 for beam). Otherwise consumers still fetch the toolchains and a second PR is needed. Assisted by Claude.

  5. removed
    blocked
    on Nov 9, 2026
  6. TrapsterDK commented on Nov 9, 2026

    @TrapsterDK
    CollaboratorAuthor

    Superseded by #10084: one module, no family modules.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B

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

    P2model:sonnet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions