onflow / onflow/flow-cli

Retry when rate limited in dependency manager

Open
#1,842 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Go
Stars
209
Forks
87
Avg merge
1d 17h
Merged PRs (30d)
3

Description

Issue To Be Solved

Currently, the dependency manager does not retry when rate limited. For projects with lots of dependencies, this can cause issues when installing. Since flow deps add and flow deps install are combined now, this can be exacerbated by the fact that every dependency is installed every time a new one is added.

(Optional): Suggest A Solution

Retry on rate limit.

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 by locating the command entry points for flow deps add and flow deps install, then trace how dependency installation reports rate-limit failures. Add retry behavior for rate-limited requests and verify that both commands can complete when a dependency service temporarily limits requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.