Skip to content

WA-VERIFY-109: Run deprecation warning sweep under default appraisal (Rails 7.0) #1128

@kitcommerce

Description

@kitcommerce

Summary

Run the Workarea test suite with deprecation warnings captured and review any new Rails deprecation warnings that appear under the default (Rails 7.0) appraisal.

Objective

Periodic sweep to catch deprecation warnings before they become errors in a future Rails version.

Approach

export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" && eval "$(rbenv init - zsh)"
cd /path/to/workarea/core

# Run with deprecation logging enabled (Rails prints deprecations to test logs)
RAILS_ENV=test bundle exec rake test 2>&1 | grep -E 'DEPRECATION WARNING|deprecated' | sort | uniq -c | sort -rn | head -30

Acceptance Criteria

  • Deprecation sweep run against core engine (minimum)
  • All deprecation warnings catalogued in notes file
  • Any new (previously untracked) warnings have follow-up issues created or marked N/A
  • Notes file: notes/WA-VERIFY-109-deprecation-sweep-$(date +%Y-%m).md

Verification Plan

Output of deprecation count command is the artifact. PASS if no new untracked warnings.

Client Impact

None (test run only).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions