Skip to content

fix(a2a): restore session before permission resume - #322

Merged
guima-why merged 1 commit into
mainfrom
codex/fix-a2a-permission-restore-order
Sep 1, 2026
Merged

fix(a2a): restore session before permission resume#322
guima-why merged 1 commit into
mainfrom
codex/fix-a2a-permission-restore-order

Conversation

@guima-why

Copy link
Copy Markdown
Collaborator

Summary

  • restore the persisted session before looking up a permission checkpoint
  • avoid creating an empty local session while the shared backup is unavailable
  • keep the existing AG-UI restore preflight unchanged

Tests

  • uv run pytest -q tests/a2a/test_executor.py
  • uv run pytest -q tests/agui/test_persistence.py -k "restart_restores_interrupt_resume_and_cancel_identity or resume_stops_before_get_task_when_session_backup_is_missing"
  • uv run ruff check src/iac_code/a2a/executor.py tests/a2a/test_executor.py
  • uv run ty check src/

@guima-why
guima-why merged commit 69a39f9 into main Sep 1, 2026
37 of 38 checks passed
@guima-why
guima-why deleted the codex/fix-a2a-permission-restore-order branch September 1, 2026 03:24
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