Commit 2a801c9
refactor(BA-5982): finish typed-ID propagation in deployment domain
Three sites in the deployment repository / db_source that still
declared collection-shaped IDs as plain ``uuid.UUID`` were missed by
the prior sed sweep (which only matched bare ``: uuid.UUID``):
- ``DeploymentRepository.update_endpoint_lifecycle_bulk`` and the
paired ``DeploymentDBSource.update_endpoint_lifecycle_bulk``:
``endpoint_ids: list[uuid.UUID]`` → ``list[DeploymentID]``.
- ``DeploymentDBSource._get_last_deployment_histories_by_category``:
``deployment_ids: Sequence[uuid.UUID]`` → ``Sequence[DeploymentID]``,
return ``dict[uuid.UUID, ...]`` → ``dict[DeploymentID, ...]``. The
internal comprehension wraps ``row.deployment_id`` (still a plain
``uuid.UUID`` on ``DeploymentHistoryRow``) into ``DeploymentID`` at
the row→dict boundary so the public dict key matches the typed
contract.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7f41f2b commit 2a801c9
2 files changed
Lines changed: 5 additions & 5 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
| 687 | + | |
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| |||
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
760 | | - | |
| 760 | + | |
761 | 761 | | |
762 | 762 | | |
763 | | - | |
| 763 | + | |
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
| 783 | + | |
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments