Repository navigation
fix(roadmap): a record write keeps job blocks readable - #6800
Conversation
Advisory review: PR #6800 (issue #6799)Recommendation: fix-minor-first. One minor finding stands: the Lenses and checks that ranThree lenses ran on head
Fail-to-pass
On the base, the round test gives two sections in each round. This agrees with the red main. The new assertion is the same as the assertion of the open-comment test. It is stricter than the old assertion, not looser. The old docstring of the test asked for this change. Standing findings1. Minor: the
2. Nit: a record write now removes the trailing spaces and blank lines of an open block above a job block.
3. Nit: the close uses LF in a CRLF body (this problem was there before the PR).
4. Nit: a stale record can now look like a real record block (this interacts with open issue #6785).
5. Nit: the new unit test does not use
6. Nit: two round tests have the same body.
7. Nit: the workflow document does not mention the new close position.
Fixed after the review (6f8d351)
|
🤖 I have created a release *beep* *boop* --- ## [0.195.3](v0.195.2...v0.195.3) (2026-11-22) ### Bug Fixes * **roadmap:** a record write keeps job blocks readable ([#6800](#6800)) ([b1d4852](b1d4852)) * **roadmap:** every job block reader uses one marker rule ([#6794](#6794)) ([9dfe03e](9dfe03e)), closes [#6736](#6736) --- 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>
The test job of main fails since #6794 merged after #6792.
closed_bodyclosed a block that the body leaves open at its end. The readers of #6736 end such a block at the job blocks at its end. So a record write closed the open block of a person after the refine block, the block became a quote, and the next refine round added a second section.Now
closed_bodyfirst callsclose_blocks_before_markers, so the close goes before the job blocks, where the readers end the open block. Then it closes a block that is still open at the end, as before. A body with no open block keeps its text. The round test of an open fence and an open<pre>now asserts one write that replaces the section in place, as its docstring asked once a round reads the record.Closes #6799
Change:
openspec/changes/archive/2026-11-22-6799-record-write-keeps-job-blocks/