feat: wire telemetry into all remove.* commands#1069
feat: wire telemetry into all remove.* commands#1069Hweinstock wants to merge 1 commit intoaws:mainfrom
Conversation
|
/strands review |
89d3db7 to
7cbfdc9
Compare
7cbfdc9 to
9e49ed7
Compare
9e49ed7 to
5c078b8
Compare
5c078b8 to
30ec334
Compare
30ec334 to
af77f7d
Compare
af77f7d to
5ac07cb
Compare
304bda5 to
86abe2d
Compare
86abe2d to
3df2172
Compare
3df2172 to
bb2532f
Compare
bb2532f to
951cf98
Compare
951cf98 to
513de65
Compare
513de65 to
2f80de5
Compare
2f80de5 to
7a3a32a
Compare
7a3a32a to
0d16acd
Compare
|
/strands review |
Behavior change in
|
|
format failure is fixed in #1080. |
|
Reviewed the current state of the PR. The two concerns previously raised in comments appear to be addressed:
Spot-checked the rest:
No new blocking issues. LGTM. |
Description
Wire telemetry into all
remove.*commands, following the pattern from #1050 (add commands).cliCommandRun→runCliCommand,withAddTelemetry→withCommandRunTelemetrysince they are now generalized.COMMAND_SCHEMASNot addressed (follow-up): Error classification — remove ops return
{ success: false, error: string }, losing the original error class.classifyErrorseesUnknownErrorinstead of a typed error. We'll likely need a larger refactor to how we handle exception flow to a consistent and generalized result type, or conventional error flow.Related Issue
Closes #1068
Type of Change
Testing
npm run test:unitandnpm run test:integnpm run typechecknpm run lintAdded telemetry success + failure assertions for 10 remove commands across 6 integration test files.
remove.agentandremove.runtime-endpointlack coverage (no existing test files exercise removal).Checklist