Skip to content

Complete finding resolution when stdout cannot encode the title #1503

Done

Description

@eowca

Reproducer

On a68ef3b1, use the fake GitHub scenario from test_resolve_lists_then_replies_and_resolves_one_finding. Set the finding title to Zażółć, configure successful reply and resolution responses, then run loopzero resolve 0b9b59e7 "Fixed." with strict ASCII stdout. A Python TextIOWrapper with encoding="ascii" around the CLI call reproduces this using the existing fixture.

Observed. GitHub receives the reply and resolution mutations. Printing the confirmation raises an encoding error, the CLI exits 1, and the eligibility workflow dispatch is skipped.

Expected. Resolve completes its follow-up and gives a readable confirmation using characters the output stream supports.

Acceptance

  • With strict ASCII stdout and a Unicode finding title or path, listing succeeds and resolution sends the reply, thread resolution, and eligibility dispatch in the same order as the existing success case.
  • Preserve the full title on UTF-8 output and leave the GitHub data intact.
  • Cover this by reusing existing resolve cases with zero net new test lines.

Activity

  1. eowca commented on Nov 26, 2026

    @eowca
    ContributorAuthor

    Parked: replacement #1565 (full check passed, approval inherited) now conflicts with #1580 in the resolve code and tests; resolving needs a delta review across a base merge, which the CLI refuses today (#1240, fix in #1259). Resumes when #1259 merges.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions