Open
Bug 1482375
Opened 6 years ago
Updated 3 years ago
Remove Job.failure_classification
Categories
(Tree Management :: Treeherder, enhancement, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
NEW
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).
Updated•6 years ago
|
Priority: -- → P3
Updated•5 years ago
|
Component: Treeherder → Database
Assignee | ||
Updated•3 years ago
|
Component: Database → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•