erickguan opened a new pull request, #8926:
URL: https://github.com/apache/opendal/pull/8926

   # Which issue does this PR close?
   
   None. Follow-up to #8530.
   
   # Rationale for this change
   
   Draft for @erickguan to review and finish.
   
   The conventional platform gem contains extensions for Ruby 3.3, 3.4, and 
4.0. RubyGems/Bundler 4.1 supports content-addressable gems, so each client can 
download only the extension for its Ruby ABI. In the local Linux x86_64 build, 
each skinny gem is about 9.3 MiB, compared with 27.86 MiB for the conventional 
gem.
   
   # What changes are included in this PR?
   
   - Package the existing ABI builds into one conventional platform gem and 
three content-addressable gems per platform, using one packaging task.
   - Restore Ruby 3.3 as the development default and use RubyGems/Bundler 4.1 
for native packaging and publishing.
   - Retain Ruby files and legal material in compiled gems while excluding Rust 
build inputs. Fix nested-checkout file discovery so ignored local build outputs 
do not enter packages.
   - Check artifact contents, ABI requirements, and packaged extension bytes in 
release CI. Preserve the installed conventional-gem smoke tests and select that 
artifact explicitly.
   
   # Are there any user-facing changes?
   
   RubyGems/Bundler 4.1 clients can install a smaller gem for their Ruby ABI. 
Conventional platform gems and the source gem remain available for older 
clients. Supported Ruby versions, platforms, and storage services remain 
unchanged.
   
   Local validation covered real builds and base tests on Ruby 3.3, 3.4, and 
4.0, artifact checks, installed conventional-gem smoke tests on all three 
runtimes, and a source-gem build/install smoke test. ARM Linux and macOS 
require CI validation. Resolver selection is left to RubyGems/Bundler rather 
than tested here.
   
   # Breaking changes
   
   # AI Usage Statement
   
   - Harness: Pi Coding Agent.
   - Model: `dalpie/codex/gpt-6.1-sol` through the `magpie` provider.
   - Effort: `xhigh` for implementation; the read-only inspection delegates 
used the same model, with their effort setting not exposed in their receipts.
   - Role: Inspected the merged packaging changes and RubyGems documentation, 
implemented packaging and CI changes from @erickguan's design decisions, and 
ran local validation. @erickguan is the accountable human owner; platform 
coverage beyond Linux x86_64 remains to be verified in CI.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to