This removes qbit-collaboration's only edge into a non-api class of qbit-object-storage (qbit-bom#10, guardrail G1-arch). AttachmentStorage.maxBytes read the bucket's upload cap through StorageBucket.config().getMaxUploadBytes(), which returns the non-apiStorageBucketConfig.
Behavior after this change:
Collaboration enforces only its own per-table maxBytes setting (default 100 MB).
Object storage still enforces the bucket's cap when the object is put. An oversized upload is still refused, but by storage rather than up front.
I've asked the remediation agent for a StorageBucket.maxUploadBytes() accessor in object-storage's api package. When it ships, collaboration will switch to it, so the panel can show the smaller of the two limits.
Test plan
./mvnw -o verify: green, with the coverage gates unchanged.
## Summary
This removes qbit-collaboration's only edge into a non-`api` class of qbit-object-storage (qbit-bom#10, guardrail G1-arch). `AttachmentStorage.maxBytes` read the bucket's upload cap through `StorageBucket.config().getMaxUploadBytes()`, which returns the non-`api` `StorageBucketConfig`.
Behavior after this change:
- Collaboration enforces only its own per-table `maxBytes` setting (default 100 MB).
- Object storage still enforces the bucket's cap when the object is put. An oversized upload is still refused, but by storage rather than up front.
I've asked the remediation agent for a `StorageBucket.maxUploadBytes()` accessor in object-storage's `api` package. When it ships, collaboration will switch to it, so the panel can show the smaller of the two limits.
## Test plan
- [x] `./mvnw -o verify`: green, with the coverage gates unchanged.
- [ ] CircleCI `test_only`.
🤖 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
This removes qbit-collaboration's only edge into a non-
apiclass of qbit-object-storage (qbit-bom#10, guardrail G1-arch).AttachmentStorage.maxBytesread the bucket's upload cap throughStorageBucket.config().getMaxUploadBytes(), which returns the non-apiStorageBucketConfig.Behavior after this change:
maxBytessetting (default 100 MB).I've asked the remediation agent for a
StorageBucket.maxUploadBytes()accessor in object-storage'sapipackage. When it ships, collaboration will switch to it, so the panel can show the smaller of the two limits.Test plan
./mvnw -o verify: green, with the coverage gates unchanged.test_only.🤖 Generated with Claude Code