feat(cli): add volcengine storage service tos:// support #1523
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces support for ByteDance Volcengine TOS object storage as a remote backend for the MCAP CLI, specifically enabling
tos://URI reads.Motivation
At ByteDance, we extensively use MCAP files stored on TOS for our robotics and VLA (Vision-Language-Action) models. Currently, our internal workflows and tools often require downloading full MCAP files locally before processing. This approach incurs significant bandwidth costs and latency.
To optimize this and avoid maintaining a hard fork of the CLI, we aim to upstream our internal integration to the community. This allows users to inspect and process MCAP files directly from TOS without intermediate downloading.
Implementation Details
tos://scheme handler to the CLI's remote file reader.Future Roadmap
This PR serves as the initial minimal contribution to establish the workflow. We have developed several advanced optimizations internally for AI training scenarios, which we plan to contribute in subsequent PRs:
Verification
mcap info tos://bucket/path/to/file.mcap.go.moddependencies are minimal.First time contributor here, happy to join the community! Looking forward to your review.