Skip to content

A concurrent Telegram link is reported as a malformed link-code response #765

Open

Description

@lumenpearson

Deferred review finding

GetMe reports unlinked. Before CreateLinkCode completes, the family uses an existing code in Telegram. The contract permits a successful CreateLinkCode response without link_code because the phone is now linked. Both new bindings call withLinkCode and throw instead. The Telegram card may show a check failure and its prior code until a manual refresh.

Source a86f0ce: MeMappings.kt12 and me.proto199. The independent reviewer graded this Minor. Executor triage retains Minor: the actual server link is correct, another identity is not modified, and the existing refresh action recovers. The temporary misleading status remains a real defect. No new behavioral regression has run.

Future acceptance

  • REST/Connect/gRPC tests cover unlinked → absent link_code → linked.
  • A bounded same-owner GetMe reconciles the completed link.
  • A present but malformed code object still fails; ownership/cancellation and full affected gates remain green.

Deferred under the approved single corrective-pass procedure; no second reviewer or unrelated polish wave. Parent programme #273 remains open. Related batch #746 and working PR #757.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Now

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions