Skip to content

ci: update to rust version of flint#8315

Open
zeitlinger wants to merge 19 commits intoopen-telemetry:mainfrom
zeitlinger:use-rust-flint
Open

ci: update to rust version of flint#8315
zeitlinger wants to merge 19 commits intoopen-telemetry:mainfrom
zeitlinger:use-rust-flint

Conversation

@zeitlinger
Copy link
Copy Markdown
Member

This updates the existing link linting to the current Rust-based flint release.

What changes in this PR:

  • install flint from github:grafana/flint = "0.20.3"
  • replace the old remote lint:links shell task with flint run
  • keep the existing Lychee configuration under .github/config
  • enable check_all_local = true so local links are checked across the repo
  • preserve --full on push and scheduled runs so link checking still scans the full repo outside pull requests

Why this stays small:

  • this repo does not currently carry Markdown lint wiring to migrate here
  • the goal is only to replace the old link-check task with the released Rust flint path

Verification:

  • mise run lint
  • mise run lint --full

@zeitlinger zeitlinger requested a review from a team as a code owner April 22, 2026 06:02
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.31%. Comparing base (df8063b) to head (9281a36).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8315   +/-   ##
=========================================
  Coverage     90.31%   90.31%           
  Complexity     7725     7725           
=========================================
  Files           850      850           
  Lines         23259    23259           
  Branches       2364     2364           
=========================================
  Hits          21007    21007           
  Misses         1528     1528           
  Partials        724      724           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .github/workflows/reusable-lint-check.yml
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger marked this pull request as draft April 23, 2026 18:23
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Comment thread mise.toml Outdated
"pipx:codespell" = "2.4.2"
rumdl = "0.1.83"
shfmt = "3.13.1"
taplo = "0.10.0"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do all these new linters do? Regardless, let's keep this PR focussed on updating to the new version and separate out any change in functionality to separate PRs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that was the idea - a little bit too much slipped through and should be fixed now

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants