Tech-debt: pre-existing repo-wide ruff errors + non-hermetic systemd test #5
Labels
No labels
correctness
coverage
milestone:M4
polish
security
tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/warden#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
~11 pre-existing
ruff check srcerrors in files the mesh milestones didn't touch (e.g.detectors/cert_expiry.pyUP037, anS110inengine.emit, RUF100s) — sweep in one pass.Also
tests/test_systemd_detector.py::test_no_run_capability_is_skippedfails on any host WITH systemd (shells tosystemctl) — the one baseline failure throughout M1-M3. Make it hermetic (inject the runner) or skip when host systemd is present.Fixed in v0.18.0 (commit
dadf719). Repo-wideruff check srcis now clean (S110 sites got real log lines or a justified noqa with rationale); the systemd baseline test is hermetic (injects the command runner) so the full suite is 0 failures.