neofs-node
neofs-node copied to clipboard
Provide option to bypass CLI-side checks
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
https://github.com/nspcc-dev/neofs-testcases/issues/652#issuecomment-2689124735