Repository navigation
fix: unbreak the Turbopack/MDX build and pin dependencies - #17
Merged
Merged
Conversation
Builds have failed since 2026-09-28: the same mdast-util-to-markdown@2.1.3
regression that broke the sibling `site` repo (no lockfile to pin the
prior build) hits here too. Pin it back to 2.1.2 via pnpm.overrides, add
a committed pnpm-lock.yaml + frozen installs (CI and Dockerfile), and
validate every synced .mdx at sync-content time so a bad doc fails with
a clear file:line instead of a Turbopack internal stack trace — this is
how two independent content bugs in agentproto/ts's docs/cli surfaced
(fixed there: a multi-line inline code span with a brace in
guides/distribute-an-app.md, and a kramdown-style `{#id}` heading
suffix MDX doesn't support in verbs/serve.md).
Also: fix the repository field (pointed at the sibling `site` repo),
and disable the GCP Cloud Run deploy workflow — superseded by the OVH
Coolify path — to workflow_dispatch-only instead of failing on every
scheduled run.
Contributor
Author
|
CI is red as expected right now, not because of this PR: |
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.
Summary
mdast-util-to-markdown@2.1.3regression that broke the siblingsiterepo (no lockfile to pin the prior build) hits here too. Pinned back to2.1.2viapnpm.overrides.pnpm-lock.yaml+ frozen installs (CI and Dockerfile).scripts/sync-content.mjsnow compiles every synced.mdxwith@mdx-js/mdxbefore the build runs -- this is how two independent content bugs inagentproto/ts'sdocs/clisurfaced (fixed there, companion PRfix/cli-docs-mdx-compat): a multi-line inline code span with a brace inguides/distribute-an-app.md, and a kramdown-style{#id}heading suffix MDX doesn't support inverbs/serve.md.repositoryfield in package.json (pointed at the siblingsiterepo).workflow_dispatch-only -- this site is live on OVH (Coolifyagentproto-cli-siteonapp-internal-a, already proven throughdeployment/ovh/scripts/build-deploy.sh) and the Cloud Run path was failing on every scheduled run without protecting anything real. Not deleted, kept as a documented rollback.Test plan
.mdxcompiles via@mdx-js/mdx(node scripts/sync-content.mjs) with zero failures, against the companionagentproto/tsPR's branch.next build-- local environment could not complete a full production build in reasonable time (unrelated sandbox slowness, not a build error); please confirm green on GitHub Actions.