Skip to content

[pull] main from TryGhost:main#1066

Merged
pull[bot] merged 5 commits into
code:mainfrom
TryGhost:main
Apr 15, 2026
Merged

[pull] main from TryGhost:main#1066
pull[bot] merged 5 commits into
code:mainfrom
TryGhost:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 15, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

EvanHahn and others added 5 commits April 15, 2026 17:49
ref #27083
ref 353552f

Here's the prompt I gave to Claude Sonnet 4.6:

> When I ran `cd ghost/core && yarn test:e2e` on a fresh clone, new
snapshots were generated, and `git status` wasn't clean. That's not what
I want!
>
> Update the GitHub CI scripts so that, if `git diff`/`git status` isn't
empty after running tests, CI fails.

Co-authored-by: Steve Larson <9larsons@gmail.com>
ref https://linear.app/tryghost/issue/NY-1227/

This exposes a new `/automated_emails/:id/preview` endpoint, which
returns the rendered HTML of a welcome email via the Admin API.
Ultimately this will be used for a new "Preview" toggle in the welcome
email editor, allowing users to preview their welcome email with their
own content and custom design settings. By rendering the preview on the
backend using the same code as the actual rendering, we can be confident
that there won't be drift in the preview as compared to the actual
welcome emails.
ref #27398

- main now trims whitespace around the email wrapper partial (ref
51ba768)
- this snapshot was merged from a PR that didn't include the whitespace
change from main
- this updates the snapshot to match the new behavior
no ref

Breaks down the single `Aggregation` timing metric in email analytics job logs into separate `Email` and `Member` aggregation measurements - log line now shows: `Aggregation 5.2s (40%) [Email 1.1s / Member 4.1s]` instead of just `Aggregation 5.2s (40%)`.

Helps identify whether email or member aggregation is the bottleneck in slow analytics jobs.
@pull pull Bot locked and limited conversation to collaborators Apr 15, 2026
@pull pull Bot added the ⤵️ pull label Apr 15, 2026
@pull pull Bot merged commit 112bf52 into code:main Apr 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants