Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Optimise ts-client generation #3725

Merged
merged 2 commits into from
Nov 2, 2023
Merged

Conversation

clockworkgr
Copy link
Collaborator

This fixes some flaky issues that were coming up for me while running on Linux:

Changes:

  • Reuse nodetime.CommandSwaggerCombine command rather than generating a tmp binary each time (fixes flaky issues due to: os: StartProcess ETXTBSY race on Unix systems golang/go#22315)
  • Bump openapiv2 version to v2.18.0 which introduces an ignore_comments flag which allows swagger-combine to merge multiple swagger.json files with no conflicts due to nom-matching comments/descriptions

Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

tACK. Tried on linux and I do not get the same issue.

@jeronimoalbi jeronimoalbi merged commit af33f16 into main Nov 2, 2023
26 checks passed
@jeronimoalbi jeronimoalbi deleted the fix/ts-client-optimise branch November 2, 2023 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants