Skip to content

Flaky: test_countersign checks for '004217' and 'mrn' anywhere in countersigned JSON #1813

Closed

Description

@abrichr

tests/test_countersign.py::test_countersigning_leaves_the_receipt_and_its_seal_untouched searches the whole countersigned JSON for the substrings '004217' and 'mrn'. That JSON contains random base64 (TSA token, signatures), so it fails at random: one run's token contained "mrnJdemr". Fix: decode the receipt and assert on the specific fields, not substrings of the serialized JSON. Found while fixing #1510's CI (shard 1).

Activity

  1. added
    agent-readyReady for an automated agent to pick up
    claimedAn agent is working on this
    and removed on Nov 4, 2026
  2. abrichr commented on Nov 4, 2026

    @abrichr
    MemberAuthor

    Claimed by Codex

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

    agent-readyReady for an automated agent to pick upclaimedAn agent is working on this

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions