Skip to content

chore(dylint): migrate lint libraries to Dylint 6.2.0 / nightly-2026-08-15 - #1819

Merged
zackees merged 2 commits into
mainfrom
dylint-6.2.0
Oct 31, 2026
Merged

zackees merged 2 commits into
mainfrom
dylint-6.2.0

Conversation

@zackees

@zackees zackees commented Oct 31, 2026

Copy link
Copy Markdown
Member

Moves all 27 lint libraries to Dylint 6.2.0 and nightly-2026-08-15, the only nightly with pre-deployed 6.2.0 drivers in soldr 0.9.47 / setup-soldr v0 (forge-ci/soldr#3921, #3987).

  • rustc API updates in the lint code; UI expectations re-blessed.
  • dylint.yml: soldr 0.9.47 now stages the driver under the bare nightly directory itself, so the ln over it is replaced by an existence check.

The same migration ran the full ci-minimal suite green (ci-full, including Dylint Full across all OS targets) as the setup-soldr v0 promotion canary (#1812, run 41173663865). Without it, setup-soldr v0 warns Dylint v6.2.0 has no pre-deployed driver for nightly-2026-05-28 and the driver build from source fails.

Soldr now stages the verified driver under the short nightly directory
itself, so the ln over it failed with 'cannot overwrite directory'.
Assert both names instead.
@coderabbitai

coderabbitai Bot commented Oct 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@zackees
zackees added this pull request to the merge queue Oct 31, 2026
@zackees

zackees commented Oct 31, 2026

Copy link
Copy Markdown
Member Author

Independent verification of this pin bump, measured locally against this branch (soldr 0.9.47, the same tool/driver pair CI resolves):

  • soldr dylint prepare → rc 0, channel nightly-2026-08-15 (compiler 1.99.0-nightly d453bdd8f), prebuilt driver accepted. That is the Setup soldr step that has been failing on every PR (ci: Dylint setup fails repo-wide — soldr dylint 6.2.0 has no driver for the pinned nightly-2026-05-28 #1818).
  • All 27 dylints/*/Cargo.toml build in release on the new pin: 27/27 rc 0, no source change needed.
  • Snapshot UI suites unchanged by Dylint 6.2.0: ban_raw_fbuild_path, ban_manual_slash_normalize, ban_std_pathbuf, enforce_platform_boundary → test ui ... ok, 0 failed (DYLINT_DRIVER_PATH staged exactly as the workflow does).
  • Full custom-lint pass with 6.2.0: python -m ci.run_dylint --package fbuild-core → rc 0, no violations.
  • ci/check_rust_toolchain_pins.py → rc 0 (NIGHTLY_PIN moved with the libraries).

Duplicate work note: I had built the same 6.2.0 re-pin locally before noticing this PR; abandoned my branch (agent/dylint-driver-6.2.0, deleted) rather than open a second one. Nothing here needs changing.

Merged via the queue into main with commit f4e075d Oct 31, 2026
27 checks passed
zackees added a commit that referenced this pull request Oct 31, 2026
The custom `ban_std_pathbuf` dylint scans test code too, and the new
compile_phases fixture returned `Vec<std::path::PathBuf>`; Dylint Full failed
on it once the 6.2.0 re-pin (#1819) let the lane actually run. Return
`Vec<NormalizedPath>` instead (it implements `AsRef<Path>`, so
`CompileTarget` is unchanged). Behavior identical: the same two tests pass.
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 1, 2026
@zackees
zackees deleted the dylint-6.2.0 branch November 5, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant