Skip to content

chore: upgrade openapi-generator-cli from v6.0.1 to v6.6.0#1367

Merged
hkad98 merged 1 commit intomasterfrom
jtyc/upgrade-openapi-generator-v6.6.0-v2
Feb 26, 2026
Merged

chore: upgrade openapi-generator-cli from v6.0.1 to v6.6.0#1367
hkad98 merged 1 commit intomasterfrom
jtyc/upgrade-openapi-generator-v6.6.0-v2

Conversation

@tychtjan
Copy link
Contributor

@tychtjan tychtjan commented Feb 26, 2026

Summary

  • Upgrades the OpenAPI Generator CLI Docker image from v6.0.1 to v6.6.0 in scripts/generate_client.sh
  • Switches generatorName from python to python-prior to maintain compatibility with existing custom templates (the python generator was replaced with python-experimental in v6.2.0)
  • Regenerates the gooddata-api-client package with the new generator version

Context

Incremental upgrade within the v6.x line. A v7.x upgrade was evaluated but deferred — the python generator was replaced with a Pydantic-based architecture in v7, which would require rewriting all 6 custom templates and updating all downstream code.

Should be updated in the future though probably and think about the openAPI generator schemas.

Additional changes (test infrastructure)

  • Re-recorded all VCR cassettes against latest backend images after the openapi-generator upgrade
  • Bumped afm-exec-api heap from 128m to 1G in docker-compose.yaml — the default 128m caused OutOfMemoryError: Java heap space during test runs, which made export tests hang (perpetual 202) and table/label tests fail with 500
  • Added troubleshooting comment to test_export_service.py documenting that export 202 failures can be caused by export-controller file permission issues (container runs as uid=2 bin, needs write access to the mounted exports volume)

Related

jira: STL-2347
risk: high (prod)

@hkad98 hkad98 closed this Feb 26, 2026
@hkad98 hkad98 reopened this Feb 26, 2026
@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (c00ca3b) to head (23be273).
⚠️ Report is 21 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1367     +/-   ##
========================================
  Coverage    0.00%   0.00%             
========================================
  Files         158     224     +66     
  Lines       11048   14466   +3418     
========================================
- Misses      11048   14466   +3418     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tychtjan tychtjan enabled auto-merge (squash) February 26, 2026 14:57
@tychtjan tychtjan force-pushed the jtyc/upgrade-openapi-generator-v6.6.0-v2 branch from 02fbc1d to a15574e Compare February 26, 2026 15:17
@tychtjan tychtjan disabled auto-merge February 26, 2026 15:20
- Switch generatorName to python-prior to maintain compatibility with
  existing custom templates (python generator was replaced with
  python-experimental in v6.2.0)
- Regenerate gooddata-api-client with the new generator version
- Re-record all VCR test cassettes against latest backend
- Bump afm-exec-api heap from 128m to 1G in docker-compose to prevent
  OOM during test runs
- Add troubleshooting comment to export tests for future reference

Relates to: STL-2347
@tychtjan tychtjan force-pushed the jtyc/upgrade-openapi-generator-v6.6.0-v2 branch from e02b874 to 23be273 Compare February 26, 2026 15:29
@hkad98 hkad98 merged commit 5d92c3c into master Feb 26, 2026
11 checks passed
@hkad98 hkad98 deleted the jtyc/upgrade-openapi-generator-v6.6.0-v2 branch February 26, 2026 15:50
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