Chain of Trust on Github: Migrate to the v4 API
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start with scriptworker/github.py lines 102-132 and the GitHub v4 migration guide linked in the issue. Review issue 331 and the existing response-caching behavior, then map the current v3 and non-API calls to GraphQL equivalents. Done means the GitHub interactions use v4 and the affected caching logic is addressed without regressing the worker.
Written by the indexing model from the issue text.
Description
We're using the v3 API, because that was the one officially supported at the time.
This led us (for instance) to use this non-API call: https://github.com/mozilla-releng/scriptworker/blob/053e76b1a0e8bbc816c5cee4a3b5e07a081f576a/scriptworker/github.py#L102-L132
That call created issues like https://github.com/mozilla-releng/scriptworker/issues/331, where we ended up manually caching the responses.
Moving to the GraphQL API may help us in removing that caching logic
- Dominant language
- Python
- Stars
- 5
- Forks
- 39
- Avg merge
- 4h 18m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla-releng/scriptworker
-
Dependency Dashboard Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
mozilla-releng/scriptworker#748 ·
-
mozilla-releng/scriptworker#645 · 4 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
mozilla-releng/scriptworker#584 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mozilla-releng/scriptworker#580 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mozilla-releng/scriptworker#570 ·
All issues in mozilla-releng/scriptworker
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100