Skip to content

Peeking a queue changes its next message #8225

Description

@carloea2

Feature Summary

Keep queue peeking from advancing the round-robin cursor. Scan with a local index so observing a queue does not change the next message returned by get().

Reproduced on main at d27b7b4. The regression in #8226 fails before the proposed change and passes after it.

Proposed Solution or Design

Use a local cursor in peek and leave the cursor used by get unchanged.

Affected Area

Workflow Engine (Amber)

Activity

  1. added theissue type on Aug 31, 2026
  2. changed the issue type fromtoon Aug 31, 2026
  3. carloea2 commented on Sep 5, 2026

    @carloea2
    ContributorAuthor

    /take

  4. added a commit that references this issue on Nov 11, 2026
    a0ab2dc
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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions