Skip to content

[bug] Nightly: composer text and reference draft are missing from the saved assistant session #549

Backlog

Description

@hsliuustc0106

Evidence

Scheduled Nightly #27 on main at 368eb3d34afbf8d79bedc17df84dff2d0b7775d1, GitHub-hosted Linux, Node 24.22.1, Chromium headless shell 145.0.7632.6. browser-extended fails in assistant_sessions.mjs at the “Reference draft must persist” assertion. The same script logged a pass in Nightly #26 browser-extended at f2b105e.

Reproduction from CI

  1. Start the existing Nightly isolated creation service and run node tests/browser/assistant_sessions.mjs via its workflow setup.
  2. Send the initial message in the first conversation and wait for the fixture reply to be persisted as complete.
  3. Fill the composer with the draft, attach the small text reference, and poll the saved conversation before creating a second session.
  • Expected: The first conversation's saved draft contains the unsent text and its assets has one reference.
  • Observed: The saved first conversation contains the completed earlier exchange, but has draft: "", draftContent: null, and assets: [] at timeout. New-session/archive assertions are not reached.

This is distinct from #502/#512 (false success if saving the final reply fails): here the earlier reply was persisted and the later unsent draft was missing. Root cause is not established. Capture the draft/attachment save requests, responses and frontend save ordering before treating it as an application regression or only a browser timing issue. No independent rerun or real provider involved.

Activity

  1. added
    area:ci
    on Nov 28, 2026
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

    area:ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions