Open Bug 2078629 Opened 1 month ago Updated 4 days ago

Add resolution field to PerformanceAlertBase

Categories

(Tree Management :: Perfherder, task, P1)

Tracking

(Not tracked)

People

(Reporter: bacasandrei, Assigned: dmiculit)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp][operational])

Note: resolution coexists with status during a transition period.

Backend:

  • Add nullable CharField resolution to PerformanceAlertBase with choices: valid, invalid, infra, downstream, reassigned
  • Schema migration (affects performance_alert, performance_telemetry_alert, performance_alert_testing tables)
  • Data migration using the mapping table above
  • Expose resolution in PerformanceAlertSerializer
  • Update write path: when resolution is written via API, derive and sync the old status integer (backward compatibility for anything still reading status)
  • Update PerformanceAlert.save() validation at models.py:768-791 to also check resolution for the RELATIONAL / UNRELATIONAL logic
  • Update tests
Blocks: 2078648
Assignee: nobody → dmiculit
Severity: -- → S3
Priority: -- → P1
You need to log in before you can comment on or make changes to this bug.