Skip to content

fix(integration-docs): point CustomAlert at renamed standard-alert.mdx#104

Merged
ysyneu merged 1 commit into
mainfrom
fix/integration-docs-standard-alert-rename
Jun 24, 2026
Merged

fix(integration-docs): point CustomAlert at renamed standard-alert.mdx#104
ysyneu merged 1 commit into
mainfrom
fix/integration-docs-standard-alert-rename

Conversation

@ysyneu

@ysyneu ysyneu commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Problem

The "Upload integration docs to OSS" workflow (integration-docs-upload.yml) started failing on main (run 28100115787):

Error: Missing zh source: on-call/integration/alert-integration/alert-sources/standard alert.mdx

integration-docs/src/doc-map.mjs still pointed CustomAlert at standard alert.mdx (space), but that file was long ago renamed to standard-alert.mdx (hyphen) — the map was never updated. build.mjs throws on the first missing source, so the OSS compatibility-bundle build breaks on any push that touches on-call/integration/**.

This is a pre-existing latent bug; it surfaced now because PR #102 was the first on-call/integration/** change to trigger this workflow since the rename. It does not affect the Mintlify site (docs.flashcat.cloud), which deploys separately.

Fix

One line: standard alert.mdxstandard-alert.mdx.

Validated the entire doc-map against the filesystem (zh + en) — this was the only stale entry. Local npm run build now succeeds:

Built 77 documentation keys for zh/en.
Legacy fallback keys: Jira

doc-map.mjs still referenced 'standard alert.mdx' (space), but the file was
renamed to 'standard-alert.mdx' (hyphen). The build throws on the first
missing source, breaking the OSS compatibility-bundle pipeline on any push
that touches on-call/integration/**. Local build now succeeds (77 keys).
@ysyneu ysyneu merged commit 5483133 into main Jun 24, 2026
1 check passed
@mintlify

mintlify Bot commented Jun 24, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
flashduty 🟢 Ready View Preview Jun 24, 2026, 1:06 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant