feat(cloudflare): mirror method-page specs, drop the in-repo snapshot - #534
Open
Mkassabov wants to merge 1 commit into
Open
feat(cloudflare): mirror method-page specs, drop the in-repo snapshot#534Mkassabov wants to merge 1 commit into
Mkassabov wants to merge 1 commit into
Conversation
Unblock spec-mirror-cloudflare now that method-page index.md URLs serve markdown again. Fetch only /methods/ pages (HTML resource indexes skipped; heavy method pages converted from stldocs markup), point spec-to-smithy at the mirror, and remove the committed packages/cloudflare/specs/api crawl.
Mkassabov
force-pushed
the
fix/cloudflare-spec-mirror
branch
from
August 31, 2026 08:47
54df6c7 to
0ff2893
Compare
This was referenced Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
Do not merge this PR by itself. Always merge the entire stack — click Merge on the top PR (#536). We only split this because GitHub's Files tab caps at 3,000 files and the spec-snapshot deletion ate the UI. Merging any layer alone leaves
maininconsistent (fetcher without regen, Smithy without TS, or vice versa).Stack (bottom → top): #534 fetcher → #535 generated specs → #536 services
This layer
Unblocks
spec-mirror-cloudflarenow that method-pageindex.mdURLs on developers.cloudflare.com serve markdown again.spec-repos/cloudflare/fetch-specs.tscrawls the/api/sidebar and downloads only/methods/pages. Resource index pages still return multi-MB HTML and are skipped.stldocs-*markup into the pre-Starlight markdown dialect.spec-to-smithy.tsparses both today’s Starlight dump and that legacy dialect, and readsspecs/spec-mirror-cloudflare/specs/api/resourcesviaresolveSpecPath.packages/cloudflare/specs/apisnapshot is gone (~3.3M lines)..gitmodulespoints atdistilled-mirror/spec-mirror-cloudflare(shallow = true).pnpm specs:checkis green (27 mirrors).Until this stack merges and the
distilled-submodulesstack deploys the fetch script into the (currently empty) mirror, regenerate with: