[Refactor] SQLAlchemy outbox model.#2
Open
Dioneya wants to merge 30 commits into
Open
Conversation
Owner
Dioneya
commented
Feb 22, 2026
- Implement BinaryUUID for PostgreSQL and MySQL compatibility.
- Make sqlalchemy an optional dependency.
…ng (pypatterns#31) * Added Fallback for saga steps with circuit breaker supporting * Increase version * Upgrade README * Fix pyright problems * Update Saga mermaid generating * Update Saga mermaid generating --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Fix dublicated events emitting * fixes linter errors * fixes linter errors --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Decouple interfaces from pydantic types * Decouple interfaces from pydantic types * Fixes after linter * Fixes after linter * Add coverage and badges * Add coverage and badges * Add coverage and badges * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update Tests action * Update lint stages * Update lint stages * Update lint stages * Update lint stages * Update lint stages * Increase version --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* [BUGFIX] Fix stream mediator bootstrap * Fixes after pre-commit * Fixes after pre-commit --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
…ctorCQRSContainer (pypatterns#40) * Fix bug in future injection * Fixes after pre-commit --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Add CodSpeed performance benchmarking setup - Add pytest-codspeed to dev dependencies - Create benchmarks directory with sample benchmark files - Add GitHub Actions workflow for CodSpeed integration - Add CodSpeed badge to README * Change Pydantic models to dc models * Change Pydantic models to dc models * Change Pydantic models to dc models --------- Co-authored-by: codspeed-hq[bot] <117304815+codspeed-hq[bot]@users.noreply.github.com> Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
Add wizard supporting Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
…vironment variables (pypatterns#44) * Added saga table names variables supporting * Fixes after pre-commit --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Add dataclass_wizard supporting into SagaContext * Fix some problems * Fix some problems --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
Add saga attemptes supporintg Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
…ypatterns#47) Fix fetching saga recovery candidates Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Extend ISagaStorage interface * Extend ISagaStorage interface * Fixes after pre-commit --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Setting project coverage * Add ruff settings * Add ruff settings * Fixes after pre-commit * Fix ruff in CI --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Added new speed banchmarks * Fixes after pre-commit * Separate dataclasses and pydantic banchmarks * Fixes after pre-commit * 📝 Add docstrings to `add-new-banchmarks` (pypatterns#53) Docstrings generation was requested by @vadikko2. * pypatterns#52 (comment) The following files were modified: * `benchmarks/dataclasses/test_benchmark_cor_request_handler.py` * `benchmarks/dataclasses/test_benchmark_event_handling.py` * `benchmarks/dataclasses/test_benchmark_request_handling.py` * `benchmarks/dataclasses/test_benchmark_saga_fallback.py` * `benchmarks/dataclasses/test_benchmark_saga_memory.py` * `benchmarks/dataclasses/test_benchmark_saga_sqlalchemy.py` * `benchmarks/dataclasses/test_benchmark_stream_request_handler.py` * `benchmarks/pydantic/test_benchmark_cor_request_handler.py` * `benchmarks/pydantic/test_benchmark_event_handling.py` * `benchmarks/pydantic/test_benchmark_request_handling.py` * `benchmarks/pydantic/test_benchmark_saga_fallback.py` * `benchmarks/pydantic/test_benchmark_saga_memory.py` * `benchmarks/pydantic/test_benchmark_saga_sqlalchemy.py` * `benchmarks/pydantic/test_benchmark_serialization.py` * `benchmarks/pydantic/test_benchmark_stream_request_handler.py` Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update ci files * move banchmark tests * Try to fix banchmarks * Try to fix banchmarks * Try to fix banchmarks --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Added new speed banchmarks * Fixes after pre-commit * Separate dataclasses and pydantic banchmarks * Fixes after pre-commit * 📝 Add docstrings to `add-new-banchmarks` (pypatterns#53) Docstrings generation was requested by @vadikko2. * pypatterns#52 (comment) The following files were modified: * `benchmarks/dataclasses/test_benchmark_cor_request_handler.py` * `benchmarks/dataclasses/test_benchmark_event_handling.py` * `benchmarks/dataclasses/test_benchmark_request_handling.py` * `benchmarks/dataclasses/test_benchmark_saga_fallback.py` * `benchmarks/dataclasses/test_benchmark_saga_memory.py` * `benchmarks/dataclasses/test_benchmark_saga_sqlalchemy.py` * `benchmarks/dataclasses/test_benchmark_stream_request_handler.py` * `benchmarks/pydantic/test_benchmark_cor_request_handler.py` * `benchmarks/pydantic/test_benchmark_event_handling.py` * `benchmarks/pydantic/test_benchmark_request_handling.py` * `benchmarks/pydantic/test_benchmark_saga_fallback.py` * `benchmarks/pydantic/test_benchmark_saga_memory.py` * `benchmarks/pydantic/test_benchmark_saga_sqlalchemy.py` * `benchmarks/pydantic/test_benchmark_serialization.py` * `benchmarks/pydantic/test_benchmark_stream_request_handler.py` Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update ci files * move banchmark tests * Try to fix banchmarks * Try to fix banchmarks * Try to fix banchmarks * Refactor saga streaming * Fixes after pre-commit * Changes after review --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Add event propagation into event handlers * Fix pyproject.toml * Fix tests.yaml * Fixes after review * Fixes after review * Add ignore codspeed file * Add ignore codspeed file * Fix nitpicks after review * Added new tests for coverage increase * Fixes after pre-commit --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Add saga id for step result * Add saga id for step result * increase version --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
* Try ti reduce saga storage overhead * Increase version * Rename banchmarks * 📝 Add docstrings to `reduce-saga-storage-overhead` (pypatterns#62) * Fixes after review * Fix deadlocks * Fix after pre-commit * fix ruff format * fix after review * fix after review * fix after review * fix after review * fix after review * fix after review * fix after review --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Try ti reduce saga storage overhead * Increase version * Rename banchmarks * 📝 Add docstrings to `reduce-saga-storage-overhead` (pypatterns#62) * Fixes after review * Fix deadlocks * Fix after pre-commit * fix ruff format * fix after review * fix after review * fix after review * fix after review * fix after review * fix after review * fix after review * refactor readme * refactor readme --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Add Fallback for requests and events * fixes after review * add type checking --------- Co-authored-by: Вадим Козыревский <v.kozyrevskiy@timeweb.ru>
…greSQL and MySQL compatibility.
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.