Remove the obsolete dylint-link preinstall workaround - #87
Conversation
The CI lint step preinstalled `dylint-link@6.0.1` to work around whitaker-installer 0.2.6, whose broken `dylint-link` verification forced a source-build fallback that could not compile on this repository's pinned toolchain. Installer 0.2.7 (leynos/whitaker#299) trusts the verified repository artefact and installs `dylint-link` from the release directly, so the preinstall — and its stale 0.2.6 comment — are no longer needed.
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughUpdate the CI bootstrap to detect ChangesWhitaker CI installation
Possibly related PRs
Poem
Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error, 1 warning)
✅ Passed checks (18 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
This branch removes a CI workaround that is no longer needed now that the Whitaker installer is pinned to
0.2.7.The lint step preinstalled
dylint-link@6.0.1viacargo binstallso the installer would detect the tool onPATHand skip installing it. That existed because installer 0.2.6 verifieddylint-linkby executing it as a--helphealth check; the probe failed (dylint-linkis a linker wrapper with no reliable self-reporting subcommand), and verification fell back to a source build ofdylint-link6.0.1, which cannot compile on this repository's pinned toolchain. Installer 0.2.7 (leynos/whitaker#299) trusts the download, checksum, extraction, and permission pipeline instead of executing the wrapper, so it installsdylint-linkfrom the verified repository release directly. The preinstall, and its stale 0.2.6 comment, are now dead weight.Changes
dylint-link@6.0.1preinstall block and its comment from the "Install the Whitaker Dylint suite" step in .github/workflows/ci.yml.Validation
dylint-linkfrom the repository release without the preinstall, as already proven on the estate under 0.2.7.Notes
No Rust toolchain pin is changed and the Whitaker lint gate is not weakened.