-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lakectl to present error while writing to protected branch #8454
base: master
Are you sure you want to change the base?
lakectl to present error while writing to protected branch #8454
Conversation
This reverts commit e12badc.
🎊 PR Preview edd426d has been successfully built and deployed to https://treeverse-lakeFS-preview-pr-8454.surge.sh 🕐 Build time: 0.012s 🤖 By surge-preview |
4f43a89
to
33ca670
Compare
@ItamarYuran please move the PR to ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple of issues with the current solution:
- 403 (forbidden) status code might be a result of another issue than writing to a protected branch.
- Your solution works specifically for uploading an object with presign mode without using multiparts.
What if I delete an object instead of uploading one? I'll still have the same issue. - I would like to have some tests here to validate we show the reason why we failed when trying to apply changes (write/delete) to a protected branch.
c3eeadb
to
cce44f3
Compare
Closes #8333