Skip to content

Expose shard snapshot API - #8132

Merged
timvisee merged 5 commits into
devfrom
expose-shard-snapshot-api
Feb 16, 2026
Merged

timvisee merged 5 commits into
devfrom
expose-shard-snapshot-api

Conversation

@generall

Copy link
Copy Markdown
Member

[AI]

generate API description in openapi/openapi-snapshots.ytt.yaml for #[get("/collections/{collection}/shards/{shard}/snapshot")]

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@tests/consensus_tests/auth_tests/test_jwt_access.py`:
- Around line 361-366: Missing test for ACTION_ACCESS key
"stream_shard_snapshot": add a new test function named
test_stream_shard_snapshot that calls the existing helper check_access for the
"stream_shard_snapshot" action; pass path_params with COLL_NAME and SHARD_ID
(same pattern as test_download_shard_snapshot) and place this new test
immediately after test_download_shard_snapshot so test_all_actions_have_tests
will find it.

@generall
generall requested a review from timvisee February 16, 2026 08:56
@qdrant qdrant deleted a comment from coderabbitai Bot Feb 16, 2026

@timvisee timvisee left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually want to expose this?

I'm afraid the result will be that more people break their clusters.

Or is it a requirement to work with edge?

@generall

Copy link
Copy Markdown
Member Author

Or is it a requirement to work with edge?

it is required for edge. Also, we already expose shard snapsot API, but just not the streaming one.

@timvisee
timvisee merged commit 345621f into dev Feb 16, 2026
15 checks passed
@timvisee
timvisee deleted the expose-shard-snapshot-api branch February 16, 2026 12:34
timvisee pushed a commit that referenced this pull request Feb 17, 2026
* [AI] generate openapi schema for stream download of shard snapshot

* bump number of APIs

* cover API with access test

* fix test

* fix test
KShivendu pushed a commit that referenced this pull request Mar 30, 2026
* [AI] generate openapi schema for stream download of shard snapshot

* bump number of APIs

* cover API with access test

* fix test

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants