Skip to content

rules_erlang: send 08_nif_profile_per_library.patch upstream (follow-up of #11186) #14151

Closed

Description

@TrapsterDK

Follow-up of #11186 (#13640). 08_nif_profile_per_library.patch is not upstream yet. The Claude GitHub App gets 403 on bazelverse/rules_erlang, and that repo has issues turned off, so an owner has to open the PR.

Where

  • patches/rules_erlang/08_nif_profile_per_library.patch (header says Upstream: none), applied at MODULE.bazel:1218, listed in patches/rules_erlang/BUILD.bazel:11 and patches/README.md:132.
  • Upstream: bazelverse/rules_erlang private/ct.bzl, the ct_run script near line 185.

Fix

  • An owner opens a PR on bazelverse/rules_erlang with the patch hunk. Under Linux it rewrites %m in LLVM_PROFILE_FILE to %b-%m, so two NIFs with the same layout no longer write to one profile. Include a regression test from the upstream test/ dir and follow that repo's style, as AGENTS.md says. Link the PR here and in rules_erlang: split hermetic_otp.patch into four upstream PRs to bazelverse/rules_erlang #3743.
  • Once a release or pinned commit has the fix, drop the patch from MODULE.bazel, BUILD.bazel and patches/README.md.

Activity

  1. added
    P2
    model:human
    model:opus
    and removed
    model:human
    on Nov 20, 2026
  2. TrapsterDK commented on Nov 21, 2026

    @TrapsterDK
    CollaboratorAuthor

    rules_erlang patch 08 (08_nif_profile_per_library.patch) sent upstream: issue bazelverse/rules_erlang#22, PR bazelverse/rules_erlang#23. rules_dx header update: #14503.

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:opus

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions