Skip to content

WA-VERIFY-102: Audit BigDecimal.new usage#1106

Open
kitcommerce wants to merge 1 commit intonextfrom
wa-verify-102-audit-bigdecimal-new
Open

WA-VERIFY-102: Audit BigDecimal.new usage#1106
kitcommerce wants to merge 1 commit intonextfrom
wa-verify-102-audit-bigdecimal-new

Conversation

@kitcommerce
Copy link
Contributor

Fixes #1105

Summary

  • Audited the repo for deprecated BigDecimal.new usage (no call sites found).
  • Enabled RuboCop's Lint/BigDecimalNew cop to prevent future reintroduction.

Testing

  • N/A (static analysis configuration change only)

Client impact

None expected.

@kitcommerce kitcommerce added gate:build-passed Build gate passed review:architecture-pending Review in progress review:simplicity-pending Review in progress review:security-pending Review in progress review:rails-conventions-pending Rails conventions review in progress labels Mar 17, 2026
@kitcommerce
Copy link
Contributor Author

Wave 1 Review Results

architecture: PASS — lint-only change; no runtime coupling.
simplicity: PASS — enabling the cop is the smallest enforcement mechanism.
security: PASS — reduces risk of Ruby 3.4 breakage; no security impact.
rails-conventions: PASS_WITH_NOTES — this assumes the repo’s RuboCop version includes (CI passed here, but downstream apps on older RuboCop may need a bump to benefit).

Wave 1 PASSED. Good to proceed to Wave 2 / merge.

@kitcommerce
Copy link
Contributor Author

(Minor fix) The cop name referenced above is: .

@kitcommerce
Copy link
Contributor Author

(Minor fix) The cop name referenced above is: Lint/BigDecimalNew.

@kitcommerce kitcommerce added review:architecture-done Review complete review:simplicity-done Review complete review:security-done Review complete review:rails-conventions-done Rails conventions review complete review:wave1-complete review:test-quality-pending Review in progress review:architecture-pending Review in progress review:database-pending Database review in progress review:security-pending Review in progress review:rails-security-pending Rails security review in progress review:simplicity-pending Review in progress review:rails-conventions-pending Rails conventions review in progress and removed review:architecture-pending Review in progress review:simplicity-pending Review in progress review:security-pending Review in progress review:rails-conventions-pending Rails conventions review in progress labels Mar 17, 2026
Copy link
Contributor Author

@kitcommerce kitcommerce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wave2 review (PR #1106)

{"reviewer":"test-quality","verdict":"PASS","severity":null,"summary":"Lint-only change; no test coverage concerns.","findings":[]}
{"reviewer":"architecture","verdict":"PASS","severity":null,"summary":"Static analysis configuration only; no architecture impact.","findings":[]}
{"reviewer":"database","verdict":"PASS","severity":null,"summary":"No database impact.","findings":[]}
{"reviewer":"security","verdict":"PASS","severity":null,"summary":"No security impact.","findings":[]}
{"reviewer":"rails-security","verdict":"PASS","severity":null,"summary":"No Rails security impact.","findings":[]}
{"reviewer":"simplicity","verdict":"PASS","severity":null,"summary":"Small, focused RuboCop config addition.","findings":[]}
{"reviewer":"rails-conventions","verdict":"PASS_WITH_NOTES","severity":"LOW","summary":"Looks fine; just ensure our RuboCop version supports the cop in all supported branches.","findings":[{"severity":"LOW","file":".rubocop.yml","line":1,"issue":"Enabling a new cop can break CI if a downstream environment pins an older RuboCop without Lint/BigDecimalNew.","suggestion":"If any supported branches pin older RuboCop, consider gating via TargetRubyVersion/RuboCop upgrade, or document minimum RuboCop version."}]}

@kitcommerce kitcommerce added review:test-quality-passed Auto-review label review:architecture-passed Architecture review passed review:database-passed Auto-review label labels Mar 17, 2026
@kitcommerce kitcommerce added review:simplicity-passed Auto-review: simplicity passed review:rails-conventions-passed Auto-review: rails conventions passed review:wave2-complete review:performance-pending Review in progress review:frontend-pending Frontend review in progress review:accessibility-pending Review in progress review:wave3-complete Wave 3 review complete review:performance-done Review complete review:frontend-done Frontend review complete review:accessibility-done Review complete review:documentation-pending review:documentation-done review:wave4-complete Wave 4 (documentation) review complete merge:ready All conditions met, eligible for merge merge:hold In hold window before auto-merge and removed review:test-quality-pending Review in progress review:architecture-pending Review in progress review:database-pending Database review in progress review:security-pending Review in progress review:rails-security-pending Rails security review in progress review:simplicity-pending Review in progress review:rails-conventions-pending Rails conventions review in progress review:performance-pending Review in progress review:accessibility-pending Review in progress review:frontend-pending Frontend review in progress review:documentation-pending labels Mar 17, 2026
@kitcommerce
Copy link
Contributor Author

⚠️ Merge conflict detected (mergeStateStatus: DIRTY). Cannot auto-merge. Blocking for resolution.

@kitcommerce
Copy link
Contributor Author

⚠️ Merge Conflict

Auto-merge blocked: mergeStateStatus: DIRTY — branch has conflicts with next. Rebasing required before merge can proceed.

Please rebase on next and push to resolve.

@kitcommerce kitcommerce added the blocked:merge-conflict PR has merge conflicts label Mar 17, 2026
@kitcommerce
Copy link
Contributor Author

⚠️ Merge conflict detected. Please rebase on next and push to re-enter the merge queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked:merge-conflict PR has merge conflicts gate:build-passed Build gate passed merge:hold In hold window before auto-merge merge:ready All conditions met, eligible for merge review:accessibility-done Review complete review:architecture-done Review complete review:architecture-passed Architecture review passed review:database-passed Auto-review label review:documentation-done review:frontend-done Frontend review complete review:performance-done Review complete review:rails-conventions-done Rails conventions review complete review:rails-conventions-passed Auto-review: rails conventions passed review:rails-security-passed Auto-review label review:security-done Review complete review:security-passed Auto-review: security passed review:simplicity-done Review complete review:simplicity-passed Auto-review: simplicity passed review:test-quality-passed Auto-review label review:wave1-complete review:wave2-complete review:wave3-complete Wave 3 review complete review:wave4-complete Wave 4 (documentation) review complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant