Skip to content

Split TryGhost package updates into smaller groups#27233

Merged
ErisDS merged 2 commits into
mainfrom
investigate/renovate-followup
Apr 8, 2026
Merged

Split TryGhost package updates into smaller groups#27233
ErisDS merged 2 commits into
mainfrom
investigate/renovate-followup

Conversation

@ErisDS
Copy link
Copy Markdown
Member

@ErisDS ErisDS commented Apr 8, 2026

Summary

  • split the broad shared @tryghost/* update group into smaller non-overlapping groups in Ghost's local Renovate config
  • separate runtime packages, admin support packages, content/email packages, and test support packages
  • keep the existing NQL special-casing in place while making future @tryghost/* update PRs easier to diagnose and merge incrementally

Why this change

The current shared tryghost-packages group is too broad to debug efficiently. Recent failures mixed together email rendering changes, admin-facing utility updates, runtime plumbing, and test support packages, so a failure in one area blocked all of the others.

Splitting the internal package updates into smaller logical lanes should let Ghost reopen and validate one subset at a time instead of carrying a single noisy grouped PR.

The shared Renovate preset groups many internal @TryGhost packages into a
single broad PR. In practice that has made failures hard to diagnose:
rendering and email changes, admin-facing utility updates, runtime
plumbing, and test support packages all land together and a failure in
one area blocks the rest.

Split those internal packages into smaller non-overlapping groups so we
can work through them independently. This should make it much easier to
reopen and validate one logical lane at a time instead of carrying a
single noisy tryghost-packages PR.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 8, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 493571a2-34c0-4203-8d85-2b7ae032b6cf

📥 Commits

Reviewing files that changed from the base of the PR and between dca7a69 and 539b795.

📒 Files selected for processing (1)
  • .github/renovate.json5
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/renovate.json5

Walkthrough

The change adds four new package rules to the Renovate configuration file. These rules organize TryGhost scoped packages into separate groupings: runtime packages, admin support packages, content and email packages, and test support packages. Each rule specifies a group name and a list of package names to match. No existing configuration rules were modified or removed.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Split TryGhost package updates into smaller groups' directly and clearly describes the main change: reorganizing the Renovate configuration to separate a broad package group into smaller logical groupings.
Description check ✅ Passed The description is fully related to the changeset, explaining the motivation (current broad group is inefficient for debugging), the solution (splitting into smaller groups), and the expected benefits (easier incremental validation).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch investigate/renovate-followup

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/renovate.json5:
- Around line 110-175: Move the entry "@tryghost/email-mock-receiver" out of the
"TryGhost runtime packages" matchPackageNames array and add it to the "TryGhost
test support packages" matchPackageNames array so it is grouped with
"@tryghost/webhook-mock-receiver" and "@tryghost/express-test"; also check the
package's declaration in package.json (currently listed in dependencies) and
confirm whether it should be a devDependency before finalizing the change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f424ef3c-dc78-41f7-917b-05f34a4b0206

📥 Commits

Reviewing files that changed from the base of the PR and between 09d0a0b and dca7a69.

📒 Files selected for processing (1)
  • .github/renovate.json5

Comment thread .github/renovate.json5
CodeRabbit pointed out that @tryghost/email-mock-receiver is only
referenced from ghost/core test helpers, so grouping it with the runtime
lane makes the internal package split less representative of how Ghost
actually uses it. Move it into the test support group alongside the
other test-only TryGhost helpers.

The package still lives in ghost/core dependencies today, so this change
only adjusts the Renovate grouping, not the package declaration itself.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 8, 2026

@ErisDS ErisDS merged commit 8ec8482 into main Apr 8, 2026
4 checks passed
@ErisDS ErisDS deleted the investigate/renovate-followup branch April 8, 2026 15:49
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.45%. Comparing base (9cb1835) to head (539b795).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27233      +/-   ##
==========================================
+ Coverage   73.42%   73.45%   +0.02%     
==========================================
  Files        1545     1545              
  Lines      123643   123642       -1     
  Branches    14948    14954       +6     
==========================================
+ Hits        90790    90822      +32     
+ Misses      31832    31822      -10     
+ Partials     1021      998      -23     
Flag Coverage Δ
admin-tests 54.38% <ø> (+0.01%) ⬆️
e2e-tests 73.45% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

franky19 pushed a commit to franky19/Ghost that referenced this pull request Apr 18, 2026
…host#27233)

The shared Renovate preset groups many internal @TryGhost packages into a
single broad PR. In practice that has made failures hard to diagnose:
rendering and email changes, admin-facing utility updates, runtime
plumbing, and test support packages all land together and a failure in
one area blocks the rest.

Split those internal packages into smaller non-overlapping groups so we
can work through them independently. This should make it much easier to
reopen and validate one logical lane at a time instead of carrying a
single noisy tryghost-packages PR.
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