Repository navigation
fix(harness-ops): parse the changelog's current release headings - #10312
Conversation
The changelog page now marks each release with a `**X.Y.Z**` line instead of an `<Update label=...>` block, so changelog-status.sh reported `range: not computed` and status, diff and apply had no range. One parser, plugins/harness-ops/scripts/changelog-releases.sh, reads both release-marker forms and emits release and item rows; changelog-status.sh, the behavior-probes recheck and the fetch action's slice (--blocks) all use it. read-actions.md now points at the live page with an as-of date and a recheck trigger instead of restating its markup. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b5cd9a9b73
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-review reviewed No findings. I read the full diff ( What I checked by reading:
No Minor, not flagged: if the parser script were missing, the status script would report "no release markers parsed", which would misattribute the cause. That is an unlikely edge. |
|
claude-security-review reviewed Security review of PR #10312 at b5cd9a9: no security issues found. critical-findings: 0
|
No related issue: the changelog page's release markup changed; found while building #10195
Summary
The Claude Code changelog page now marks each release with a line that is only
**X.Y.Z**, followed by a date line, optional bold group headings (**Added**,**6 improvements**,**14 bug fixes**) and*bullets; no<Update label=...>block remains on the page.changelog-status.shparsed only<Update label=blocks, so it reportedrange: not computed (no <Update label=...> release blocks parsed ...), which left/harness-ops:changelogstatus,diffandapplywithout a range and would stop the daily release-issue workflow in #10195.Fix
plugins/harness-ops/scripts/changelog-releases.sh: the one parser of the page's release markup. It accepts both release-marker forms (<Update label="X.Y.Z">and a line that is only**X.Y.Z**), ends a release at</Update>, the next marker or end of input, counts only*/-bullets as items (bold group headings are not items), and emitsreleaseanditemrows;--blocks <A..B|X>prints the raw lines of those releases.changelog-status.shtakes its releases,latestand item counts from those rows; its output keys are unchanged, and the parse-failure message now readsno release markers parsed.recheck(probe.py changelog_items) reads items through the same parser, so item ids keep the<version>-<ordinal>form for both formats.context/read-actions.mdno longer restates the page's markup: it points at the live page with an as-of date (2026-10-26) and a recheck trigger, and slices releases withchangelog-releases.sh --blocksinstead of an<Update>-bound awk range.SKILL.mdanddecisions.mdsay "release" rather than "release block".skills/changelog/evals/fixtures/changelog-current.md: a trimmed excerpt of the live page (the prelude, 2.1.310, 2.1.308, 0.2.26, 0.2.21), with amarkdownlint-disable MD004 MD022comment on top so the upstream bytes stay as fetched.probe.test.sh'stest-scopenow names the parser, so a parser-only change still runs the recheck tests.Verification
5 of 83 assertions failed: latest, the 2.1.308..2.1.310 range with 25 core items, release order, the end-of-file release, a cross-era range) andtest_probe.RecheckTests.test_current_release_headings_give_the_same_idsfailed with[]items. After it,changelog-status.test.shpasses all 86 assertions andtest_probe.pyruns 34 tests, all OK. The old-format cases keep their inputs and expected values, except the no-release-markers case, whose expected message text was reworded with the script. The three--blocksslice assertions (Case 15) were written after the parser existed, so they are coverage, not fail-before tests.**6 improvements**,**14 bug fixes**(26 bullets), less 2[VSCode]lines. Over the whole live copy, every one of 225 grouped headings' counts equals the bullets under it, so the fetched page was complete.latest: 2.1.310,range: 2.1.299..2.1.310 (12 releases, 604 core items),cap: exceeded. Until the ledger marker is reset, feat(lanes): file one issue per new Claude Code release from a scheduled check #10195's first live run will file only the beyond-the-cap issue, not one issue per release.scripts/run-plugin-tests.shover all 48 harness-ops suites passed (one optional Windows-only skip); the selector's other picks (evals-fixtures.test.sh,check-summary-reader-parity.test.sh) pass. shellcheck, shfmt and the pinned ruff check and format are clean.scripts/claude-code-release-issues.test.sh, run against this branch'schangelog-status.sh: 55 pass, 2 fail. Both failures are its "markup moved" case, whose fixture uses the**2.1.298**form that this PR makes parseable. With that fixture changed to an unparseable form (## 2.1.298), all 57 pass.Related
🤖 Generated with Claude Code