Skip to content

Fix release workflow: skip strict spec validation during client generation#13

Merged
cwhite911 merged 1 commit into
mainfrom
claude/release-gh-action-bug-rqlye0
Jul 20, 2026
Merged

Fix release workflow: skip strict spec validation during client generation#13
cwhite911 merged 1 commit into
mainfrom
claude/release-gh-action-bug-rqlye0

Conversation

@cwhite911

Copy link
Copy Markdown
Member

Problem

The nightly Release on new actinia-core version workflow (release-on-actinia.yml) has failed on every scheduled run since it was introduced, always at the Regenerate the Python client step. OpenAPI Generator 7.2.0 aborts with SpecValidationException (29 errors) because the swagger spec dumped from a running actinia-core contains upstream validity issues — path parameters like {project_name}/{mapset_name} declared in URLs but not defined as parameters, unexpected attributes on models, etc. These defects originate in actinia-core's served spec and cannot be fixed in this repository.

Fix

Pass --skip-validate-spec to the openapi-generator-cli generate invocation, as the generator's own error message recommends. The workflow's existing sanity check on the dumped spec (valid JSON with a non-empty paths object) still runs beforehand, so a genuinely broken download continues to fail fast.

🤖 Generated with Claude Code

https://claude.ai/code/session_013HCJxtT5kx2D9ouiDLFdbs


Generated by Claude Code

…ation

The nightly 'Release on new actinia-core version' workflow has failed on
every run at the 'Regenerate the Python client' step. OpenAPI Generator
7.2.0 aborts with SpecValidationException (29 errors) because the swagger
spec dumped from a running actinia-core contains upstream validity issues
(undeclared path parameters, unexpected attributes) that cannot be fixed
in this repository.

Pass --skip-validate-spec to the generator so generation proceeds, as the
generator's own error message recommends. The workflow's existing JSON
sanity check on the dumped spec still guards against a broken download.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013HCJxtT5kx2D9ouiDLFdbs
@cwhite911
cwhite911 merged commit e7ae80b into main Jul 20, 2026
6 checks passed
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