Repository navigation
ci: run the dylint lane on the host via soldr lint, never bosn - #2141
Merged
Merged
Conversation
Lint never runs under bosn; soldr lint only. The local-gate dylint lane replayed dylint.yml through a bosn/act container. It now runs on the host: dylint.yml's Python policy validators through uv, each lint library's fmt check and UI tests through soldr cargo, and soldr lint rust --check --cross-dylint for every shipping target. - local-gate.toml: dylint lane tools = [soldr, uv]; drop the dylint.yml replay jobs and selection (a host lane produces no act2 report). - Cargo.toml: declare [workspace.metadata.soldr.lint] steps. - Remove measure_dylint_gate.py, which only measured bosn dylint runs. - Update README, lane-shape tests and the drift suite list.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
dylint_testing looks the driver up by the bare nightly name under DYLINT_DRIVER_PATH and otherwise builds dylint_driver from a git checkout. Give the lane its own driver root, which soldr dylint prepare fills under both names, and put prepare's tool bin dirs on PATH as hosted CI does.
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.
Policy: lint never runs under bosn; soldr lint only. Pushing lint into a bosn/act container has caching semantics that break the shared build host.
The local-gate
dylintlane (tools = ["bosn", "uv"]) replayeddylint.ymlthrough bosn. It now runs on the host (tools = ["soldr", "uv"]):check_dylint_allowlists.py,check_fbuild_path_baseline.py --base origin/main,enforce_platform_boundary.py --print-totals.soldr dylint prepare, then eachdylints/*library'ssoldr cargo fmt --all -- --checkandsoldr cargo test(run from the crate dir so its pinned nightly applies).soldr lint rust --check --cross-dylint: fmt, Clippy and every[workspace.metadata.dylint]library over the workspace for the host and every[workspace.metadata.soldr].targetstriple.Changes:
local-gate.toml: host dylint lane; drop thedylint.ymlreplay jobs/selection (a host lane produces no act2 report).ci-attestations.ymlgate mapping to thedylintlane is unchanged.Cargo.toml: declare[workspace.metadata.soldr.lint] steps = ["fmt", "clippy", "dylint"].ci/local_gate.py: Docker daemon check only for the Ubuntu replay lane.ci/measure_dylint_gate.py(+ test), which only measured bosn Dylint runs.test_local_dylint_gate,test_shared_replay) and the drift suite list updated.Remote
dylint.yml(GitHub-hosted) is unchanged, including its raw-observation ledger comparison, which needs a fresh uncached driver pass.