Repository navigation
fix(docs): emit one BlogPosting per blog post - #78611
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Visual check overviewCaptured Capture and comparison
Accessibility observationsThe accessibility snapshot covered only the desktop view of
Console and cleanup
Next actions
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the blog structured-data deduplication and metadata-enrichment changes.
No open issues 🎉
What changed in this PR
Fixes duplicate blog structured data by keeping starlight-blog as the sole source of BlogPosting entities and enriching missing metadata in the docs site’s custom head.
Changes:
- Removes the custom
BlogPosting, adding missing publisher and modification-date metadata to the plugin’s entity while preserving breadcrumbs. - Expands regression checks to collect entities across JSON-LD scripts and require exactly one blog posting.
- Documents structured-data ownership and enrichment behavior.
| File | Description |
|---|---|
docs/tests/schema-jsonld.spec.ts |
Checks entity uniqueness, blog metadata, breadcrumbs, and existing page schemas. |
docs/tests/helpers/json-ld.ts |
Adds helpers to collect and filter entities across JSON-LD scripts. |
docs/src/components/CustomHead.astro |
Replaces duplicate blog schema generation with plugin metadata enrichment. |
docs/README.md |
Documents plugin ownership and metadata fallback behavior. |
Review effort: Balanced (adaptive)
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering. Structured data{
"completed_task": 0,
"head": "0d7a006361e51cc598ab2f29ea2ef7fe47bdd341",
"kind": "requested",
"schema_version": "1",
"state": "3d05e148f417bc70bd7f121545972e0bb111937af65f614938376c50af32f0b5",
"work": [
"51e2287c3d1ee41b7e13769862add61dcd292a623cf943abc5968c984e246bcf"
],
"workflow": "pr-sous-chef"
}
|
…-blogposting-entries Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Merged latest |
|
@copilot resolve the merge conflicts on this branch. |
…-blogposting-entries # Conflicts: # docs/README.md Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Resolved in |
|
@copilot resolve the merge conflicts on this branch. |
…-blogposting-entries # Conflicts: # docs/src/components/CustomHead.astro Co-authored-by: copilot-swe-agent[bot] <[email protected]>
|
@copilot resolve the merge conflicts on this branch. |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Resolved in |
This PR was merged into |
|
🎉 This pull request is included in a new release. Release: |
Both
starlight-blogand the custom head emitBlogPostingentities, creating duplicate structured data. Keep the plugin’s entity and breadcrumbs, enriching only missing metadata.BlogPosting; supply the site publisher anddateModifiedfromlastUpdated, falling back todatePublished.BlogPostingand verify metadata and breadcrumb contents.