Closed Bug 1710725 Opened 2 years ago Closed 5 months ago

stop using DotDict for crash data

Categories

(Socorro :: Processor, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

The processor gets a crash id from the crash processing queue. Then it fetches the raw crash, the dumps, and the processed crash (if there is one) for that crash id. The raw and processed crash data is stored as JSON-encoded strings. After fetching them, they're converted to configman DotDict instances. Then the crash data is passed through the rules in the pipeline. Finally, the crash data is converted from DotDict instances back to Python structures and serialized into JSON-encoded strings to save.

This bug covers ending the practice of using DotDict for processing. Instead, we should pass Python structures around and operate on them using glom.

Grabbing this to do soon since fixing this is the next big step to removing configman.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

Bumping bugs off my queue because I'm not going to get to them any time soon.

Assignee: willkg → nobody
Status: ASSIGNED → NEW
Assignee: nobody → willkg
Blocks: 1687802
Status: NEW → ASSIGNED

This was deployed in bug #1790053. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.