neofs-node icon indicating copy to clipboard operation
neofs-node copied to clipboard

Provide option to bypass CLI-side checks

Open cthulhu-rider opened this issue 6 days ago • 0 comments

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

cthulhu-rider avatar Feb 27 '25 21:02 cthulhu-rider