Stability fixes phases 1-4: errors, I/O sync, connection loss, quorum#109
Open
bafgion wants to merge 17 commits into
Open
Stability fixes phases 1-4: errors, I/O sync, connection loss, quorum#109bafgion wants to merge 17 commits into
bafgion wants to merge 17 commits into
Conversation
Eliminate busy-wait in event loops, add AMQP heartbeats on Windows, fix BasicCancel/BasicReject/BasicPublish, add BatchPublish and GetQueueMessageCount, and add CI with Linux/Windows tests. Co-authored-by: Cursor <cursoragent@cursor.com>
…essageCount. Store callback state in member fields instead of stack references, and align pytest with optional BasicReject and queue count semantics. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove duplicate ci.yml, upload build artifacts on fork instead of releases, and stabilize BasicConsume after BatchPublish. Co-authored-by: Cursor <cursoragent@cursor.com>
Deactivate confirm and consume handlers after each loop so BatchPublish cannot interrupt BasicConsume in CI. Co-authored-by: Cursor <cursoragent@cursor.com>
…als. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove fork-only artifact upload and repository gate on the release step. Co-authored-by: Cursor <cursoragent@cursor.com>
…e permissions. Co-authored-by: Cursor <cursoragent@cursor.com>
…event loop. Co-authored-by: Cursor <cursoragent@cursor.com>
…umer cleanup on clear. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jun 24, 2026
…itHub. Co-authored-by: Cursor <cursoragent@cursor.com>
…inux I/O sync. Fixes repeat BasicPublish after NOT_FOUND, reconnect races, frame size exceeded on Linux, and adds regression tests. Bump CI version to 2.6.0. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jun 25, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Комплексные исправления стабильности и API (фазы 1–4, v2.3→v2.6). Протестировано в форке: CI Entry (28 матриц Linux/Windows), релизы v2.4.0.11 / v2.5.0.15 / v2.6.0.17.
Закрываемые issues (27): #12, #15, #24, #26, #49, #51, #54, #58, #64, #65, #77, #79, #82, #83, #88, #89, #90, #93, #94, #95, #98, #99, #100, #101, #103, #104, #105 + метод
BatchPublish(#106).Базовые улучшения (v2.3)
requeue.message.size()), большие сообщения (#103, #104).Фаза 1 — ошибки без падений (v2.4)
mandatory, returned messages (#12).Ложь+GetLastErrorвместо исключений (#54, #98).Фаза 2 — стабильность и I/O (v2.4)
ioMutex/withIoLock) (#51, #103, #104).clear()(#95, #79, #94).Фаза 3 — обрыв связи (v2.5)
notifyLost), разблокировкаloop(), ошибка в BasicConsumeMessage (#88).Фаза 4 — v2.6
global, per-consumer приselectSize > 0(#90).LoopCallbackGuardпосле AMQP timeout — соединение не помечается потерянным (#77).Ложь+GetLastError(#93, #98).ioMutexвокругTcpConnection::process()(#51).debian:bullseye-slim(glibc 2.31) наubuntu-22.04runner (#100).NOT_FOUND(#79, #65, #12).Не входит в PR (enhancement / вопросы)
#1, #4, #10, #20, #23, #46, #70, #75 — новый API; #5, #18, #39, #44, #66, #68, #78, #81, #84, #87, #92 — требуют уточнения или документации.
Test plan
debian:bullseye-slim+ Windows, 28 платформ 1С)debian:bullseye-slim/ubuntu:20.04— сборка и pytest локальноFork
Разработка и релизы: bafgion/PinkRabbitMQ · CHANGELOG