Skip to content

Re-vendor reply verification fails on a record without text #4955

Closed

Description

@leaf-agent

The retained diagnostic is KeyError: text. The current test reads events_model.read_events(page_dir)[-1]["text"] after reload. Its focused current-main run passes, so the older failure is not yet resolved or reproduced here. Distinguish delivery of the reply from a later read/claim event by controlling the append order; establish the failing record’s kind before changing the assertion. Preserve the unsent draft, deferred reload and actual sent reply.

tests/browser/drafts/test_revisions.py::test_a_re_vendor_waits_for_the_reply_being_written

This is an unresolved brief from the retained recovery report, not a claim of a current deterministic regression. That report names the original run and diagnostic. The focused passing run here used main 792abf43c9ae36b0edfefcff300dc61fed4fe5a6. No causal repair has been established for this brief; it must not be silently retired on that pass alone.

This issue hands the remaining engineering investigation to its triage worker: reconcile newer fixes and active work, distinguish the remaining explanations, and take any reproduced repair through normal review and landing. If a verified later change already repairs the old failure, record the evidence and close this issue.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Opened #5022 to verify the sent reply by its thread rather than by its position at the end of the log. Appending an admitted seen record after delivery reproduces the old KeyError: 'text'; the corrected focused browser test passes, retaining the exact draft, focus and deferred-reload checks. The historical log does not expose its final record's kind, so I have not attributed that record to seen.

    The fix is pushed as a1f752eec062dff2665201af7d91238df6406b92; Ruff and formatting checks pass. Review and CI remain with the queued review and landing workflows 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