Skip to content

rules_elixir: upstream the relocatable tree patch after rules_erlang#18 lands #6940

Open

Description

@TrapsterDK

Blocked on: bazelverse/rules_erlang#18

Split out of #3744. Blocked until bazelverse/rules_erlang#18 (relocatable tree on OtpInfo) merges.

Where

  • rules_dx: patches/rules_elixir/relocatable_tree.patch, its exports_files entry in patches/rules_elixir/BUILD.bazel, its label in elixir/toolchain/repos.bzl:198, elixir/toolchain/pins.bzl:20-22 (RULES_ELIXIR_COMMIT, RULES_ELIXIR_SHA256).
  • Upstream bazelverse/rules_elixir: private/elixir_build.bzl (ElixirInfo), private/elixir_toolchain.bzl (elixir_dirs, erlang_dirs, maybe_install_erlang), MODULE.bazel (git_override of rules_erlang).
  • Draft diff: PR 4 in the 2026-10-27 comment on rules_elixir: split hermetic_elixir.patch into separate upstream PRs to bazelverse/rules_elixir #3744.

Fix

  1. Check gh pr view 18 -R bazelverse/rules_erlang. If not merged, stop.
  2. Fresh clone of upstream rules_elixir main. Apply PR 4 from rules_elixir: split hermetic_elixir.patch into separate upstream PRs to bazelverse/rules_elixir #3744, bump the rules_erlang git_override commit to one that has Audit live execution: auditor wiring, advisory acquisition, SARIF/SPDX mapping #18, use the same variable name as rules_erlang#18. Give tree a default (getattr or tree = None).
  3. Add a toolchain fixture in test/ with tree set that builds one .ex file. Run bazelisk test //... in test/ and the CI negative checks.
  4. Follow the owner rules from rules_elixir: split hermetic_elixir.patch into separate upstream PRs to bazelverse/rules_elixir #3744 (match upstream style and commit format, review pass first, body ends with "Assisted by Claude."). Open the PR from this account.
  5. After it merges: bump the pins, delete relocatable_tree.patch and its two references, run tools/dx test //elixir/....

Activity

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

    @TrapsterDK
    CollaboratorAuthor

    Still blocked: bazelverse/rules_erlang#18 is open (not merged) as of 2026-11-05. Nothing to upstream until it lands; CI cannot unblock this.

  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.

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

    P2blockedmodel:sonnet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions