MeltanoLabs / MeltanoLabs/tap-gitlab

bug: 429 Client Error: Too Many Requests for path

Open
#94 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
29
Avg merge
4d 1h
Merged PRs (30d)
1

Description

During testing with the new standard tests framework, I am hitting 429 Client Error: Too Many Requests for path errors for the /projects/../pipelines/ API.

According to the Mozilla http code reference:

A Retry-After header might be included to this response indicating how long to wait before making a new request.

If this is available from the GitLab API, we should use this to wait the appropriate time (rather than using exponential backoff, as is default in the SDK).

EDIT: this appears to be supported in the backoff python library here 🚀

Contributor guide

No contributing guide indexed for this repository

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 the new standard tests framework in pull request #93 and trace requests to the /projects/../pipelines/ API. Read the backoff library's runtime support and check how 429 responses are currently retried. Done means the Retry-After value is used when GitLab provides it, with the standard tests covering the behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.