Skip to content

V2 session revert can race with session execution #37751

Description

@PrisonBreakPB

Description

A V2 session can resume or wake its runner while a revert is staged.
This can allow model execution to continue before the revert is committed or cleared.

Plugins

No response

OpenCode version

dev (f557328)

Steps to reproduce

  1. Start a V2 session with an active execution.
  2. Stage a revert for a session message.
  3. Wake or resume the session before committing or clearing the revert.
  4. Observe that the runner may continue while the revert remains staged.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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