You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cross platform dylint checks for ci.yml and local repo ./lint #1501
this year here is that the dial failure got all the way to the release checks
Instead, what we need to do is make sure that dial is run cross platform I suspect, but this needs to be verified that the dial was only checking Lennox when it should be checking Lennox Windows and macOS this needs to be researched on what the better modality is
Also, the agent should check the other repos and cross file issues with all the reposts that are in rust that have this exact same problem
You recently added cross platform, violent checking through soldr lint and it's either not enabled somehow or it hasn't been released. Identify the gaps and figure out what needs to be done and then do it.
Cross-reference all the violations found so that we can track it for the entire corpus
it's important to know that this was transcribed so some words may not have come through for example dial instead of dylint
The first task of the agent is to take this comment and post a new comment with an updated version of this report in your own words along with acceptance tests that verify that it's done for each repo
changed the title [-]cross platform dylint checks for ci.yml and locL[/-][+]cross platform dylint checks for ci.yml and local repo ./lint[/+]on Sep 27, 2026
PR #1500 exposed Dylint violations only during full release validation. The goal is to make the actual custom Dylint checks part of normal developer and PR validation, with coverage for platform-gated Rust code on Linux, Windows, and macOS. A green policy/allowlist check is not a substitute for running Dylint over the workspace.
The recent soldr change, forge-ci/soldr#3392 (released in 0.9.23), adds per-declared-target Clippy passes to soldr lint. It explicitly leaves Dylint host-only. fbuild already declares Linux, Windows, and macOS targets in [workspace.metadata.soldr].targets, but ./lint currently calls format and Clippy directly rather than soldr lint. Therefore, installing/updating soldr alone does not close this issue.
In fbuild today, ordinary PRs run only the policy job of .github/workflows/dylint.yml; the full workspace Dylint job runs under ci-full/manual dispatch, on Linux and Windows, not macOS. The standard PR CI path is generated through ci/render_workflows.py (currently ci-minimal.yml/ci-test.yml/ci-full.yml), so update the actual generated entry point and its source/tests rather than assuming a standalone ci.yml exists.
Work to do
Research and implement a reliable way to run the real workspace Dylint checks for each OS's selected code. Native OS runners are acceptable; cross-target Dylint is acceptable only if proven to traverse the relevant cfg-gated modules and report violations. Keep Dylint's pinned nightly/driver constraints separate from stable Clippy.
Make that Dylint coverage a required normal PR gate, not merely an opt-in full/release check. Keep existing policy/allowlist validation as needed.
Make full local ./lint invoke Dylint (and retain formatting/Clippy), with a clear, reproducible bootstrap path and a nonzero exit on findings. Decide and document what a single-file lint invocation can and cannot cover.
Audit the other Rust repositories for the same gap, file linked repo-specific issues where needed, and cross-reference each discovered violation so the corpus can be tracked. Do not claim another repo is fixed merely because soldr's cross-target Clippy runs there.
Acceptance tests / evidence
fbuild PR CI: an ordinary PR runs real workspace Dylint for Linux, Windows, and macOS; a Dylint violation confined to each OS's cfg-gated source fails the corresponding check before merge. The required aggregate gate fails if any OS leg is skipped or fails.
fbuild local lint: the documented full ./lint path runs Dylint and exits nonzero for a representative custom-lint violation; formatting and Clippy still run. Tests protect the workflow generator and local command wiring.
Every other in-scope Rust repo: record its supported targets, actual local/PR Dylint invocation, and a repo-specific acceptance test proving a platform-gated violation is caught on each supported OS (or file a linked follow-up issue with the precise blocker and evidence). Link all findings/violations back here.
No false equivalence: verify cross-target Clippy and host Dylint separately; soldr lint 0.9.23's Clippy change alone must not satisfy the Dylint acceptance tests.
Evidence from the current checkout: ./lint -> ci.lint runs formatting and host Clippy but no Dylint. The reusable preflight's Dylint input is enabled only by the Linux x86 caller; macOS, Windows, and Linux arm leave it off. Its workspace Dylint command selects only running-process-platform-boundary; running-process-env-literal has a negative fixture and a dylint.toml registration, but no production-workspace invocation in that CI gate. This is a verified lint-gate violation, not a confirmed source-code lint finding.
#1224 specifies RED -> GREEN checks for both custom lints and host-gated Linux, Windows, and macOS modules, plus full local ./lint wiring. This is separate from the soldr cross-target Clippy change in forge-ci/soldr#3392, which leaves Dylint host-only.
zccache audit: filed forge-ci/zccache#1740 (forge-ci/zccache#1740). Ordinary PR CI runs real workspace Dylint only on Ubuntu; the local ./lint path explicitly skips Dylint on Windows and exits successfully, while macOS Dylint is not a required PR leg. This is a confirmed coverage violation, not a confirmed source-code Dylint finding. soldr#3392 adds cross-target Clippy but leaves Dylint host-only. The linked issue requires RED -> GREEN Dylint diagnostics for Linux, Windows, and macOS cfg-gated source across supported release targets.
Upstream follow-up: forge-ci/soldr#3422 tracks the remaining soldr lint gap: PR #3392 runs cross-target Clippy for declared targets, but its Dylint step remains host-only. The issue includes a platform-gated custom-lint RED → GREEN fixture and version-compatible local invocation criteria.
The fbuild 6.0.1 Dylint pin matters here. fbuild's lint crates, CI installation, and driver bootstrap use 6.0.1/nightly-2026-04-16; soldr's managed cargo-dylint, dylint-link, and driver validation use 6.0.3. A switch from ./lint to soldr lint alone would neither prove compatibility with fbuild's pinned stack nor make Dylint traverse Windows/macOS branches. fbuild still needs its own ordinary PR Dylint gate and local lint wiring under this issue; native OS legs are a valid way to establish that coverage.
Additional first-party Rust audit findings: FastLED/cli#274 (FastLED/cli#274) tracks two confirmed gaps: Windows/macOS Dylint jobs require the ci-full label, so ordinary unlabelled PRs omit them, and local ./lint returns 0 after skipping Dylint when prerequisites are missing. TechWatchProject/extension2#34 (https://github.com/TechWatchProject/extension2/issues/34) tracks a manual-only Ubuntu Dylint job; ordinary PRs have no Dylint gate, and Windows/macOS validation jobs omit Dylint. Both issues require real RED -> GREEN custom-lint diagnostics on their supported OS targets. No source-code Dylint finding was asserted.
ci(dylint): run resolving custom lints on ordinary PRs forge-ci/kernal-api#363: full CI already runs Linux/macOS Dylint and cross-target Windows Dylint, but an unlabeled ordinary PR selects minimal mode and skips those workspace passes. Its cheap platform source scanner does run in minimal mode; it is not the resolving Dylint gate.
Also inspected bosn, soldr-toolchain, setup-soldr, and reld. The first three have no first-party custom Dylint library to gate. reld runs its custom pre-expansion physical-source scanner on ordinary PRs and documents local Dylint commands, so I found no matching coverage gap there. clud2 is a second checkout of zackees/clud and is covered by #1489. Upstream soldr lint behavior remains tracked in forge-ci/soldr#3422.
TechWatchProject/extension2#34 — Dylint is manual and Ubuntu-only.
Known fbuild source findings that motivated this work: #1500 (three ban_std_pathbuf violations caught at release validation) and #1359 (a Windows-only ban_manual_slash_normalize violation escaped Linux-only checking). The sibling audit confirmed coverage violations, not additional source-code lint findings. New findings from #1511's native matrix should be linked here individually.
New source finding from the first real local Dylint pass for #1511: four ban_raw_path_prefix_compare diagnostics at crates/fbuild-library/src/library/esp32_framework/sdk_paths.rs (lines 43, 44, 125, 137). The two strip_prefix comparisons order SDK paths enumerated from the same include root; the two starts_with checks prune paths built from that same root. They do not compare independently normalized cache keys. The lint's documented same-normal-form exception applies, so #1511 adds a reasoned file-scoped allowlist entry and touches the lint source to invalidate cached lint libraries. Focused fbuild-library Dylint is now green; full workspace and native OS CI are still running.
Additional full-corpus finding: ban_manual_slash_normalize flagged bench/fastled-examples/src/build_comparison.rs:1046 (entry.file.replace(\\, "/") before matching /cores/esp32/). The fbuild PR #1511 now routes this through NormalizedPath::display_slash(); focused Dylint for fbuild-bench-fastled-examples passed locally. This is distinct from the four same-root SDK prefix comparisons noted above. Full-workspace/native matrix verification is still in progress.
Further full-workspace Dylint finding: ban_std_pathbuf reports 15 pre-existing raw PathBuf uses in test-only crates/fbuild-build-esp/src/esp32/esp32_linker_tests.rs (e.g. lines 8-11, 73, 124, 148-151, 185, 242). This lint explicitly covers workspace code and uses a legacy-file allowlist; migrating the test fixture types would be a separate refactor. I am recording this file as a justified legacy test exception in #1511, not weakening the lint globally. The parent issue tracks eventual migration/removal.
Implementation is in draft PR #1511 (latest commit 469b82fd). Local full-workspace pinned Dylint and focused benchmark Dylint now pass; native Linux/Windows/macOS CI is running after the push. The violation ledger in this issue covers the SDK path comparisons, benchmark slash normalization, and ESP32 linker test-only PathBuf fixture; the linked sibling-repo issues track their own gaps without changing their code here.
Verified: PR #1511 at 469b82fd passed the required Dylint gate and all three native full-workspace jobs (Linux, Windows, macOS) in run 36302188950. The run includes the platform-boundary scanner-versus-Dylint observation comparison on each host. Local full-workspace Dylint, 26 orchestration/workflow tests, policy validation, formatting, and PR checks also passed. PR is ready for review. The linked sibling-repo issues remain their respective follow-ups; no code was changed there.
Activity
zackees commentedon Sep 27, 2026
it's important to know that this was transcribed so some words may not have come through for example dial instead of dylint
The first task of the agent is to take this comment and post a new comment with an updated version of this report in your own words along with acceptance tests that verify that it's done for each repo
[-]cross platform dylint[/-][+]cross platform dylint checks for ci.yml and locL[/+][-]cross platform dylint checks for ci.yml and locL[/-][+]cross platform dylint checks for ci.yml and local repo ./lint[/+]zackees commentedon Sep 27, 2026
ci.yml is the target for this
If Rus linting is run via ./lint then dylint needs to be part of this too.
zackees commentedon Sep 27, 2026
Normalized scope and current findings
PR #1500 exposed Dylint violations only during full release validation. The goal is to make the actual custom Dylint checks part of normal developer and PR validation, with coverage for platform-gated Rust code on Linux, Windows, and macOS. A green policy/allowlist check is not a substitute for running Dylint over the workspace.
The recent soldr change, forge-ci/soldr#3392 (released in 0.9.23), adds per-declared-target Clippy passes to
soldr lint. It explicitly leaves Dylint host-only. fbuild already declares Linux, Windows, and macOS targets in[workspace.metadata.soldr].targets, but./lintcurrently calls format and Clippy directly rather thansoldr lint. Therefore, installing/updating soldr alone does not close this issue.In fbuild today, ordinary PRs run only the policy job of
.github/workflows/dylint.yml; the full workspace Dylint job runs underci-full/manual dispatch, on Linux and Windows, not macOS. The standard PR CI path is generated throughci/render_workflows.py(currentlyci-minimal.yml/ci-test.yml/ci-full.yml), so update the actual generated entry point and its source/tests rather than assuming a standaloneci.ymlexists.Work to do
cfg-gated modules and report violations. Keep Dylint's pinned nightly/driver constraints separate from stable Clippy../lintinvoke Dylint (and retain formatting/Clippy), with a clear, reproducible bootstrap path and a nonzero exit on findings. Decide and document what a single-file lint invocation can and cannot cover.Acceptance tests / evidence
cfg-gated source fails the corresponding check before merge. The required aggregate gate fails if any OS leg is skipped or fails../lintpath runs Dylint and exits nonzero for a representative custom-lint violation; formatting and Clippy still run. Tests protect the workflow generator and local command wiring.soldr lint0.9.23's Clippy change alone must not satisfy the Dylint acceptance tests.References: #1500, forge-ci/soldr#3378, forge-ci/soldr#3392.
zackees commentedon Sep 27, 2026
running-process audit: filed zackees/running-process#1224 for the confirmed CI/local Dylint coverage gap.
Evidence from the current checkout:
./lint->ci.lintruns formatting and host Clippy but no Dylint. The reusable preflight's Dylint input is enabled only by the Linux x86 caller; macOS, Windows, and Linux arm leave it off. Its workspace Dylint command selects onlyrunning-process-platform-boundary;running-process-env-literalhas a negative fixture and adylint.tomlregistration, but no production-workspace invocation in that CI gate. This is a verified lint-gate violation, not a confirmed source-code lint finding.#1224 specifies RED -> GREEN checks for both custom lints and host-gated Linux, Windows, and macOS modules, plus full local
./lintwiring. This is separate from the soldr cross-target Clippy change in forge-ci/soldr#3392, which leaves Dylint host-only.zackees commentedon Sep 27, 2026
zccache audit: filed forge-ci/zccache#1740 (forge-ci/zccache#1740). Ordinary PR CI runs real workspace Dylint only on Ubuntu; the local ./lint path explicitly skips Dylint on Windows and exits successfully, while macOS Dylint is not a required PR leg. This is a confirmed coverage violation, not a confirmed source-code Dylint finding. soldr#3392 adds cross-target Clippy but leaves Dylint host-only. The linked issue requires RED -> GREEN Dylint diagnostics for Linux, Windows, and macOS cfg-gated source across supported release targets.
zackees commentedon Sep 27, 2026
Upstream follow-up: forge-ci/soldr#3422 tracks the remaining
soldr lintgap: PR #3392 runs cross-target Clippy for declared targets, but its Dylint step remains host-only. The issue includes a platform-gated custom-lint RED → GREEN fixture and version-compatible local invocation criteria.The fbuild 6.0.1 Dylint pin matters here. fbuild's lint crates, CI installation, and driver bootstrap use 6.0.1/nightly-2026-04-16; soldr's managed
cargo-dylint,dylint-link, and driver validation use 6.0.3. A switch from./linttosoldr lintalone would neither prove compatibility with fbuild's pinned stack nor make Dylint traverse Windows/macOS branches. fbuild still needs its own ordinary PR Dylint gate and local lint wiring under this issue; native OS legs are a valid way to establish that coverage.zackees commentedon Sep 27, 2026
Additional first-party Rust audit findings: FastLED/cli#274 (FastLED/cli#274) tracks two confirmed gaps: Windows/macOS Dylint jobs require the ci-full label, so ordinary unlabelled PRs omit them, and local ./lint returns 0 after skipping Dylint when prerequisites are missing. TechWatchProject/extension2#34 (https://github.com/TechWatchProject/extension2/issues/34) tracks a manual-only Ubuntu Dylint job; ordinary PRs have no Dylint gate, and Windows/macOS validation jobs omit Dylint. Both issues require real RED -> GREEN custom-lint diagnostics on their supported OS targets. No source-code Dylint finding was asserted.
zackees commentedon Sep 27, 2026
First-party follow-up audit (deduplicated by repository origin):
bash lintomit it; Windows/macOS-selected code is not traversed by the existing Dylint job.Also inspected bosn, soldr-toolchain, setup-soldr, and reld. The first three have no first-party custom Dylint library to gate. reld runs its custom pre-expansion physical-source scanner on ordinary PRs and documents local Dylint commands, so I found no matching coverage gap there.
clud2is a second checkout of zackees/clud and is covered by #1489. Upstreamsoldr lintbehavior remains tracked in forge-ci/soldr#3422.zackees commentedon Sep 27, 2026
Cross-repository Dylint coverage ledger
Implementation in this repo: #1511 (draft; native Linux/Windows/macOS CI and local lint validation in progress).
Verified coverage gaps, with repo-specific acceptance tests and linked issues:
Known fbuild source findings that motivated this work: #1500 (three
ban_std_pathbufviolations caught at release validation) and #1359 (a Windows-onlyban_manual_slash_normalizeviolation escaped Linux-only checking). The sibling audit confirmed coverage violations, not additional source-code lint findings. New findings from #1511's native matrix should be linked here individually.zackees commentedon Sep 27, 2026
New source finding from the first real local Dylint pass for #1511: four
ban_raw_path_prefix_comparediagnostics atcrates/fbuild-library/src/library/esp32_framework/sdk_paths.rs(lines 43, 44, 125, 137). The twostrip_prefixcomparisons order SDK paths enumerated from the same include root; the twostarts_withchecks prune paths built from that same root. They do not compare independently normalized cache keys. The lint's documented same-normal-form exception applies, so #1511 adds a reasoned file-scoped allowlist entry and touches the lint source to invalidate cached lint libraries. Focusedfbuild-libraryDylint is now green; full workspace and native OS CI are still running.zackees commentedon Sep 27, 2026
Additional full-corpus finding:
ban_manual_slash_normalizeflaggedbench/fastled-examples/src/build_comparison.rs:1046(entry.file.replace(\\, "/")before matching/cores/esp32/). The fbuild PR #1511 now routes this throughNormalizedPath::display_slash(); focused Dylint forfbuild-bench-fastled-examplespassed locally. This is distinct from the four same-root SDK prefix comparisons noted above. Full-workspace/native matrix verification is still in progress.zackees commentedon Sep 27, 2026
Further full-workspace Dylint finding:
ban_std_pathbufreports 15 pre-existing rawPathBufuses in test-onlycrates/fbuild-build-esp/src/esp32/esp32_linker_tests.rs(e.g. lines 8-11, 73, 124, 148-151, 185, 242). This lint explicitly covers workspace code and uses a legacy-file allowlist; migrating the test fixture types would be a separate refactor. I am recording this file as a justified legacy test exception in #1511, not weakening the lint globally. The parent issue tracks eventual migration/removal.zackees commentedon Sep 27, 2026
Implementation is in draft PR #1511 (latest commit
469b82fd). Local full-workspace pinned Dylint and focused benchmark Dylint now pass; native Linux/Windows/macOS CI is running after the push. The violation ledger in this issue covers the SDK path comparisons, benchmark slash normalization, and ESP32 linker test-only PathBuf fixture; the linked sibling-repo issues track their own gaps without changing their code here.zackees commentedon Sep 27, 2026
Verified: PR #1511 at
469b82fdpassed the requiredDylintgate and all three native full-workspace jobs (Linux, Windows, macOS) in run 36302188950. The run includes the platform-boundary scanner-versus-Dylint observation comparison on each host. Local full-workspace Dylint, 26 orchestration/workflow tests, policy validation, formatting, and PR checks also passed. PR is ready for review. The linked sibling-repo issues remain their respective follow-ups; no code was changed there.