Skip to content

ci: prefetch the openapi-generator jar with retries - #7

Merged
mikipalet merged 1 commit into
mainfrom
ci/prefetch-generator-jar
Oct 7, 2026
Merged

mikipalet merged 1 commit into
mainfrom
ci/prefetch-generator-jar

Conversation

@mikipalet

Copy link
Copy Markdown
Member

Why

The generator CLI downloads its jar from Maven Central on first use with no retry. On 2026-10-07 a 429 (zernio-rust) and a 404 (zernio-php) there failed whole Regenerate runs, leaving the SDK a spec version behind until the next run.

What

  • New step after the CLI install fetches the pinned jar (version from openapitools.json) with curl --retry into the folder the CLI reads, so generate never downloads.

🤖 Generated with Claude Code

https://claude.ai/code/session_01G7eSs42Yk9SqnUrLKgvAck

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G7eSs42Yk9SqnUrLKgvAck
@mikipalet
mikipalet merged commit 98f43e5 into main Oct 7, 2026
@mikipalet
mikipalet deleted the ci/prefetch-generator-jar branch October 7, 2026 11:27
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