Skip to content

fix(roadmap): read only the last comment as the job record - #2630

Merged
dan-petty merged 2 commits into
mainfrom
fix/2538-record-block-code-span
Oct 29, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/2538-record-block-code-span

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

What

split_record reads only the comment at the end of the issue body as the job record. It parses the body with markdown-it-py. The last block must be an html_block that holds the record comment.

Why

The old regular expression matched the record format anywhere in the body. A quote of the format in a code span or a code block read as the record, gave a warning, and the next write of the record deleted the quote. A comment in the middle of the body was taken as the record too.

A quote in a code span, a fenced code block or an indented code block now stays in the body, reads as no record and gives no warning. The removal of every regular-expression match is deleted.

Closes #2538

… record

split_record found the record block with a regular expression anywhere in the
body, so a quote of the format in a code span or a code block read as the
record and the next write deleted it. It now parses the body with
markdown-it-py and takes only the last block, when it is the record comment.
@dan-petty

Copy link
Copy Markdown
Owner Author

devops ci fail-to-pass --base origin/main: 10 new tests failed on the base tree and pass on this branch (tests/test_roadmap_store_contract.py, 87 tests in the file).

@dan-petty dan-petty changed the title fix(roadmap): read only the comment at the end of the body as the job record fix(roadmap): read only the last comment as the job record Oct 29, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 12:51
@dan-petty
dan-petty merged commit a3eb41f into main Oct 29, 2026
18 of 19 checks passed
@dan-petty
dan-petty deleted the fix/2538-record-block-code-span branch October 29, 2026 12:51
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.16.0](v0.15.1...v0.16.0)
(2026-10-29)


### Features

* **service:** the Service keeps one model call in flight by default
([#2627](#2627))
([3fdafbd](3fdafbd))


### Bug Fixes

* **config:** remove the dead cloudflare.access settings
([#2632](#2632))
([dde2f55](dde2f55))
* **roadmap:** read only the last comment as the job record
([#2630](#2630))
([a3eb41f](a3eb41f)),
closes [#2538](#2538)
* **service:** check the GitHub budget for each request
([#2631](#2631))
([99066e7](99066e7))
* **telemetry:** enable remote write 2.0 for created timestamps
([#2629](#2629))
([e84a643](e84a643)),
closes [#2506](#2506)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.

fix(roadmap): the job record reader takes a record block quoted in a code span as the record, and the next write deletes the quote

1 participant