Repository navigation
Conversation
tamird
marked this pull request as draft
October 16, 2026 15:20
tamird
force-pushed
the
type-contracts
branch
from
October 16, 2026 15:26
6554f82 to
559d82c
Compare
tamird
force-pushed
the
type-contracts
branch
from
October 18, 2026 21:25
9c19249 to
9ece1e5
Compare
tamird
force-pushed
the
type-contracts
branch
6 times, most recently
from
October 23, 2026 16:50
d3af802 to
309b721
Compare
tamird
force-pushed
the
type-contracts
branch
from
October 25, 2026 23:03
14bd35e to
8772530
Compare
Give toolchain configuration, provider collectors and rule helpers typed inputs and results. Keep simple signatures in their implementations; represent provider fields and generic functions in companion interfaces.
tamird
force-pushed
the
type-contracts
branch
from
October 29, 2026 16:57
32c4883 to
7055eae
Compare
Export the interfaces for dependent repositories. Run sty on the implementations and report findings across the remaining Starlark files.
tamird
force-pushed
the
type-contracts
branch
from
October 29, 2026 17:19
7055eae to
f351ef1
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.
Describe the inputs and results of C++ toolchain helpers, variable descriptors, provider collectors and tool macros. Ordinary signatures live in source comments readable by Bazel 7. Companion interfaces express generic functions, provider fields and dictionaries with required keys. A dependent ruleset can use the exported manifest alongside the implementations.
The Unix and Windows toolchain generators now use a string-only helper to escape percent signs in known strings. The compatibility helper still converts other values to strings and preserves
None; its return type includesNone.The advisory workflow gates the selected implementations and reports findings for the remaining tracked Starlark files. It uses the contracts in bazel-skylib#641. Two source fixes remain separate: #960 replaces a private, untyped Bazel Features lookup, and #967 handles omitted Objective-C sources and artifacts. The corresponding lines are marked until those changes land.
Prepared with Codex for @tamird.