Skip to content

feat(migrations): add revision for task version column and task_events table - #1249

Open
mykytanetipa wants to merge 1 commit into
multiserver/samplefrom
multiserver/migration
Open

mykytanetipa wants to merge 1 commit into
multiserver/samplefrom
multiserver/migration

Conversation

@mykytanetipa

@mykytanetipa mykytanetipa commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Adds the Alembic revision that creates the schema the cluster stores need. #1244 adds it to the models, which affects deployments that rely on SDKs DB task store implementation;

Key changes:

  • Revision b5e3d1c8a2f7 (revises 38ce57e08137).
  • Adds the version column to the tasks table and gives existing rows a starting value, so tasks already in flight at upgrade time can still be updated afterwards.
  • Creates the task_events table with an index on task_id.

Tested:

Design discussion: #1224

@mykytanetipa
mykytanetipa added this pull request to stack #1246 September 17, 2026 08:58
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

🧪 Code Coverage (vs multiserver/sample)

⬇️ Download Full Report

Base PR Delta
src/a2a/server/agent_execution/active_task.py 94.18% 94.63% 🟢 +0.45%
src/a2a/migrations/versions/b5e3d1c8a2f7_add_task_version_and_task_events.py (new) 75.00%
Total 92.85% 92.81% 🔴 -0.05%

Generated by coverage-comment.yml

@mykytanetipa
mykytanetipa marked this pull request as ready for review September 17, 2026 10:52
@mykytanetipa
mykytanetipa requested a review from a team as a code owner September 17, 2026 10:52

This branch has not been deployed

No deployments
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