Repository navigation
docs(cloud capture): describe a bucket as one artifact, empty or not - #567
Merged
Merged
Conversation
The Kosli CLI is changing how `kosli snapshot s3` reports a bucket, and Cloud Capture snapshots buckets through that command. An S3 snapshot will always report exactly one artifact named after the bucket, where a single-object bucket used to be named after the object. A bucket with nothing to fingerprint, whether it is empty or none of its objects carries a SHA256 checksum, will be reported with the fingerprint of an empty directory instead of failing or reporting no artifact. Update the "What to expect" list for S3 buckets to say so. This must not be published before the CLI release that carries the change. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
|
Claude finished @gsavage's task in 1m 7s —— View job Follow-up review
Previous findings — both resolved:
New issues in the touched lines: none. No new inline comments posted. |
1 of 3 tasks
Review of the new S3 bullets raised two ways a reader could be surprised by a match, or by the lack of one. A single-object bucket now carries the bucket's name, which suggests it is fingerprinted as a directory. It is still fingerprinted as the file, so it only matches an artifact attested with `--artifact-type file`. Say so where the naming is described. The empty-bucket fingerprint is the SHA256 of no input, which is also the fingerprint of any empty file. An empty bucket therefore matches an artifact attested from an empty file, possibly in an unrelated flow. State that so the match is expected rather than puzzling. Co-Authored-By: Claude Fable 5.2 <[email protected]>
gsavage
marked this pull request as ready for review
November 26, 2026 10:33
mbevc1
approved these changes
Nov 26, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When to merge
This describes behaviour from kosli-dev/cli#1410, which is not released. However S3 snapshots are not enabled for any customers, so it is safe to merge this now.
What
Updates the "What to expect" list under Capturing S3 buckets in
administration/cloud_capture/getting_started.md:holds a single object (previously named after the object).
directory (
e3b0c442…b855).the page said it "is reported as holding no artifact".
Why
Cloud Capture snapshots buckets with
kosli snapshot s3, and kosli-dev/cli#1410 changes thatcommand's default behaviour as agreed in kosli-dev/cloud-capture#216.
Not included
client_reference/kosli_snapshot_s3.mdstill carries the old wording. That page is generated fromthe CLI help text at release, so it is left for the release to regenerate.
🤖 Generated with Claude Code