Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robust registry operations: adjust timelimit and use retries #2270

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

mathbunnyru
Copy link
Member

Describe your changes

Issue ticket if applicable

Checklist (especially for first-time contributors)

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests
  • I will try not to use force-push to make the review process easier for reviewers
  • I have updated the documentation for significant changes

@@ -18,7 +18,7 @@ on:
timeout-minutes:
description: Timeout in minutes
type: number
default: 25
Copy link
Member Author

Choose a reason for hiding this comment

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

These timeouts were too big and almost always it should end in ~6 minutes.
With retry 10 should be enough.

--variant ${{ inputs.variant }}
--tags-dir /tmp/jupyter/tags/
run: |
python3 -m tagging.apps.merge_tags \
Copy link
Member Author

Choose a reason for hiding this comment

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

A bit of code duplication, but I don't think that's a huge deal

@mathbunnyru
Copy link
Member Author

I'm a bit tired of rerunning workflows manually, so decided to add retries to workflows.
Thankfully, the code is written in a way, that there is no harm to run it once again (no matter if previous attempt failed or not).

@mathbunnyru mathbunnyru merged commit 5cfcdbd into jupyter:main Mar 27, 2025
96 checks passed
@mathbunnyru
Copy link
Member Author

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.

1 participant