Skip to content

Remove unused Event.for_subject scope#1089

Merged
dreikanter merged 3 commits into
mainfrom
agent/f108-remove-event-for-subject
Jul 18, 2026
Merged

Remove unused Event.for_subject scope#1089
dreikanter merged 3 commits into
mainfrom
agent/f108-remove-event-for-subject

Conversation

@dreikanter

Copy link
Copy Markdown
Owner

Changes:

  • Remove the unused Event.for_subject scope.
  • Remove the test that only exercised that scope.

Why:

The scope has no application callers and adds an unnecessary model API.

References:

Checks:

  • Remaining event model coverage is unchanged.
  • GitHub Actions will verify the branch.

@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.55%. Comparing base (ce0547a) to head (5e3c818).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1089      +/-   ##
==========================================
- Coverage   97.55%   97.55%   -0.01%     
==========================================
  Files         355      355              
  Lines        8358     8357       -1     
==========================================
- Hits         8154     8153       -1     
  Misses        204      204              
Files with missing lines Coverage Δ
app/models/event.rb 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dreikanter
dreikanter marked this pull request as ready for review July 18, 2026 21:52
@dreikanter
dreikanter merged commit 7daacbb into main Jul 18, 2026
14 checks passed
@dreikanter
dreikanter deleted the agent/f108-remove-event-for-subject branch July 18, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant