feat(cli): scoped maple delete (service, namespace, env) for the local store - #1203
Merged
Merged
Maple Review Bot / Maple / review
succeeded
Oct 1, 2026 in 39s
Confidence 5/5 · No issues found
🟢 Confidence 5/5 · safe to merge
The changed hunk only re-shapes flag decoding, is exercised by new tests, and changes no request the server receives.
quality 100/100 · no findings · tests covered · risk low
This head turns buildDeleteRequest into an Effect that distinguishes an out-of-range flag from a missing selector, and adds tests for both. The change is small and correct; only flag validation changed since the last review.
buildDeleteRequestnow fails withinvalid delete flagson a failed decode, and with the selector message only when neither--servicenor--namespaceis present
What was checked
ScopedDeleteRequestbounds (512 chars,beforeMs >= 0,Int) match the new hint text (scoped-delete.ts:165);--beforeyields whole-second ints or negative values that fail decodebuildDeleteRequest's only caller isdeleteCommand, which nowyield*s it, so no caller still expects anOption--env ""and a trimmed--servicestill decode and passhasSubject(delete.ts:52-57), as the new test asserts
3b2d586 · Updated on every push. Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.
Loading