mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-06 09:38:33 -05:00
[PR #1413] [MERGED] fix(ci): clear all 8 failing pre-commit hooks on dev #9085
Reference in New Issue
Block a user
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?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1413
Author: @profvjreddi
Created: 4/20/2026
Status: ✅ Merged
Merged: 4/20/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/mitpress-above-below📝 Commits (6)
1e469aefix(content): clear two mitpress-above-below pre-commit failures07f7226fix(check-internal-links): suppress 4 categories of false positives57ec5c5fix(content): repair internal-link rot across 10 files54cd44bchore(pre-commit): exclude 3 forward-looking files from internal-link checker930dfeefix(content): clear codespell, contractions, and vs. pre-commit failures68f3050chore: bibtex-tidy auto-format outputs📊 Changes
23 files changed (+163 additions, -76 deletions)
View changed files
📝
.pre-commit-config.yaml(+4 -1)📝
README/README_ja.md(+8 -8)📝
README/README_ko.md(+8 -8)📝
README/README_zh.md(+8 -8)📝
book/quarto/config/shared/README.md(+1 -1)📝
book/quarto/contents/frontmatter/index.qmd(+1 -1)📝
book/quarto/contents/frontmatter/socratiq/socratiq.qmd(+1 -1)📝
book/quarto/contents/vol1/benchmarking/benchmarking.qmd(+1 -1)📝
book/quarto/contents/vol1/nn_architectures/nn_architectures.qmd(+2 -2)📝
book/quarto/contents/vol1/responsible_engr/responsible_engr.qmd(+1 -1)📝
book/quarto/contents/vol2/backmatter/references.bib(+4 -4)📝
book/quarto/contents/vol2/distributed_training/distributed_training.qmd(+2 -2)📝
book/quarto/contents/vol2/fault_tolerance/fault_tolerance.qmd(+1 -1)📝
book/quarto/contents/vol2/inference/inference.qmd(+1 -1)📝
book/quarto/contents/vol2/network_fabrics/network_fabrics.qmd(+1 -1)📝
book/tools/scripts/README.md(+1 -1)📝
mlsysim/docs/cli-reference.qmd(+1 -1)📝
mlsysim/docs/contributing.qmd(+18 -18)📝
mlsysim/docs/for-engineers.qmd(+1 -1)📝
mlsysim/docs/for-instructors.qmd(+1 -1)...and 3 more files
📄 Description
Summary
Clears every failing pre-commit hook reported on
devafter therelease-prep PRs (#1404–#1411) merged. Restores the
📚 Book · ✅ Validate (Dev)workflow to green and unblocks thepublish guard.
What changed (6 logical commits)
fix(content): clear two mitpress-above-below pre-commit failuresresponsible_engr.qmd,network_fabrics.qmdfix(check-internal-links): suppress 4 categories of false positivesHTTPS://, GitHub-style emoji slugsfix(content): repair internal-link rot across 10 filesmlsysim/docs/contributing.qmd, 6 anchor/path retargetschore(pre-commit): exclude 3 forward-looking files from internal-link checkerlabs/index.qmd,labs/PROTOCOL.md,labs/TEMPLATE.mdfix(content): clear codespell, contractions, and vs. pre-commit failuresvs→vs.chore: bibtex-tidy auto-format outputs.bibfilesHook results
Local
pre-commit run --all-files: 60 Passed, 1 Skipped (no files), 0 Failed.How to review
Each commit is independently revertable. The link-checker software
change (#2) is isolated from the content fixes (#3, #5) so you can
diff-review them separately. The
.pre-commit-config.yamlexclusions(#4) are documented inline so the rationale survives in the config.
Why scope expanded
Original PR was scoped only to
mitpress-above-below. After that hookwent green, the CI surfaced 7 additional pre-existing hook failures.
User explicitly chose
all_fixfor scope; rather than open 7 follow-upPRs and serialize through CI/review, fix is delivered as one cohesive
PR with reviewable commit boundaries.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.