Adds StorageBucket.maxUploadBytes() to the api package. It returns a Long, or null when the bucket has no limit.
Why: qbit-collaboration needs a bucket's upload limit and currently reads it through config(), which returns the internal config.StorageBucketConfig. That is a G1-arch violation under the new guardrails (qbit-bom#10, from architecture review QRun-IO/qqq#1150). With this accessor, collaboration can stay on the published api package.
Tests
StandaloneTest asserts that the accessor matches the configuration.
mvnw -B verify passes, Docker ITs included.
Release
After merge, an object-storage release ships it. The collaboration agent then switches from config().getMaxUploadBytes() to this accessor.
## Summary
Adds `StorageBucket.maxUploadBytes()` to the `api` package. It returns a `Long`, or null when the bucket has no limit.
**Why:** qbit-collaboration needs a bucket's upload limit and currently reads it through `config()`, which returns the internal `config.StorageBucketConfig`. That is a G1-arch violation under the new guardrails (qbit-bom#10, from architecture review QRun-IO/qqq#1150). With this accessor, collaboration can stay on the published `api` package.
## Tests
- `StandaloneTest` asserts that the accessor matches the configuration.
- `mvnw -B verify` passes, Docker ITs included.
## Release
After merge, an object-storage release ships it. The collaboration agent then switches from `config().getMaxUploadBytes()` to this accessor.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Adds
StorageBucket.maxUploadBytes()to theapipackage. It returns aLong, or null when the bucket has no limit.Why: qbit-collaboration needs a bucket's upload limit and currently reads it through
config(), which returns the internalconfig.StorageBucketConfig. That is a G1-arch violation under the new guardrails (qbit-bom#10, from architecture review QRun-IO/qqq#1150). With this accessor, collaboration can stay on the publishedapipackage.Tests
StandaloneTestasserts that the accessor matches the configuration.mvnw -B verifypasses, Docker ITs included.Release
After merge, an object-storage release ships it. The collaboration agent then switches from
config().getMaxUploadBytes()to this accessor.🤖 Generated with Claude Code