Skip to content

OPE-193: Don't crash Session Chat on message.updated without id #482

Closed

Description

@ivanfenenko

A live message.updated event whose info has no id crashes Android Session Chat.

kotlinx.serialization.MissingFieldException: Field 'id' is required for type
'dev.opencode.mobile.data.remote.dto.MessageInfoDto'
at InMemoryMessageStore.applyInfoUpdated
at MessageSync handleEvent message.updated

OPE-181 projects session.usage.updated (and other v2 step/text/reasoning events) into message.updated. When assistantMessageID / messageID is missing, info has no id. iOS already no-ops a failed decode; Android threw.

Remaining:

  • Android applyInfoUpdated no-ops when info.id is missing
  • Do not project usage/step events into message.updated without a message id
  • iOS stays a no-op (parity test)

Docs: docs/features/server-api-v2/plan.md

Branch: feature/ope-181-live-context-followups


Imported from Linear OPE-193. Linear status: Done. Priority: High. Created 2026-08-19. Completed 2026-08-19.
Related: OPE-181.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    bug
    ios
    android
    shared
    priority: high
    ready-for-agent
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidbugiospriority: highready-for-agentshared

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions