Open Bug 1482375 Opened 6 years ago Updated 3 years ago

Remove Job.failure_classification

Categories

(Tree Management :: Treeherder, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: ghickman, Unassigned)

References

(Blocks 1 open bug)

Details

This FK is a denormalisation of a Job's JobNote.failure_classification. It adds some complexity at write since a JobNote must update its Job on both save and delete to reconcile Job.failure_classification to something appropriate. From an architecture perspective it makes the source of truth for a Job's failure classification not quite as clear (especially if the reconcilliation step fails). Removing this requires handling this the resulting lookup (latest JobNote or "not classified" FailureClassification) during read (happens in both the Job API and Job serialiser).
Priority: -- → P3
Blocks: 1178227
Component: Treeherder → Database
Component: Database → TreeHerder
You need to log in before you can comment on or make changes to this bug.