You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix bucket creation quota and retention numeric validation #73
Fixed on main by #74, merged as 3d1dd56. Create/edit quota and retention validation now share conversion and boundary checks, including fractional units, unit changes, exponent-range input, integer retention, and the signed int32 limit. The same PR repairs numeric conversion and validation in all three replication bandwidth forms.
Validation passed: Go tests, repository verifiers, 689 frontend unit/component browser tests, frontend build/audits, and both required CI checks. A real SILO + mcli + Console run also confirmed that creating a 0.5 GiB quota stores exactly 536870912 bytes.
The remaining arbitrary int64 quota precision issue is tracked in #75, and the other calculateBytes paths in #76. This closes the bounded scope of this issue in source; no release, deployment, or SILO Server embedded-Console dependency update has been performed.
Activity
Vonng commentedon Oct 29, 2026
已完成并推送本轮 P1/P2 修复,分支为
codex/fix-numeric-units(暂不发布或部署):d878dbf88—fix: validate bucket creation quota inputs.5 Gi->536870912);1000 Ei等输入被parseInt截断成错误值;5a34232e7—fix: validate bucket creation retention1..2147483647,覆盖 Server 端 int32 约束;验证已通过:
43 passed;tsc --noEmit;git diff --check;go test -mod=readonly ./api(cached pass)。本轮未修改 Server、依赖 pin、N04、N12,也未改变现有未提交改动。N12 的任意 int64 精度方案、replication bandwidth 和
calculateBytes仍保留在后续跟踪范围,待独立方案确认后处理。Vonng commentedon Nov 4, 2026
Fixed on
mainby #74, merged as 3d1dd56. Create/edit quota and retention validation now share conversion and boundary checks, including fractional units, unit changes, exponent-range input, integer retention, and the signed int32 limit. The same PR repairs numeric conversion and validation in all three replication bandwidth forms.Validation passed: Go tests, repository verifiers, 689 frontend unit/component browser tests, frontend build/audits, and both required CI checks. A real SILO + mcli + Console run also confirmed that creating a 0.5 GiB quota stores exactly 536870912 bytes.
The remaining arbitrary int64 quota precision issue is tracked in #75, and the other
calculateBytespaths in #76. This closes the bounded scope of this issue in source; no release, deployment, or SILO Server embedded-Console dependency update has been performed.fix: validate bucket creation quota inputs
fix: validate bucket creation retention