fix: normalize null grunt_type for invasion alarms#141
Conversation
PR Review: fix: normalize null grunt_type for invasion alarmsExecutive Summary
Requirements Traceability
Code Review FindingsCritical Issues: None AnalysisRoot cause fix ( Defense-in-depth ( Note: Test coverage: Two new tests ( CHANGELOG: Entry added under Architecture FitThe Risk Assessment
Verdict: APPROVEDClean, minimal, well-tested fix. Addresses the root cause and hardens the boundary layer. |
Summary
grunt_type: nullto PoracleNG, which rejects it with 400 Bad Requestnull→""(empty string) inQuickPickService.ApplyInvasionAsyncat the point of originGruntType ??= ""inInvasionService.CreateAsync,UpdateAsync, andBulkCreateAsyncto guard all entry pointsTest plan
CreateAsyncNormalizesNullGruntTypeandUpdateAsyncNormalizesNullGruntTypetestsCloses #139