Skip to content

fix(api): stop blind 5s retries on bare 429, prevent concurrent streak inflation, and expose retry_after #131

fix(api): stop blind 5s retries on bare 429, prevent concurrent streak inflation, and expose retry_after

fix(api): stop blind 5s retries on bare 429, prevent concurrent streak inflation, and expose retry_after #131

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.11"
- name: Install locked dependencies
env:
PIP_CONFIG_FILE: "${{ github.workspace }}/pip.conf"
run: python -m pip install --require-hashes -r requirements.txt
- name: Run unit tests
run: python -m coverage run --source=ariston -m unittest discover --start-directory tests --verbose
- name: Report coverage
run: python -m coverage report --show-missing --fail-under=90