Skip to content

chore: revert "feat(snapshot s3): add --allow-empty-bucket to report an empty bucket - #1407

Merged
mbevc1 merged 1 commit into
mainfrom
revert-1405-1404-empty-bucket-empty-snapshot
Nov 25, 2026
Merged

mbevc1 merged 1 commit into
mainfrom
revert-1405-1404-empty-bucket-empty-snapshot

Conversation

@gsavage

@gsavage gsavage commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

This reverts commit 7cff44f.

The behaviour of the kosli snapshot s3 command, when snapshotting an empty S3 bucket, is under review by the team, and it likely that the default behaviour will be to allow empty buckets. Therefore, this flag is unnecessary and releasing it now will require a breaking change later. This commit reverts the flag before a tagged release is made.

@github-actions github-actions Bot added the go Pull requests that update go code label Nov 25, 2026
@claude

claude Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @gsavage's task in 1m 3s —— View job


PR Review: Revert --allow-empty-bucket (#1405)

  • Static analysis (go build, go vet, go mod tidy)
  • Check that the revert is complete
  • Look for anything left behind

Static analysis

Check Result
go build ./... ✅ passes
go vet ./... ✅ no issues
go mod tidy + git diff --exit-code go.mod go.sum ✅ no changes

Is the revert complete?

Notes

Summary

I found no issues. This is an exact revert of #1405: it builds, vets cleanly and leaves no traces of the flag. Ready to merge.

@gsavage

gsavage commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor Author

@mbevc1 tagging you here as this is the follow-up to the email you sent me earlier this morning.

I haven't waited for the automated tests to run yet; I wanted to tag you immediately so that you knew this was coming.

@mbevc1 mbevc1 changed the title Revert "feat(snapshot s3): add --allow-empty-bucket to report an empty bucket chore: revert "feat(snapshot s3): add --allow-empty-bucket to report an empty bucket Nov 25, 2026
@mbevc1
mbevc1 enabled auto-merge (squash) November 25, 2026 10:22
@github-actions github-actions Bot added the chore label Nov 25, 2026
@mbevc1
mbevc1 merged commit 216f59a into main Nov 25, 2026
18 of 19 checks passed
@mbevc1
mbevc1 deleted the revert-1405-1404-empty-bucket-empty-snapshot branch November 25, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants