Skip to content

[RSS Feed] Fix Meshery community feed leaving out every event and all 2025–2026 content - #8247

Merged
Maanvi212006 merged 3 commits into
layer5io:masterfrom
ayushgade06:fix/8246-community-feed-sort
Nov 7, 2026
Merged

Maanvi212006 merged 3 commits into
layer5io:masterfrom
ayushgade06:fix/8246-community-feed-sort

Conversation

@ayushgade06

@ayushgade06 ayushgade06 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR fixes #8246

The Meshery community feed (/meshery-community-feed.xml) is the data source for the "What's New?" panel in Layer5 Cloud. It is meant to list all published events plus tagged Meshery posts, newest first. Right now it stops at November 2024 and has no events at all, so the panel never shows anything from 2025 or 2026.

The feed's query sorted entries by their raw date frontmatter. That value is written in mixed formats across posts, so the sort doesn't follow real dates. The query then kept only the first 100 sorted entries, and only after that picked out the events and Meshery posts. Because the sort was wrong, the newest entries and every event were dropped before that step ever saw them.

Changes in gatsby-config.js:

  • Sort by the normalized dateForSort field instead of the raw date. The blog feed and blog pages already use this field; it was added in "fix: date sort" (a28b0c9), but this feed was missed.
  • Remove the limit of 100 applied before the filter. Even with the correct sort, it cut the feed to 29 items instead of 30. The feed is still capped at 30 items after filtering, as before.

Notes for Reviewers

  • Result in a local build: the feed has 30 items (24 of them events), newest first, opening with KubeCon EU 2027, KubeCon NA 2026, GSoC Summit 2026, KubeCon India 2026, KubeCon EU 2026, KubeCon NA 2025, Hacktoberfest 2025 and KubeCon EU 2025, followed by older events and Meshery posts.
  • The "What's New?" panel reads the production feed, so it will only update once this is deployed to layer5.io.
  • Removing the limit means the query reads about 260 published entries instead of 100. That happens only at build time and has no effect on the output size.
  • The other feeds (blog, news, events) are not changed.

Screenshots
after-feed-first-items
after-feed-top

Signed commits

  • Yes, I signed my commits.

Summary by CodeRabbit

  • Bug Fixes
    • The Meshery community RSS feed now orders blog, resource, news, and event entries by their sorting date, newest first.
    • The feed is no longer limited to 100 entries.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4b378e72-ad13-4b72-b1cd-9935215fa64a
Commits

Reviewing files that changed from the base of the PR and between c1d53c4 and 19d380e.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The Meshery community feed query now sorts results by dateForSort descending. It no longer limits results to 100 items.

Changes: Meshery community feed

Layer / File(s) Summary
Feed query behavior
gatsby-config.js
The query sorts results by dateForSort descending and removes the 100-item limit.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix · Severity of issue fixed: Medium

Suggested labels: project/meshery

Suggested reviewers: leecalcote

Merge Risk: Minimal · previous review eff9b

The feed change matches the requested newest-first behavior and remains capped at 30 items.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the RSS feed issue and the missing events and 2025–2026 content addressed by the changes.
Linked Issues check Passed Issue #8246 requires the Meshery community feed to include published events and tagged Meshery posts in newest-first order. The PR changes the feed query in gatsby-config.js to sort by `fields.dateF…
Out of Scope Changes check Passed The diff changes only the Meshery community feed query in gatsby-config.js. The changes directly support issue #8246 by correcting date ordering and allowing the post-filter 30-item cap to receive a…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
Full details: Linked Issues check

Explanation

Issue #8246 requires the Meshery community feed to include published events and tagged Meshery posts in newest-first order. The PR changes the feed query in gatsby-config.js to sort by fields.dateForSort descending. It removes the pre-filter limit: 100. The existing serializer still filters events and tagged posts, then applies .slice(0, 30). The PR summary reports a local build with 30 items and the expected newest events first. No separate automated-test requirement appears in issue #8246.

Full details: Out of Scope Changes check

Explanation

The diff changes only the Meshery community feed query in gatsby-config.js. The changes directly support issue #8246 by correcting date ordering and allowing the post-filter 30-item cap to receive all matching entries. No unrelated feed or application changes are present.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Finishing Touches

🧪 Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 32e9fae9-0d10-41cf-9fae-dc26b0fda9f8
Commits

Reviewing files that changed from the base of the PR and between 521061d and eff9bae.

Files selected for processing: 1

  • gatsby-config.js

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

The feed sorted on frontmatter.date, which holds mixed date formats,
and applied a limit of 100 before the serialize filter. The newest
posts and every event were cut before the filter ran. Sort on the
normalized dateForSort field, as the blog feed already does, and drop
the pre-filter limit; serialize already caps the output at 30.

Signed-off-by: Ayush Gade <ayushgade23@gmail.com>
@ayushgade06
ayushgade06 force-pushed the fix/8246-community-feed-sort branch from 278d19e to eff9bae Compare October 27, 2026 09:00
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for PR #8247 removed.

This PR preview was automatically pruned because we keep only the 3 most recently updated previews on GitHub Pages to stay within deployment size limits.

If needed, push a new commit to this PR to generate a fresh preview.

@ayushgade06

Copy link
Copy Markdown
Contributor Author

@PARTH-TUSSLE @Maanvi212006 could you guys take a look at the PR
thanks :)

@PARTH-TUSSLE PARTH-TUSSLE left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 🦖

@tanav29

tanav29 commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Could we add a regression check for the generated feed with mixed date formats and more than 100 published entries? Checking the newest matching event and the 30-item limit would help catch this ordering/filtering bug if the query changes again.

@hortison

hortison commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

This is a good item to add to the weekly Websites meeting agenda. You can add this item in the doc, attend, and present it. Meeting details can be found at https://meshery.io/calendar.

        Be sure to join the community, if you haven't yet and please leave a ⭐ star on the project 😄

@ayushgade06

Copy link
Copy Markdown
Contributor Author

Could we add a regression check for the generated feed with mixed date formats and more than 100 published entries? Checking the newest matching event and the 30-item limit would help catch this ordering/filtering bug if the query changes again.

Thanks, good idea. The ordering bug sat in the GraphQL sort on frontmatter.date, which only runs during a full Gatsby build, so catching it would need a build-level check rather than a unit test. The repo doesn't have one for any feed yet. This PR also removes limit: 100, so posts are no longer cut before the event filter runs. I'd rather keep this PR to the minimal fix and open a separate issue for a post-build check on the generated feed XML (newest event first, at most 30 items).

@Maanvi212006
Maanvi212006 merged commit 11ae753 into layer5io:master Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Meshery community RSS feed is out of order and leaves out every event, so Layer5 Cloud's "What's New" stops at November 2024

5 participants