Skip to content

Conversation

@danfimov
Copy link
Owner

@danfimov danfimov commented Dec 6, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 6, 2025 19:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds the ability to store and retrieve task execution progress for all PostgreSQL backend implementations (asyncpg, aiopg, psqlpy, and psycopg). The changes include:

  • Adding set_progress() and get_progress() methods to all result backend implementations
  • Updating database schemas to include a progress column
  • Modifying SQL queries to accommodate the new column
  • Adding comprehensive integration tests for the new functionality
  • Updating dependencies to their latest versions
  • Removing unnecessary from __future__ import annotations imports across the codebase

Reviewed changes

Copilot reviewed 16 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
uv.lock Updated multiple dependencies including asyncpg (0.30.0→0.31.0), mypy (1.18.2→1.19.0), polyfactory (2.22.2→3.1.0), and others to their latest versions
tests/integration/test_result_backend.py Added new integration tests for progress tracking functionality
tests/integration/test_schedule_source.py Removed unnecessary imports and cleaned up formatting
tests/integration/test_broker.py Removed conditional type checking imports
src/taskiq_pg/asyncpg/result_backend.py Implemented set_progress and get_progress methods
src/taskiq_pg/asyncpg/queries.py Added progress column to table schema and new SQL queries
src/taskiq_pg/aiopg/result_backend.py Implemented set_progress and get_progress methods
src/taskiq_pg/aiopg/queries.py Added progress column to table schema and new SQL queries
src/taskiq_pg/psqlpy/result_backend.py Implemented set_progress and get_progress methods
src/taskiq_pg/psqlpy/queries.py Added progress column to table schema and new SQL queries
src/taskiq_pg/psycopg/result_backend.py Implemented set_progress and get_progress methods
src/taskiq_pg/psycopg/queries.py Added progress column to table schema and new SQL queries
src/taskiq_pg/psycopg/broker.py Removed conditional imports
src/taskiq_pg/psqlpy/broker.py Removed conditional imports
src/taskiq_pg/_internal/result_backend.py Removed conditional imports

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@danfimov danfimov merged commit 701c1f3 into main Dec 7, 2025
5 checks passed
@danfimov danfimov deleted the add-ability-to-store-progress branch December 7, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant