Dropped email_tracked_sent_count column from automation action revisions#29322
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (2)
WalkthroughRemoves the 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Checkov (3.3.8)ghost/admin/package.jsonTraceback (most recent call last): ghost/core/package.jsonTraceback (most recent call last): Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
It looks like this PR contains a migration 👀 General requirements
Schema changes
Data changes
|
email_tracked_sent_count column from automation action revisions
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run ghost:test:ci:integration |
✅ Succeeded | 2m 18s | View ↗ |
nx run ghost:test:integration |
✅ Succeeded | 3m 3s | View ↗ |
nx run ghost:test:legacy |
✅ Succeeded | 3m 10s | View ↗ |
nx run ghost:test:e2e |
✅ Succeeded | 2m 41s | View ↗ |
nx run ghost-admin:test |
✅ Succeeded | 2m 48s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 1m 46s | View ↗ |
nx run ghost-monorepo:lint:boundaries |
✅ Succeeded | 20s | View ↗ |
nx run-many -t test:unit -p ghost |
✅ Succeeded | 30s | View ↗ |
Additional runs (2) |
✅ Succeeded | ... | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-07-20 14:21:19 UTC
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #29322 +/- ##
==========================================
+ Coverage 74.41% 74.53% +0.11%
==========================================
Files 1602 1602
Lines 140269 140399 +130
Branches 17047 17065 +18
==========================================
+ Hits 104386 104643 +257
+ Misses 34861 34700 -161
- Partials 1022 1056 +34
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
78a7e32 to
baca12b
Compare
|
Tested manually on MySQL and Sqlite. Did not test on staging because this is a simple drop column on a table that should have no more than 1000 rows. |
closes https://linear.app/ghost/issue/NY-1463/drop-email-tracked-sent-count-column Open rates now use total sent count, so the separate tracked aggregate is unnecessary.
baca12b to
db0c6b4
Compare

closes https://linear.app/ghost/issue/NY-1463/drop-email-tracked-sent-count-column
Open rates now use total sent as their denominator, making the tracked-only aggregate redundant and potentially confusing — let's drop the column.