Repository navigation
fix(roadmap): read only the last comment as the job record - #2630
Merged
Merged
Conversation
… 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.
Owner
Author
|
|
dan-petty
marked this pull request as ready for review
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
split_recordreads 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 anhtml_blockthat 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