Skip to content

fix(roadmap): a record write keeps job blocks readable #6799

Closed

Description

@dan-petty

Problem

The test job of main fails since 9dfe03e (#6794, #6736). Two tests of tests/roadmap/refine/test_roadmap_refine_block_markers.py fail in shard 5 of "Tests & Coverage" (run 45069872720):

FAILED ...::test_a_block_that_a_person_opens_above_the_section_leaves_one_section_over_three_rounds[fence]
FAILED ...::test_a_block_that_a_person_opens_above_the_section_leaves_one_section_over_three_rounds[pre]
2 failed, 5566 passed, 5 skipped

#6792 (#6729) makes closed_body in src/devops_cli/roadmap/stores/store.py close a block that the body leaves open at its end, before the record. #6794 (#6736) makes the readers end such an open block at the job blocks at its end. Each PR passed alone. Together, a record write closes the open block of a person after the job block. The job block is then a quote in a closed block, and the next refine round adds a second section. The review of #6794 found this conflict before the merge (#6794 (comment)). The two PRs merged in an order that did not rebase #6794 onto #6792.

Expected

A record write keeps each job block readable: closed_body closes each block open before a job block marker (close_blocks_before_markers, #6736), then the block open at the end. The test job of main passes.

Acceptance criteria

  • The two failing tests pass.
  • Test first: with_record on a body with a job block inside an open fence or <pre> of a person gives a body where job_block_bounds finds the job block. The test fails on the base.

Dependencies

None. Related: #6729, #6736.

Activity

  1. dan-petty commented on Nov 22, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. The test job of main is failing, which is a CI failure. The failed run 45069872720 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.
    • Related: fix(roadmap): every job block reader uses one marker rule #6736, which asks for a different change. Both touch job block markers in store.py, but #6736 fixes the reader rule while the candidate fixes the writer to call close_blocks_before_markers before closing the trailing block.
  2. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    effort/low
    value/high
    priority/p1-high
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 22, 2026
  3. removed
    status/in-review
    owner/agent
    on Nov 22, 2026
  4. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor
  5. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-22 23:15 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p1-highscope/roadmapsource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions