chaoss / chaoss/grimoirelab-perceval

Error in backend calling fetch more than once when archive is set

Open
#528 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
324
Forks
187
PR merge metrics
No merged PRs in 30d

Description

When we implemented the `Archive` object, we considered it will only store the items of a single `fetch` call. It can't be reused to store the raw responses of several fetch tasks.

If the archive is set, it will produce an error because the archive object is given when the object is initialized and not when `fetch` is called.

To fix this issue, #527 must be completed first.

Contributor guide

Open the contributing guide

Research direction

Start by reading issue #527, then trace how the Archive object is initialized and supplied to fetch. Done means an archive can handle the raw responses from multiple fetch tasks without producing the reported error when it is set.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.