Skip to content

Sitemap sometimes not generated correctly #10171

@ktym4a

Description

@ktym4a

Astro Info

Astro                    v4.4.1
Node                     v20.10.0
System                   macOS (arm64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             @astrojs/sitemap

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

After #9846, sometimes the structure is incorrect when generating the sitemap. (even not set prefix)

but ${pefix}-0.xml is always the correct structure.

sitemap.mov

What's the expected result?

Always generated with the correct structure

Link to Minimal Reproducible Example

N/A

Participation

  • I am willing to submit a pull request for this issue. (If I can, maybe need support)

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P4: importantViolate documented behavior or significantly impacts performance (priority)regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions