Skip to content

Bump registry-build timeout from 30m to 45m#66185

Merged
kaxil merged 1 commit intoapache:mainfrom
astronomer:bump-registry-build-timeout
Apr 30, 2026
Merged

Bump registry-build timeout from 30m to 45m#66185
kaxil merged 1 commit intoapache:mainfrom
astronomer:bump-registry-build-timeout

Conversation

@kaxil
Copy link
Copy Markdown
Member

@kaxil kaxil commented Apr 30, 2026

Recent successful full registry builds run 26-30 minutes (most recent: 29m49s, 26m13s, 20m43s). The 30-minute job timeout left near-zero headroom -- a pypistats slowdown or transient network blip during the ~86 sequential per-provider PyPI fetches in extract_metadata.py would race the timeout and silently fail the registry update.

After #66100, registry-build.yml fires automatically on every wave-release dispatch, so this exposure is now hot.

Fix

Bump timeout-minutes: 30 to 45 on the build-and-publish-registry job. 45 minutes gives ~50% headroom over current full-build runtime without going so high that a genuinely stuck job sits around forever.

Why not parallelise PyPI fetches instead

The real underlying cost is ~86 sequential urllib calls to pypistats.org and pypi.org in extract_metadata.py:fetch_pypi_downloads / fetch_pypi_dates. Parallelising those (e.g., concurrent.futures.ThreadPoolExecutor) would actually shrink the build, not just give it more rope. That's a meaningful follow-up but lives in dev/registry/extract_metadata.py, not in workflow YAML, and shouldn't block this trivial timeout bump that unblocks the immediate timeout race.


Was generative AI tooling used to co-author this PR?
  • [ ]

Recent successful full builds run 26-30 minutes (most recent: 29m49s,
26m13s, 20m43s). The 30-minute timeout left near-zero headroom -- a
modest pypistats slowdown or transient registry/network blip during
the per-provider PyPI fetches in `extract_metadata.py` would race the
timeout and silently fail the registry update.

After apache#66100 (#1305 fix), `registry-build.yml` fires automatically on
every wave-release dispatch. Bumping the timeout to 45 minutes gives
meaningful headroom without going so high that a genuinely stuck job
sits around forever.
@kaxil kaxil merged commit 41750f4 into apache:main Apr 30, 2026
38 checks passed
@kaxil kaxil deleted the bump-registry-build-timeout branch April 30, 2026 21:57
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Airflow Registry Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Backport failed to create: v3-2-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-2-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 41750f4 v3-2-test

This should apply the commit to the v3-2-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

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

Labels

area:dev-tools area:registry backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants