Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "chore: refactor the generateBlogData function (#7607)" #7617

Merged

Conversation

dario-piotrowicz
Copy link
Contributor

@dario-piotrowicz dario-piotrowicz commented Apr 3, 2025

This reverts commit b7364b9.

Description

My change in #7607 actually causes blog tabs to 404s 😓

I'm really sorry for this, I must admit that I did not check my changes with next build + next start but only with next dev and my changes work perfectly fine with the latter 😓

Since this effecting the production site I would assume that this need to be reverted asap, I'll anyways look into the issue and try to re-land the refactoring afterwords

Validation

Related Issues

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run npm run format to ensure the code follows the style guide.
  • I have run npm run test to check if all tests are passing.
  • I have run npx turbo build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@Copilot Copilot bot review requested due to automatic review settings April 3, 2025 20:38
@dario-piotrowicz dario-piotrowicz requested a review from a team as a code owner April 3, 2025 20:38
Copy link

vercel bot commented Apr 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Apr 3, 2025 8:40pm

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

apps/site/next-data/generators/blogData.mjs:80

  • [nitpick] Using an array to store the frontmatter with string keys is non-standard, which may be confusing. Consider using an object or Map for clearer intent when keying by filename.
rawFrontmatter[filename] = [0, ''];

@bjohansebas bjohansebas added fast-track Fast Tracking PRs github_actions:pull-request Trigger Pull Request Checks labels Apr 3, 2025
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Apr 3, 2025
@ovflowd ovflowd merged commit 672525e into nodejs:main Apr 3, 2025
16 checks passed
Copy link
Contributor

github-actions bot commented Apr 3, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟠 88 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 99 🟢 100 🟢 100 🟢 92 🔗
/en/download 🟢 98 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

@ovflowd
Copy link
Member

ovflowd commented Apr 3, 2025

Fast-tracking as it is affecting production!

Copy link
Contributor

github-actions bot commented Apr 3, 2025

Unit Test Coverage Report

Title Lines Statements Branches Functions
@node-core/ui-components Coverage: 95%
95.83% (161/168) 77.86% (102/131) 88.57% (31/35)
@nodejs/website Coverage: 87%
84.73% (494/583) 76.03% (165/217) 86.99% (107/123)
Title Tests Skipped Failures Errors Time
@node-core/ui-components 24 0 💤 0 ❌ 0 🔥 4.919s ⏱️
@nodejs/website 156 0 💤 0 ❌ 0 🔥 6.328s ⏱️

@dario-piotrowicz dario-piotrowicz deleted the dario/revert-generateBlogData-change branch April 3, 2025 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track Fast Tracking PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants