oracle / oracle/macaron

Retry HTTP requests if they time out

Open
#398 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

code quality
Dominant language
Python
Stars
210
Forks
36
Avg merge
1d 10h
Merged PRs (30d)
2

Description

The util module contains helper functions for sending HTTP requests. We need to allow a retry option to send the requests n times (default could be 3) when there is a timeout. This will allow handling failures in Macaron analyze action more deterministically.

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 in src/macaron/util.py and locate the helper functions that send HTTP requests, then trace how the analyze action calls them. Define how the retry option and its default of three attempts should apply when a request times out; done means timed-out requests retry the configured number of times and analyze handles these failures deterministically.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
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.