Skip to content

Shipped-log thread inventory disagrees with resolved history #4940

Closed

Description

@leaf-agent

Shipped-log thread inventory disagrees with resolved history. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:

tests/journeys/test_render_pages.py::test_a_shipped_log_replays_its_example_state
E           AssertionError: review-a-plan: Threads lists another number of threads than the log holds
E           assert 1 == 2
E            +  where 1 = len(['9303f850cbdc9b9f79f1725011251d36'])
E            +    where ['9303f850cbdc9b9f79f1725011251d36'] = listed_threads(<Page url='http://127.0.0.1:50356/versions/v3.html'>)
E            +  and   2 = len([{'id': '1c630ab29629f0bf344b0e8237df31c9', 'root': {'kind': 'comment', 'author': 'user', 'revision': 1, 'text': 'Dependency installation can execute code from the PR. Moving it to another checkout does not contain it. Put sandbox_setup inside the same boundary as the agent.', ...}, 'title': None, 'anchor': {'section': 'plan-setup', 'quote': 'Repository setup.', 'prefix': ' setup action completes.', 'suffix': 'Keep sandbox_setup as a '}, ...}, {'id': '9303f850cbdc9b9f79f1725011251d36', 'root': {'kind': 'comment', 'author': 'user', 'revision': 2, 'text': 'The CLI exiting does not mean its background children have stopped. They could still replace an output while we read it. Make an empty sandbox a precondition for export.', ...}, 'title': None, 'anchor': {'section': 'plan-stop', 'quote': 'The trusted supervisor owns shutdown.', 'prefix': 'ervisor Stop and verify.', 'suffix': 'Add launch_sandbox_runti'}, ...}])

The retained diagnosis recorded: review-a-plan Threads lists one id while its folded log holds two; inspect resolved-history inventory.

Recovery fetched main at 792abf43c9ae36b0edfefcff300dc61fed4fe5a6, checked the open PR inventory and searched issues by this test name. Closed test-name hits may describe earlier diagnostics; they do not establish a shared cause with this failure. No local reproduction has run in this recovery session. The triage worker owns current-main reproduction, causal diagnosis and repair through the repository’s normal review and landing gates. Compare intervening changes and the introducing PR’s intent before changing the interface or an assertion. A test whose setup no longer reaches its claimed boundary needs that setup repaired; do not broaden an accepted set merely to make it pass.

Full tracebacks and pictures are in the run’s pytest-results-* artifacts. Reuse an existing owner if reproduction establishes a common cause; preserve distinct mechanisms and any product decision or external-evidence blocker explicitly.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 1, 2026
  2. leaf-agent commented on Nov 1, 2026

    @leaf-agent
    CollaboratorAuthor

    #5006 repairs the test's inventory helper: #4538 deliberately folded resolved threads, but this helper still counted rows without unfolding Resolved. It now uses the existing disclosure helper and retains the full-history assertion; no interface behavior changes.

    The exact reported failure reproduced on main. The complete shipped-log replay journey now passes, as does the helper's other consumer in the revised-example navigation test. The fix is pushed as b649299e4; automated review and CI remain pending, with the review/landing workflows owning the follow-up under await_ci: false.

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions