Repository navigation
ocaml: toolchain hub from core pins_hub (part of #10065) - #13103
Merged
Merged
Conversation
Collaborator
Author
|
Review: approve No must-fix items. Checked:
Non-blocking: the hub now creates a toolchain for every cell × every 🤖 Generated with Claude Code |
pins_hub gains variants (one toolchain() per cell and variant with extra constraints), companion_types (a second toolchain type per toolchain) and dict exec_aliases with alias_defaults. OCaml cell repos become dx_ocaml_toolchains__<cell> and the OCaml hub is rendered by pins_hub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
TrapsterDK
force-pushed
the
pins-hub-ocaml-haskell-10065
branch
from
November 17, 2026 18:11
0b22d8a to
fe80aad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #10065.
core/toolchain.bzlpins_hubgainsvariants(onetoolchain()per cell and variant, variant constraints appended on each side),companion_types(a second toolchain type per toolchain, pointing at<target>_<suffix>), andexec_aliasesas a dict of alias to cell-repo label withalias_defaults.dx_ocaml_toolchains__<cell>; the OCaml hub (std + profile toolchains per cell and emitter, cell aliases) is rendered bypins_hub. The hand-written_CELL/_OCAMLRUN/_ALIAStemplates andDIST_PREFIXare gone.Remaining for #10065:
Tests (local):
//core/tests:toolchain,//ocaml/tests:metadata,//ocaml/tests:zanuda_test,//ocaml/tests:collect_testpass;bazel queryof@dx_ocaml_toolchains//:alllists the 12 toolchains and aliases. Consumer and nested-Bazel tests were not run locally.tools/dx check --affectedstops at the generate step on known main failures in files this PR does not touch (deploy/private/release/testsrelease_consumer_smoke_test name clash, unnamederlang_appinerlang/tests/conformance/lock).🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K