Skip to content

fix(archive): add null-post guard in ArchiveFeedPage#6018

Merged
idoshamun merged 1 commit into
mainfrom
eng-1421-fix-500-on-best-of-archive-pages-filter-out-deleted-posts-in
May 10, 2026
Merged

fix(archive): add null-post guard in ArchiveFeedPage#6018
idoshamun merged 1 commit into
mainfrom
eng-1421-fix-500-on-best-of-archive-pages-filter-out-deleted-posts-in

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented May 10, 2026

Summary

  • Filter out archive items with null posts in ArchiveFeedPage before rendering, preventing SSR crashes (TypeError: Cannot read properties of null) when the backend returns items referencing deleted posts

Defense-in-depth frontend guard complementing the backend fix in dailydotdev/daily-api#3863.

Closes ENG-1421


Created by Huginn 🐦‍⬛

Preview domain

https://eng-1421-fix-500-on-best-of-arch.preview.app.daily.dev

Filter out archive items with null posts as defense-in-depth to
prevent SSR crashes when the backend returns items with missing posts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 10, 2026 3:32pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 10, 2026 3:32pm

Request Review

@idoshamun idoshamun merged commit 55dd186 into main May 10, 2026
13 checks passed
@idoshamun idoshamun deleted the eng-1421-fix-500-on-best-of-archive-pages-filter-out-deleted-posts-in branch May 10, 2026 17:02
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