Skip to content

merge queue: checking #12593 on main (3a10326) - #12638

Closed
mergify[bot] wants to merge 2 commits into
mainfrom
mergify/merge-queue/916f21f232
Closed

merge queue: checking #12593 on main (3a10326)#12638
mergify[bot] wants to merge 2 commits into
mainfrom
mergify/merge-queue/916f21f232

Conversation

@mergify

@mergify mergify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request has been checked successfully and will be merged soon. 🎉

#12593 is queued for merge on branch main (3a10326).

This pull request has been created by Mergify to check the mergeability of #12593.
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue rule default for merge:

Required conditions to stay in the queue:

---
checking_base_sha: 3a103267ba932e5b97e367dab16c5a379945b20f
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 12593
    scopes: []
scopes: []
...

jd and others added 2 commits September 1, 2026 10:50
`getOgImageUrl` strips the leading and trailing slashes off the pathname to
build the image filename. For the homepage that pathname is `/`, so stripping
left an empty string and the lookup missed — every docs page had an OpenGraph
image and the homepage shipped `<meta property="og:image">` with no content.

The homepage's collection id is `index`, which is what `getStaticPaths` names
its image, so fall back to that when the slug comes out empty.

Covered by a regression test that fails against the old expression. The
generated-image set comes from the content collection and needs the Astro build
pipeline, so the test stubs it and exercises the derivation, which is the half
that was wrong.

Change-Id: Ifb9a23ea2caa20d28489a4f21363d85ed5e3342c
@mergify
mergify Bot deployed to Mergify Merge Protections September 1, 2026 08:53 Active
@mergify mergify Bot closed this Sep 1, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/916f21f232 branch September 1, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant