Skip to content

Add DV for TagStatus + drop unused TagStatus.source_actor_uid field - #1772

Merged
Julian Gutierrez Oschmann (juli4n) merged 3 commits into
agent-substrate:mainfrom
laoj2:tag-cleanups
Sep 23, 2026
Merged

Julian Gutierrez Oschmann (juli4n) merged 3 commits into
agent-substrate:mainfrom
laoj2:tag-cleanups

Conversation

@laoj2

@laoj2 Luiz Oliveira (laoj2) commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

TagStatus.source_actor_uid is unused, we can add this back if we ever need it.

#1168

We were also missing some of the DV for TagStatus fields:

  • Added maxLength=2048 requirement for ExternalSnapshot.snapshot_uri (matching in_progress_snapshot_uri)
  • Added validation for actor_template_uid
  • Added validation for storage_location, matching what we have in SnapshotsConfig.storage_location

@laoj2

Copy link
Copy Markdown
Collaborator Author

Rebased

* Removed maxLength requirement for in_progress_snapshot_uri to match what we have in ExternalSnapshot.snapshot_uri
* Added validation for actor_template_uid
* Added validation for storage_location, matching what we have in SnapshotsConfig.storage_location
worst case is storage_location (≤1024) + /atespaces/ + atespace (DNS-1123 label, ≤63) + /actors/ + UID (36) + /snapshots/ + UUID (36) = 1189.
Tag snapshots are shorter still (no /snapshots/<name> tail)
Merged via the queue into agent-substrate:main with commit ee9aa9c Sep 23, 2026
11 checks passed
@laoj2
Luiz Oliveira (laoj2) deleted the tag-cleanups branch September 23, 2026 14:18
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.

2 participants