kernelci / kernelci/kernelci-core
API helper submit_results in some cases refresh node from API even not necessary
Open
techdebt
- Dominant language
- Python
- Stars
- 120
- Forks
- 107
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 21
Description
Follow-up to https://github.com/kernelci/kernelci-pipeline/pull/434
In kunit and kbuild jobs we add copy of whole node with job itself, which will be "stale" at job completion, because some fields might be added or updated (for example job_id). This is why initially submit_results refresh node from API.
But in lava-callback we retrieve node by id at job completion in callback process itself, so refresh at submit_results is not necessary and might create unnecessary burden on server and delays in job submission. We need to handle such issues properly.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.