Skip to content

Speed up JLL registration jobs - #14504

Open
maleadt wants to merge 3 commits into
masterfrom
tb/faster_registration
Open

Speed up JLL registration jobs#14504
maleadt wants to merge 3 commits into
masterfrom
tb/faster_registration

Conversation

@maleadt

@maleadt maleadt commented Aug 21, 2026

Copy link
Copy Markdown
Member

Pass BinaryBuilder's per-tarball metadata from build jobs to the registration pipeline, allowing registration to reuse hashes and product locations computed while packaging.

Metadata sidecars are uploaded as Buildkite artifacts but downloaded into a directory separate from the tarballs, so they are not published as GitHub release assets. Builds without sidecars continue to use
BinaryBuilder's tarball-inspection fallback.

Registration now starts Julia with eight threads so the fallback can inspect multiple platforms concurrently.

The registration pipeline also uses a Buildkite concurrency gate:

  • at most three registration builds may run at once;
  • registrations of the same package remain serialized;
  • each ghr process is capped at four concurrent uploads.

This reduces organization-wide queueing without allowing simultaneous wrapper-version selection for the same JLL or unbounded GitHub API traffic.

Requires JuliaPackaging/BinaryBuilderBase.jl#489 and JuliaPackaging/BinaryBuilder.jl#1446

Upload BinaryBuilder’s per-tarball metadata alongside build artifacts and pass it to the registration job outside the release-asset directory. Older builds remain supported through BinaryBuilder’s inspection fallback.

Run registration with eight Julia threads. Clear both publication tokens while instantiating dependencies and regenerating recipe metadata.
Use a global Buildkite concurrency gate to admit three registration builds at once, while a per-package concurrency group prevents simultaneous wrapper-version selection for the same JLL.

Cap each ghr process at four uploads so aggregate release-upload concurrency remains bounded.
@maleadt
maleadt marked this pull request as draft August 21, 2026 13:23
@maleadt
maleadt marked this pull request as ready for review August 21, 2026 17:17
@giordano

Copy link
Copy Markdown
Member

Might want to bump the version number of HelloWorldC, to test that the updated pipeline works when this is merged

@giordano giordano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Haven't reviewed in detail, but at high level looks good

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