Repository navigation
Conversation
Member
Author
|
Closing as superseded — it proves the caching goal (run 2 reported The right shape is a real lane in Python plus a five-line TOML entry: [gate.lanes.dylint]
run = ["uv", "run", "ci/local_gate.py", "--lane", "dylint"]
tools = ["soldr"]
exclude = ["**"]
keep = ["dylints/**", "rust-toolchain.toml", "Cargo.lock"]with |
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.
Refs #3892.
Source-only edits currently rerun host and cross Dylint inside the source-sensitive local lint lanes. This changes only
local-gate.toml: host Dylint has its own exact keep list, cross Dylint is an optional lane activated byOBS_GATE_DYLINT_CROSS=1, and the other local lanes compose the existing checks without Dylint. No Rust or workflow files change. The pinned schema has nodefaultfield, so the optional lane exits 75 unless explicitly selected through its recorded environment input.The shared config launcher gives the composed local commands a common prefix. The native command arrays remain unchanged because
ci/test_native_lanes.pyexplicitly requires them; this leaves two GATE-007 prefix findings that cannot be reconciled with that test solely through this TOML edit. The full command retains the existing runner as its fallback. Attestation coverage includes the newly separated checks, so Clippy alone cannot attest Dylint. There is no TOML generator for this file (ci.tomlexplicitly generates no YAML).Targets remain covered:
dylintby default; unchanged CIrust-tests-linux/--lane lintalso runs host Dylint.dylint-cross; unchangedbuild-project.yaml:rust-cross-lintmatrix runsuv run --no-project ci/local_gate.py --lane cross --cross-target ${{ matrix.target }}.dylint-cross; unchangedbuild-project.yaml:rust-cross-lint-releaserunsuv run --no-project ci/local_gate.py --lane cross-release.crossretains the current PR target set, Clippy flags and test links. Apple x64 is already a release target on master, despite the old TOML comment.Validation (draft; no claim that the full gate passes):
plancommand. Its actuallane_inputsAPI, with a synthetic source-only change torust/obs-core/src/lib.rs, reportsdylint unchanged,dylint-cross unchanged, and source-sensitive lanes selected: “Source-only change: no Dylint lane selected; default local Dylint runs in exactly one lane: dylint.” The explicit keep list has exactly the three requested entries; the framework also adds mandatory declaration/toolchain inputs (14 total inputs on this tree).ci-lint local-gate run --no-stampcompleted without any intervening tree change:test_ci_tests_stdlib_only.pyandtest_qt_fastpath.py: the host's default Python 3.13 lacks the Python 3.14 stdlibcompression.zstd. The first run also met the stale container from an interrupted initial attempt. After the second lint failure, its remaining Tier 2 container was explicitly stopped (exit 137); no containers were left running and no configuration checks were removed. Other host lanes were not run after the heavy-lane failure. The first Dylint command itself reused soldr's verdict; the second was skipped by the independent ci-lint lane cache.ci-lint selftestagainst the exact pinned source: 1,332 tests, OK (skipped=2). The wheel itself omits test fixtures and fails withFileNotFoundError: missing fixture BIN-001/red; extracting the exact pinned GitHub archive and setting PYTHONPATH supplies those unmodified fixtures.UV_PYTHON=3.14 PYTHONPATH=<exact-pinned-source> uv run --no-project --with pyyaml python -m ci_lint selftest. PyYAML is a declared package dependency. The command-form source selftest took 412.295s. Earlier attempts exposed missing wheel fixtures, one overlap timing flake under concurrent tests, and the fallback YAML parser's inability to run the full suite without PyYAML; only the final complete green runs are claimed as passes.uv run --no-project ci/test_native_lanes.py7 tests OK;uv run --no-project ci/test_uv_run.py5 tests OK; TOML parse andgit diff --checkpass.local-gate lint: 95 violations / 1 other finding, including the two native-command prefix conflicts described above and unrelated existing mirror/trust findings. No validation rules were disabled. Hosted checks have not been reported on this draft.The original-tree RED evidence is the absence of a dedicated Dylint lane (
local-gate laneslists only lint, rust-test, cross, tier2-linux and native lanes). The config commits add that separation. No runtime/product behavior changes; Rust test tiers are not applicable to this config-only change.Do not merge: the user explicitly requested an unmerged PR.