Simplified conditionals in author serialization - #30363
Conversation
no ref We were doing some redundant checks here. Let's remove them.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: QUIET Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 3 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (12)
🧰 Additional context used📓 Path-based instructions (4)New source files must be TypeScript: flag new JS files as a required change⚙️ CodeRabbit configuration file Files:
Prioritise concrete correctness, security, data-integrity, compatibility,⚙️ CodeRabbit configuration file Files:
New files are TypeScript: Fail if the PR adds a new .js/.jsx/.cjs/.mjs source file, unless it is: a DB📄 CodeRabbit inference engine (Custom checks) Files:
Always use `pnpm`, never npm or Yarn.📄 CodeRabbit inference engine (AGENTS.md) Files:
🔇 Additional comments (1)
WalkthroughThe author relation Suggested reviewers: Merge Risk: ⚪ Minimal · up to This is a localized simplification with no actionable merge-blocking risk remaining beyond normal checks and review. 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
Full details: Type-Safe BoundariesExplanation PASS. The PR changes only two conditional expressions in the pre-existing JavaScript file Full details: New Files Are TypescriptExplanation PASS. The pull request changes only ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run ghost:test:ci:integration |
✅ Succeeded | 4m 44s | View ↗ |
nx run ghost:test:legacy |
✅ Succeeded | 3m 7s | View ↗ |
nx run ghost-monorepo:lint:boundaries |
✅ Succeeded | 25s | View ↗ |
nx run-many -t test:unit -p ghost |
✅ Succeeded | 36s | View ↗ |
nx run-many -t lint -p ghost,ghost-monorepo |
✅ Succeeded | 26s | View ↗ |
nx run @tryghost/admin:build |
✅ Succeeded | 7s | View ↗ |
nx run @tryghost/e2e:test:fixtures |
✅ Succeeded | <1s | View ↗ |
nx run-many --target=build --projects=tag:publi... |
✅ Succeeded | <1s | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-08-28 14:34:49 UTC
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #30363 +/- ##
==========================================
- Coverage 75.99% 75.99% -0.01%
==========================================
Files 1676 1676
Lines 159975 159971 -4
Branches 19574 19571 -3
==========================================
- Hits 121572 121567 -5
- Misses 37382 37414 +32
+ Partials 1021 990 -31
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:
|

no ref
We were doing some redundant checks here. Let's remove them.