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
Operators have no way to guard against pushes that are so large they are effectively unreviable — whether accidentally (wrong remote, unrelated history) or intentionally (huge batch commits, vendored dependencies committed wholesale).
Proposed solution
A configurable diff size check in the filter chain with warn and block tiers:
Problem
Operators have no way to guard against pushes that are so large they are effectively unreviable — whether accidentally (wrong remote, unrelated history) or intentionally (huge batch commits, vendored dependencies committed wholesale).
Proposed solution
A configurable diff size check in the filter chain with warn and block tiers:
Both thresholds are off by default (
0= disabled). Operators opt in.Exclusions
Known generated/vendored paths should be excluded from the line count by default:
package-lock.json,yarn.lock,*.lockvendor/,dist/,build/*.generated.*,*.min.js,*.min.cssOperators can extend or replace this list via config.
Design considerations
WARNstep status (separate issue — prerequisite)--allow-large-diffpush option or attestation questionWhy 1.1.0
Depends on WARN status. Needs scoping of default exclusions list and operator configurability before shipping.