Provide option to bypass CLI-side checks #1361

Open
opened 2025-12-28 17:22:42 +00:00 by sami · 0 comments
Owner

Originally created by @cthulhu-rider on GitHub (Feb 27, 2025).

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

Originally created by @cthulhu-rider on GitHub (Feb 27, 2025). ## 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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#1361
No description provided.