Skip to content

ci: lint staslib, which the linters never looked at - #509

Merged
martin-belanger merged 1 commit into
linux-nvme:mainfrom
martin-belanger:ci-lint-staslib
Sep 1, 2026
Merged

ci: lint staslib, which the linters never looked at#509
martin-belanger merged 1 commit into
linux-nvme:mainfrom
martin-belanger:ci-lint-staslib

Conversation

@martin-belanger

Copy link
Copy Markdown
Collaborator

The Ruff steps name .build/stacctl, .build/stacd, .build/stafctl, .build/stafd and .build/staslib, but .build is the first line of .gitignore. Ruff honours it while traversing a directory, so .build/staslib expanded to nothing; the four scripts were checked only because an explicit file path bypasses the filter. Four files linted where there should have been twenty.

--no-respect-gitignore is what test/meson.build already passes, which is why "meson test" has been catching things CI does not. The library is clean under both check and format, so this puts sixteen more files under the linters without changing any of them.

The Ruff steps name .build/stacctl, .build/stacd, .build/stafctl,
.build/stafd and .build/staslib, but .build is the first line of
.gitignore. Ruff honours it while traversing a directory, so
.build/staslib expanded to nothing; the four scripts were checked only
because an explicit file path bypasses the filter. Four files linted
where there should have been twenty.

--no-respect-gitignore is what test/meson.build already passes, which
is why "meson test" has been catching things CI does not. The library
is clean under both check and format, so this puts sixteen more files
under the linters without changing any of them.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.68%. Comparing base (05858e3) to head (b27ba79).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #509   +/-   ##
=======================================
  Coverage   67.68%   67.68%           
=======================================
  Files          16       16           
  Lines        2726     2726           
=======================================
  Hits         1845     1845           
  Misses        881      881           

☔ View full report in Codecov by Harness.
📢 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.

@martin-belanger
martin-belanger merged commit d43d013 into linux-nvme:main Sep 1, 2026
11 checks passed
@martin-belanger
martin-belanger deleted the ci-lint-staslib branch September 1, 2026 18:05
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.

1 participant