Skip to content

[pull] main from TryGhost:main#1090

Merged
pull[bot] merged 4 commits intocode:mainfrom
TryGhost:main
Apr 23, 2026
Merged

[pull] main from TryGhost:main#1090
pull[bot] merged 4 commits intocode:mainfrom
TryGhost:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 23, 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 : )

vershwal and others added 4 commits April 23, 2026 05:57
ref  https://linear.app/ghost/issue/HKG-1709/deduplicate-concurrent-cache-misses

- Concurrent cache misses for the same key were each calling fetchData(), causing
duplicate upstream queries when a single shared fetch was enough.
- This keeps coalescing scoped to the miss path so cache hits still read from
Redis independently without unnecessary serialization.
- The in-flight map is keyed by internalKey so prefix-hash invalidation remains
correct across reset() cycles and stale pre-reset fetches cannot leak into the
new cache generation.
- When internalKey lookup fails, coalescing is skipped entirely and the degraded
path falls back to fetchData() directly.
no issues

Follow-up tweaks to #27459:

- Scaled the gift event icon down so its footprint matches other event
icons, and nudged it up 1px for better optical centering
- Moved the tier name out of the action string into the info span so
gift redemptions render as `Started paid subscription via gift (Bronze)`
— matches the existing `subscription_event` pattern
no issues

Dropped "a" from the gift purchase event in member activity which makes
it consistent with other events.
ref https://linear.app/ghost/issue/BER-3477

- the previous flow showed a generic **"Gift redeemed! You're all
set."** toast and then rendered the Portal account page
- now, we don't render the Portal account page after redemption and the
toast includes the tier and expiry date (e.g. **"You now have access to
Ultra until 27 May 2026. Enjoy!"**)
- why: the account page is going to display a call-to-action to
"Continue subscription" with a paid subscription for gift subscribers in
a follow-up PR. This call-to-action should however not be shown during
the gift redemption flow. Therefore, we don't open the account page as
part of the gift redemption success state anymore.
@pull pull Bot locked and limited conversation to collaborators Apr 23, 2026
@pull pull Bot added the ⤵️ pull label Apr 23, 2026
@pull pull Bot merged commit fc0efb7 into code:main Apr 23, 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