Skip to content

The release note that documents a green deploy is what turned main red - #1018

Merged
rbuergi merged 1 commit into
mainfrom
fix/whatsnew-frontmatter-order
Aug 9, 2026
Merged

rbuergi merged 1 commit into
mainfrom
fix/whatsnew-frontmatter-order

Conversation

@rbuergi

@rbuergi rbuergi commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Main is red at fd277b36f on WhatsNewEntryIntegrityTest.EveryEntry_CarriesTheFrontmatterTheFeedRendersFrom (shard 4). This is the fix.

What happened

2026-08-09-check-a-deployment-is-current.md, the release note for #956, shipped with Category: What's New and no Order. The integrity test requires Category to be Feature or Fix, and Order to be the negative ship date (-20260809) — without which the doc tree sorts the entry alphabetically by title instead of newest-first.

The timing is the whole point: a What's New entry does not meet this test until it has already merged. The PR that adds one is green, and main goes red on the merge commit. So this failure mode always lands on main, never on the PR that caused it.

The entry now matches its five siblings from today.

The generator, not just the instance

The pullrequest skill contradicted itself. Its procedure block (step 0.5) had been updated for the current contract — Category: <Feature|Fix>, Order: -${DATE//-/}. Its prose section further down still said:

Front-matter: Name, Category: What's New, Description, Icon

No Order at all, and a Category value the test rejects outright. That is the half a reader quotes when hand-writing an entry, which is exactly how this one was written.

Both halves now state the same contract, and the prose names the consequence — a wrong Category or a missing Order reds main, not your PR. Fixing only the entry would have left the next author with the same instructions that produced it.

Verification

Frontmatter now reads Category: Feature / Order: -20260809, matching 2026-08-09-write-conflicts-merge-not-vanish.md and the other four entries from today that pass. Two files, no code.

🤖 Generated with Claude Code

`2026-08-09-check-a-deployment-is-current.md` shipped with `Category: What's
New` and no `Order`. `WhatsNewEntryIntegrityTest` requires `Feature` or `Fix`
and an `Order` of the negative ship date, so main went red the moment #1006
merged — the entry never ran against the test until it was already on main.

The entry is now `Category: Feature`, `Order: -20260809`, matching its five
siblings from today.

The generator was the pullrequest skill contradicting itself. Its procedure
block was updated for the new contract, but the prose section further down
still described `Category: What's New` with no `Order` at all — and that is
the half a reader quotes when writing an entry by hand. Both halves now say
the same thing, and the prose names the consequence: a wrong Category or a
missing Order reds MAIN rather than the PR, because a What's New entry only
meets the test after it has merged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 9, 2026 13:34

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.

Pull request overview

This PR fixes a documentation integrity regression that turned main red after merge by bringing a WhatsNew release note’s frontmatter back into compliance with WhatsNewEntryIntegrityTest and by updating the pullrequest skill text so future entries follow the same enforced contract.

Changes:

  • Update the 2026-08-09 WhatsNew entry frontmatter to use Category: Feature and add Order: -20260809.
  • Align the pullrequest skill’s prose guidance with the enforced frontmatter contract (Category ∈ {Feature, Fix} and required Order).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/MeshWeaver.Documentation/Data/WhatsNew/2026-08-09-check-a-deployment-is-current.md Fixes release note frontmatter so the WhatsNew feed and integrity test expectations match.
.claude/skills/pullrequest/SKILL.md Updates authoring guidance to match the test-enforced WhatsNew frontmatter contract and documents the “main turns red after merge” failure mode.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Test Results (shard 0)

685 tests  ±0   685 ✅ ±0   5m 15s ⏱️ +4s
 10 suites ±0     0 💤 ±0 
 10 files   ±0     0 ❌ ±0 

Results for commit e38ad0c. ± Comparison against base commit fd277b3.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Test Results (shard 4)

1 272 tests  ±0   1 267 ✅ +1   6m 50s ⏱️ -1s
   11 suites ±0       5 💤 ±0 
   11 files   ±0       0 ❌  - 1 

Results for commit e38ad0c. ± Comparison against base commit fd277b3.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Test Results (shard 5)

1 725 tests  ±0   1 533 ✅ ±0   6m 1s ⏱️ +2s
   11 suites ±0     192 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit e38ad0c. ± Comparison against base commit fd277b3.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Test Results (shard 2)

1 898 tests  ±0   1 896 ✅ ±0   6m 24s ⏱️ +2s
   11 suites ±0       2 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit e38ad0c. ± Comparison against base commit fd277b3.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Test Results (shard 1)

1 190 tests  ±0   1 190 ✅ ±0   7m 8s ⏱️ -42s
   11 suites ±0       0 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit e38ad0c. ± Comparison against base commit fd277b3.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Test Results (shard 3)

   11 files  ±0     11 suites  ±0   6m 10s ⏱️ +26s
1 928 tests ±0  1 820 ✅ ±0  108 💤 ±0  0 ❌ ±0 
2 061 runs  ±0  1 953 ✅ ±0  108 💤 ±0  0 ❌ ±0 

Results for commit e38ad0c. ± Comparison against base commit fd277b3.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Test Results

   65 files  ±0     65 suites  ±0   37m 51s ⏱️ -6s
8 698 tests ±0  8 391 ✅ +1  307 💤 ±0  0 ❌  - 1 
8 831 runs  ±0  8 524 ✅ +1  307 💤 ±0  0 ❌  - 1 

Results for commit e38ad0c. ± Comparison against base commit fd277b3.

@rbuergi
rbuergi merged commit dec53d3 into main Aug 9, 2026
17 checks passed
@rbuergi
rbuergi deleted the fix/whatsnew-frontmatter-order branch August 19, 2026 10:32
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.

2 participants