Skip to content

Replace markdownlint-cli2 with rumdl#126

Merged
graysurf merged 3 commits intomainfrom
feat/replace-markdown-lint-with-rumdl
Mar 28, 2026
Merged

Replace markdownlint-cli2 with rumdl#126
graysurf merged 3 commits intomainfrom
feat/replace-markdown-lint-with-rumdl

Conversation

@graysurf
Copy link
Copy Markdown
Collaborator

@graysurf graysurf commented Mar 28, 2026

Replace markdownlint-cli2 with rumdl

Summary

Replace the repo's Markdown lint implementation with rumdl while keeping the existing scripts/ci/markdownlint-audit.sh entrypoint and workflow lint flow intact. Because this repo's third-party artifact contract tracks Node tooling through package-lock.json, this migration also pins rumdl as a root dev dependency instead of relying on an untracked ad-hoc npx download.

The PR also stabilizes third-party artifact generation across macOS/Linux runners. The initial THIRD_PARTY_LICENSES.md refresh was host-dependent because the generator used plain cargo metadata --locked; CI now derives Rust dependencies from the union of supported macOS/Linux --filter-platform metadata so the checked-in artifacts are reproducible on both developer machines and GitHub Actions.

Changes

  • Add .rumdl.toml, delete .markdownlint-cli2.jsonc, and switch markdown audit callers to npx --no-install rumdl check.
  • Add pinned [email protected] to package.json and package-lock.json, then regenerate THIRD_PARTY_LICENSES.md.
  • Generate Rust third-party artifacts from the supported macOS/Linux target union, regenerate THIRD_PARTY_LICENSES.md and THIRD_PARTY_NOTICES.md, and update the artifact contract docs plus regression test coverage.

Testing

  • bash scripts/ci/markdownlint-audit.sh --strict (pass)
  • bash scripts/generate-third-party-artifacts.sh --write (pass)
  • bash tests/third-party-artifacts/generator.test.sh (pass)
  • bash scripts/ci/third-party-artifacts-audit.sh --strict (pass)
  • scripts/local-pre-commit.sh (pass)

Risk / Notes

  • workflows/weather/tests/smoke.sh now uses the same rumdl config path as the shared audit script to keep repo and workflow-specific markdown checks aligned.
  • rumdl is tracked as a root dev dependency so the existing third-party artifact contract can keep deriving Node tool provenance from package-lock.json.
  • The third-party artifact generator now documents its supported target set explicitly; if the repo adds another supported runtime target later, the union list in scripts/generate-third-party-artifacts.sh and the contract docs must be updated together.

- Switch markdown lint config and audit scripts to rumdl.
- Track rumdl in package-lock and third-party licenses.
- Update weather smoke coverage to use the new config.
- Generate Rust dependency artifacts from the supported macOS/Linux target union
- Regenerate third-party license and notice artifacts from the stable input set
- Add regression coverage for the new artifact contract wording
- Regenerate third-party artifacts after rebasing onto the latest origin/main
- Update Cargo.lock fingerprints and rustls-webpki version references to 0.103.10
- Keep PR merge-ref validation aligned with the checked-in artifacts
@graysurf graysurf force-pushed the feat/replace-markdown-lint-with-rumdl branch from c3506e5 to b259f85 Compare March 28, 2026 13:50
@graysurf graysurf marked this pull request as ready for review March 28, 2026 13:58
@graysurf graysurf merged commit 71e104d into main Mar 28, 2026
6 checks passed
@graysurf graysurf deleted the feat/replace-markdown-lint-with-rumdl branch March 28, 2026 13:58
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