Skip to content

fix: unbreak the Turbopack/MDX build and pin dependencies - #17

Merged
agentiknet merged 1 commit into
mainfrom
fix/deploy
Oct 2, 2026
Merged

agentiknet merged 1 commit into
mainfrom
fix/deploy

Conversation

@agentiknet

Copy link
Copy Markdown
Contributor

Summary

  • 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. Pinned back to 2.1.2 via pnpm.overrides.
  • Added a committed pnpm-lock.yaml + frozen installs (CI and Dockerfile).
  • scripts/sync-content.mjs now compiles every synced .mdx with @mdx-js/mdx before the build runs -- this is how two independent content bugs in agentproto/ts's docs/cli surfaced (fixed there, companion PR fix/cli-docs-mdx-compat): 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.
  • Fixed the repository field in package.json (pointed at the sibling site repo).
  • Disabled the GCP Cloud Run deploy workflow (daily schedule + push trigger) to workflow_dispatch-only -- this site is live on OVH (Coolify agentproto-cli-site on app-internal-a, already proven through deployment/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

  • Every synced .mdx compiles via @mdx-js/mdx (node scripts/sync-content.mjs) with zero failures, against the companion agentproto/ts PR's branch.
  • CI 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.

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.
@agentiknet

Copy link
Copy Markdown
Contributor Author

CI is red as expected right now, not because of this PR: scripts/sync-content.mjs clones agentproto/ts@main (no sibling checkout in CI), and the new sync-time MDX validation (added in this PR) correctly flags the 2 pre-existing content bugs that are still unfixed on that branch (guides/distribute-an-app.md, verbs/serve.md) -- see agentproto/ts#1694, which fixes them. Merge order: agentproto/ts#1694 first, then this PR will go green on the next CI run (or re-run).

@agentiknet
agentiknet merged commit 2701431 into main Oct 2, 2026
2 of 3 checks passed
@agentiknet
agentiknet deleted the fix/deploy branch November 5, 2026 02:29
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