Skip to content

Commit

Permalink
Added list of items that were used for risk calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanratcliffe committed Dec 9, 2023
1 parent b6d60a5 commit 7818c66
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions changes.proto
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,10 @@ message ChangeMetadata {
HealthChange ErrorHealthChange = 15;
HealthChange PendingHealthChange = 16;

// The status of the risk calculation
RiskCalculationStatus riskCalculationStatus = 19;

// The risks that are related to this change
repeated Risk risks = 20;

// The number of low risks in this change
Expand All @@ -624,6 +627,14 @@ message ChangeMetadata {

// The number of high risks in this change
int32 numHighRisk = 23;

// A list of references to the items that taken into account when calculating
// risks. Due to inherent limitations in the way we calculate risks, for large
// changes we might need to consider only a subset of the blast radius. This
// means that risks might be missed if they relate to items that weren't
// considered. This list is used to show the user which items were considered,
// and which were not.
repeated Reference sampledItemsForRiskCalculation = 24;
}

// user-supplied properties of this change
Expand Down

0 comments on commit 7818c66

Please sign in to comment.