Skip to content

Use Tag UIDs in snapshot storage paths - #1521

Open
Eitan Yarmush (EItanya) wants to merge 3 commits into
agent-substrate:mainfrom
kagent-dev:fix/tag-snapshot-uid
Open

Use Tag UIDs in snapshot storage paths#1521
Eitan Yarmush (EItanya) wants to merge 3 commits into
agent-substrate:mainfrom
kagent-dev:fix/tag-snapshot-uid

Conversation

@EItanya

Copy link
Copy Markdown
Collaborator

Fixes #1508

Store tag snapshots at <base>/atespaces/<atespace>/tags/<tag-uid>. Replace in_progress_snapshot_uri with immutable storage_location, so pending and completed tags share UID-based cleanup independent of the source actor or template.

  • Tests pass: race-enabled control API tests and PostgreSQL tag contract tests.
  • Documentation updated.

Lint and code-generation verification also passed.

Derive tag snapshot destinations and cleanup prefixes from the persisted tag UID. Retain an immutable storage location instead of an in-progress URI so failed copies can be collected independently of their source actor and template.

Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Replace the removed in-progress snapshot URI at field 3 and regenerate the protobuf bindings and validation code. Backward compatibility with the previous field is not required.

Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Pause commits the worker release before the watch-fed scheduler cache observes it. Use the existing availability wait before resuming so cache lag cannot produce a spurious no-capacity failure.

Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
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.

Use Tag.metadata.uid as part of the snapshot URI

1 participant