Skip to content
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

Provide option to bypass CLI-side checks #3183

Open
cthulhu-rider opened this issue Feb 27, 2025 · 0 comments
Open

Provide option to bypass CLI-side checks #3183

cthulhu-rider opened this issue Feb 27, 2025 · 0 comments
Labels
enhancement Improving existing functionality I3 Minimal impact neofs-cli NeoFS CLI application issues S3 Minimally significant U4 Nothing urgent

Comments

@cthulhu-rider
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I'm always frustrated when i cannot skip internal CLI checks which do not allow to pack and send the request to NeoFS. Although pre-checks are mostly for good, sometimes they do not allow to communicate with the system. Currently, this can only be fixed by CLI upgrading

i propose to add ability to send requests no matter what. Plus bonus in test coverage performed by @evgeniiz321: make sure that SNs also check request conditions

Describe the solution you'd like

provide -f, --force flag cancelling all internal checks when user input can be packed into a structurally valid request message

we already use such practice for some cmds, e.g.:

$ neofs-cli container create -h
  -f, --force                 Skip placement validity check

Additional context

nspcc-dev/neofs-testcases#652 (comment)

@cthulhu-rider cthulhu-rider added enhancement Improving existing functionality neofs-cli NeoFS CLI application issues labels Feb 27, 2025
@roman-khimov roman-khimov added U4 Nothing urgent S3 Minimally significant I3 Minimal impact labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving existing functionality I3 Minimal impact neofs-cli NeoFS CLI application issues S3 Minimally significant U4 Nothing urgent
Projects
None yet
Development

No branches or pull requests

2 participants