Repository navigation
ci: fix #544 — track and refresh markdownlint - #592
pithead-reviewer[bot] merged 4 commits into
Conversation
|
PASS What I investigatedReviewed all six changed files against #544: refresh markdownlint, validate it with the lint gate, and add npm currency monitoring with failure reporting. The current head satisfies that scope; GitHub checks and independently reproduced regression evidence pass.
Reviewed head: |
…d-refresh-the-unwatched-markdown # Conflicts: # tests/README.md
|
PASS What I investigatedReviewed PR #592 at head e376325 against #544 (refresh the markdownlint-cli2 pin and validate it with the lint gate; add currency monitoring for the npm pin that treats a failed lookup as unchecked). All three are delivered; the eight GitHub checks are green at the head; the new regression runs the watcher's real code, and it goes red with the fix reverted and under two targeted mutations.
Reviewed head: |
Owner brief for
|
What's the problem
Closes #544
The Markdown linter was pinned to 0.22.1 and absent from the weekly tool watcher, so npm releases could go unnoticed.
How I fixed it
Pin markdownlint-cli2 to 0.23.3 and supply Node 22 in CI. Extend the existing watcher to compare the Makefile pin with npm, strictly validate the complete version and count failed lookups as unchecked. Register offline regressions and correct contributor/testing guidance. Incorporate develop and follow the current edited-hunk comment policy.
Correct the returned lint failure by formatting
tests/run.sh:3729and nine equivalent subshell closures with CI's pinned shfmt 3.14.1. The previous local check used 3.13.1 and incorrectly removed required spaces. The correction is whitespace-only;git diff -wbefore committing was empty.Here is the proof
Head:
e37632506476c3432981591cd358e8ed5cc99e82.3d884f389de1dffb33d45cb0b94889610d83992fshows shfmt 3.14.1 rejecting ten subshell closures intests/run.sh, starting at line 3729. With a checksum-verified shfmt 3.14.1,shfmt -i 4 -d tests/run.shreturned exit 1 before correction. Aftershfmt -i 4 -w tests/run.sh,shfmt -i 4 -d tests/run.sh tests/test-tool-pin-watch.shreturned exit 0. This supersedes the earlier unversioned formatter claim.make lint SHELL_FILES="tests/run.sh tests/test-tool-pin-watch.sh"— PASS: changed-file ShellCheck and formatting, plus topology and file-budget gates and their self-tests.FILE_BUDGET_REQUIRE_BASE=1 bash scripts/lint-file-budget.shandgit diff --check— PASS./bin/bash tests/test-tool-pin-watch.sh— PASS, nine cases covering current/stale pins, failed/malformed/missing/multiline/prefixed/injected responses and a changed Makefile pin. Negative control with theorigin/developwatcher returns exit 1,FAIL: npm current response, because the npm row is absent.make lint-md— PASS with markdownlint-cli2 0.23.3, zero issues.uv run --no-project --with yamllint==1.38.0 make lint-yamlandmake lint-actions— PASS before the whitespace-only correction.This draft closes only #544. Independent runner review and fresh formal owner approval on the final head remain required before merge.