kernelci / kernelci/dashboard

Retry insertion errors on ingester

Open
#1,376 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Backend Database
Dominant language
Python
Stars
9
Forks
31
Avg merge
3d 19h
Merged PRs (30d)
16

Description

The ingester is one of the most important tool, and with upcoming changes some unexpected errors could happen. Even still, we are currently simply not dealing with insertion errors (cf kcidbng_ingester L384) and this should be addressed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with backend/kernelCI_app/management/commands/helpers/kcidbng_ingester.py around line 384 and trace how insertion errors are currently handled. Determine which insertion failures should be retried and what the expected retry behavior is; the work is done when those errors are no longer simply left unhandled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.