The GitHub Actions job "Backport Checks" on 
texera.git/fix/pyamber-priority-queue-order has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
f63db069d5cc616f0e30b7682e5dc05bf1166e2c / Matthew Ball <[email protected]>
fix(pyamber): keep multi-queue priority groups sorted

LinkedBlockingMultiQueue.add_sub_queue walked priority_groups to find the slot 
i where a new group belongs, then appended the group to the end instead of 
inserting it at i, so the list stayed sorted only when sub-queues were 
registered in increasing-priority order. get_next and peek iterate 
priority_groups in list order, so a data channel (priority 1) registered before 
a control channel (priority 0) was served before control. The new group is now 
inserted at i, keeping the list sorted regardless of registration order.

test_linked_blocking_multi_queue adds a case that registers the lower-priority 
queue first and asserts the groups are ordered by priority and that the 
higher-priority item is served first.

Report URL: https://github.com/apache/texera/actions/runs/44835318781

With regards,
GitHub Actions via GitBox

Reply via email to