diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c5407a00..ac370d2b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.45" + ".": "0.1.0-alpha.46" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 431aa1d4..82f1f239 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 48 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-ecd3f6c28edae07dbe9f54d8040a6d7f2af5ac032b20f8df06065542478e4e73.yml -openapi_spec_hash: 5e0e04e7274494062ff46ac85d358f5b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-b8ede21f99c37f419124818376c550eae675f760b4bdcec3808bf5e77bb09d9b.yml +openapi_spec_hash: 3d2d4135fe142302f043ac1fbff2cd22 config_hash: 9ae56f40cec7304896138bfad5caf748 diff --git a/CHANGELOG.md b/CHANGELOG.md index a27c09fb..ca56e52b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.46 (2026-06-29) + +Full Changelog: [v0.1.0-alpha.45...v0.1.0-alpha.46](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.45...v0.1.0-alpha.46) + +### Chores + +* **internal:** bound formatter parallelism to CPU count ([6eb683c](https://github.com/Finch-API/finch-api-ruby/commit/6eb683c9491278b7461aaf6f0d656cb4898a2484)) + ## 0.1.0-alpha.45 (2026-06-22) Full Changelog: [v0.1.0-alpha.44...v0.1.0-alpha.45](https://github.com/Finch-API/finch-api-ruby/compare/v0.1.0-alpha.44...v0.1.0-alpha.45) diff --git a/Gemfile.lock b/Gemfile.lock index dd71ddd8..3f535209 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - finch-api (0.1.0.pre.alpha.45) + finch-api (0.1.0.pre.alpha.46) cgi connection_pool diff --git a/README.md b/README.md index 0683488f..bfb6d0d3 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "finch-api", "~> 0.1.0.pre.alpha.45" +gem "finch-api", "~> 0.1.0.pre.alpha.46" ``` diff --git a/Rakefile b/Rakefile index 98230e7b..94cd1d74 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "etc" require "pathname" require "securerandom" require "shellwords" @@ -37,7 +38,11 @@ multitask(:test) do ruby(*%w[-w -e], rb, verbose: false) { fail unless _1 } end -xargs = %w[xargs --no-run-if-empty --null --max-procs=0 --max-args=300 --] +# Cap parallelism at the CPU count. `--max-procs=0` spawns one process per +# 300-file batch with no upper bound; on large SDKs (thousands of files) that +# oversubscribes CPUs and stacks up rubocop processes, exhausting memory and +# slowing CI to the point of timing out. +xargs = %W[xargs --no-run-if-empty --null --max-procs=#{Etc.nprocessors} --max-args=300 --] ruby_opt = {"RUBYOPT" => [ENV["RUBYOPT"], "--encoding=UTF-8"].compact.join(" ")} filtered = ->(ext, dirs) do diff --git a/lib/finch_api/version.rb b/lib/finch_api/version.rb index 949ae72d..dda2ced9 100644 --- a/lib/finch_api/version.rb +++ b/lib/finch_api/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module FinchAPI - VERSION = "0.1.0.pre.alpha.45" + VERSION = "0.1.0.pre.alpha.46" end