Skip to content

ci: add LIP status consistency check#114

Open
rickstaa wants to merge 2 commits into
masterfrom
ci/lip-status-check
Open

ci: add LIP status consistency check#114
rickstaa wants to merge 2 commits into
masterfrom
ci/lip-status-check

Conversation

@rickstaa

@rickstaa rickstaa commented Jun 27, 2026

Copy link
Copy Markdown
Member

Part of #112.

Adds a CI check that fails when a LIP's status disagrees between its file frontmatter (LIPs/LIP-N.md) and the README index table — the exact half-update that slipped through in #108. It also flags unknown statuses, orphaned rows/files, and stray whitespace in a status: value.

  • scripts/check-lip-status.mjs — zero-dependency Node script.
  • .github/workflows/lip-status-check.yml — runs on PRs touching LIPs/README and on push to master.

Recommend enabling it as a required status check in branch protection.

Note

This PR's own check is expected to be red until #113 merges, because master currently has 6 pre-existing status mismatches — that red is the gate doing its job. Once #113 lands, rebase this branch and it goes green.

Adds a check that fails when a LIP's status disagrees between its file
frontmatter (LIPs/LIP-N.md) and the README index table, or when a status
is unknown, a row/file is orphaned, or a status value has stray whitespace.
This is the gate that would have caught the half-updated status in #108.

Recommended to enable as a required status check in branch protection.

Refs #112.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011c4cuAi1T5yQ7WtCbMp3DW
- actions/checkout v4 -> v7, actions/setup-node v4 -> v6, Node 20 -> 24
  (latest stable; no breaking changes for a plain checkout on ubuntu-latest).
- Document that the allowed-status set is intentionally hardcoded with LIP-1
  as the source of truth.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011c4cuAi1T5yQ7WtCbMp3DW
@rickstaa rickstaa requested a review from dob June 27, 2026 12:56
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