carloea2 opened a new pull request, #8226: URL: https://github.com/apache/texera/pull/8226
### What is this PR for? Scan subqueues with a local index when peeking so observation does not advance the round-robin cursor or alter the next message returned by `get()`. Closes #8225 ### What type of PR is it? Bug Fix ### How was this PR tested? ```text python -c "import sys,pytest; sys.path[:0]=[worktree amber source, main amber source]; raise SystemExit(pytest.main(['amber/src/test/python/core/util/customized_queue/test_linked_blocking_multi_queue.py','amber/src/test/python/core/models/test_internal_queue.py','-q','-p','no:cacheprovider']))" 76 passed, 1 xfailed ruff check amber/src/main/python amber/src/test/python All checks passed ruff format --check amber/src/main/python amber/src/test/python 213 files already formatted ``` A direct post-fix probe confirmed that peek does not change the cursor or the next message: ```text cursor_before_peek=0 peek=second cursor_after_peek=0 next_after_peek=first ``` Generated-by: Codex -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
