Skip to content

Conversation

@leecalcote
Copy link
Member

@leecalcote leecalcote commented Dec 4, 2025

Signed-off-by: Lee Calcote lee.calcote@layer5.io

Description

A new make target: check-images reports if any <GatsbyImage /> lacking an explicit image prop (exit code 1 when issues are found).

To narrow the scan to a folder with make check-images -- src/pages/community. This script is useful as a guardrail.

…andling

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
… dedicated runtime chunk plus explicit framework and vendor cache groups

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
…Data

Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
@saurabhraghuvanshii
Copy link
Contributor

Build failing

@leecalcote
Copy link
Member Author

Build failing

Clearly, it is. This sort of feedback isn't helpful.

@leecalcote leecalcote removed the request for review from saurabhraghuvanshii December 4, 2025 17:39
Signed-off-by: Lee Calcote <leecalcote@gmail.com>
@Fireentity
Copy link
Contributor

Fireentity commented Dec 6, 2025

This build is probably failing because of a function called before its definition. I'm trying to check if this is true

Copy link
Contributor

@Fireentity Fireentity left a comment

Choose a reason for hiding this comment

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

The modifications are causing the build to fail, even after the corrections I suggested, with the following error:


ERROR  UNKNOWN

Truncated page data information for the failed page "/learn/learning-paths/mastering-service-meshes-for-developers/introduction-to-service-meshes/istio/deploy-an-application": {

 "errors": {},
 "path": "/learn/learning-paths/mastering-service-meshes-for-developers/introduction-to-service-meshes/istio/deploy-an-application",
 "slicesMap": {},
 "pageContext": {
   "learnpath": "mastering-service-meshes-for-developers",
   "slug": "learn/learning-paths/mastering-service-meshes-for-developers/introduction-to-service-meshes/istio/deploy-an-application",
   "course": "introduction-to-service-meshes",
   "section": "istio",
   "chapter": "deploy-an-application",
   "pageType": "chapter",
   "frontmatter": {
     "docType": "Chapter",
     "chapterTitle": "Deploy a sample application",
     "description": "Meshery, collaborative Kubernetes manager",
     "videos": 4,
     "lectures": 12,
     "order": 2

   }
 }
}

failed Building static HTML for pages - 3.027s

ERROR #95313  HTML.COMPILATION

Building static HTML failed for path "/learn/learning-paths/mastering-service-meshes-for-developers/introduction-to-service-meshes/istio/deploy-an-application"

See our docs page for more info on this error: https://gatsby.dev/debug-html

 WebpackError: [Chapters] Missing meshesYouLearn image data for: istio, linkerd (chapter: learn/learning-paths/mastering-service-meshes-for-developers/introduction-to-service-meshes/istio/deploy-an-application).

This error is caused by the absence of meshesYouLearn in the frontmatter of some files. While some items in the content-learn folder clearly have the field, others do not. This might be intended (implying we want to add that information there as well), or it might be an error.

leecalcote and others added 3 commits December 6, 2025 15:58
Co-authored-by: Lorenzo Croce <41270564+Fireentity@users.noreply.github.com>
Signed-off-by: Lee Calcote <leecalcote@gmail.com>
Co-authored-by: Lorenzo Croce <41270564+Fireentity@users.noreply.github.com>
Signed-off-by: Lee Calcote <leecalcote@gmail.com>
@leecalcote
Copy link
Member Author

@Fireentity's code change suggestions have been applied. This branch is now sync'ed with master.

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.

4 participants