Skip to content

Check staged docs for date footers; say what precheck skips - #2028

Merged
sbryngelson merged 1 commit into
MFlowCode:masterfrom
sbryngelson:review-followups
Oct 11, 2026
Merged

sbryngelson merged 1 commit into
MFlowCode:masterfrom
sbryngelson:review-followups

Conversation

@sbryngelson

Copy link
Copy Markdown
Member

Follow-ups to two review comments on #2027.

  • Date-footer check: a local docs build writes "Page last updated" into every page in the source tree, generated pages included, so the check failed precheck after any docs build. It now reads the staged content of tracked pages, so only a footer about to be committed fails.
  • precheck wording: precheck skips the rendering and Fortran-compile unit tests that CI's toolchain lint runs. .claude/CLAUDE.md and contributing.md now say so instead of calling it the same gate.

Tested: an unstaged footer on a tracked page and a footer on a generated page both pass; a staged footer fails. ./mfc.sh precheck passes.

A local docs build writes 'Page last updated' into every page in the source
tree, generated ones included, so the footer check failed precheck after any
docs build. Read the index of tracked pages instead: only a staged footer
freezes a date.

precheck skips the rendering and Fortran-compile unit tests that CI's
toolchain lint runs, so it is not the same gate. Say so in the index and
contributing.md.
Copilot AI balanced review requested due to automatic review settings October 11, 2026 02:43
@sbryngelson
sbryngelson merged commit 59a8e27 into MFlowCode:master Oct 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T02:47:07.211076Z 0a904cb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Claude Code Review

Head SHA: 0a904cb

Files changed:

  • 3
  • .claude/CLAUDE.md
  • docs/documentation/contributing.md
  • toolchain/mfc/lint_docs.py

Findings:
No issues found. Checked in step 4: toolchain/mfc/lint_docs.py (check_page_date_footers now reads the git index). The docs/documentation/*.md pathspec matches only top-level files in the current tree, and no tracked doc contains the footer string.

@sbryngelson
sbryngelson deleted the review-followups branch October 12, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants