Skip to content

Retry failed benchmark result pushes - #488

Open
savannahostrowski wants to merge 2 commits into
python:mainfrom
savannahostrowski:fix/benchmark-push-retries
Open

savannahostrowski wants to merge 2 commits into
python:mainfrom
savannahostrowski:fix/benchmark-push-retries

Conversation

@savannahostrowski

Copy link
Copy Markdown
Member

Another cherry-pick from my fork, with a few adjustments for upstream :)

A few months back, I encountered failed result pushes when running benchmarks across multiple machines, causing jobs to fail after the benchmarks had completed.

This PR adds up to five push attempts, rebasing before each attempt and waiting briefly between retries.

@maurycy maurycy left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two notes, maybe as a follow-up?

  • What do you think about just adding a new command to the bench runner? Say: python -m bench_runner push_results. This seems to be in line with
    ### Moving more code to Python
  • This seems to touch only push, not touching pull.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants