alytantawyy opened a new pull request, #55804: URL: https://github.com/apache/arrow/pull/55804
### Rationale for this change Expose the existing C++ filesystem finalization API to GLib and Ruby users. This is a prerequisite for splitting the S3 GLib bindings into a separate library in #51608. Closes #55794. ### What changes are included in this PR? - Add `garrow_file_system_ensure_finalized()` as a thin wrapper around `arrow::fs::EnsureFinalized()`. - Expose the API through GObject Introspection as `Arrow::FileSystem.ensure_finalized` in Ruby. - Document shutdown usage and caller synchronization requirements. - Add a Ruby test verifying that filesystem creation fails after finalization. The test runs in a separate process so finalization does not affect the rest of the suite. ### Are these changes tested? Verified locally on macOS arm64: - C/GLib build and introspection generation passed. - The new regression test failed before adding the binding and passed afterward. - 85 Ruby filesystem tests passed; 12 optional Dataset tests were omitted because Arrow Dataset was unavailable. - All applicable pre-commit checks passed. These are local results. GitHub CI results are reported separately in the PR checks. ### Are there any user-facing changes? Adds `garrow_file_system_ensure_finalized()` and its introspected Ruby API. Existing APIs and C++ cleanup logic are unchanged. Moving the S3 bindings into a separate library is outside this PR's scope. ### Was AI used for this PR? Codex generated the implementation, documentation, and Ruby test and helped draft this description. I personally reviewed the implementation and test. -- 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]
