[pull] main from tldraw:main#551
Merged
Merged
Conversation
### Problem Spotted on #8665 that I should have merged, we get errors when trying to build docs in preview ### Root cause - `#8256` bumped wrangler, which resolved `workerd` to `1.20260317.1`. - `workerd` 2026 builds require **GLIBC 2.35+**. - Vercel's build image is **Amazon Linux 2023 (GLIBC 2.34)** and AWS hasn't shipped a successor, so we can't bump it. - `workerd`'s postinstall script self-checks the native binary by running it. On Vercel that exits non-zero and `yarn install` fails. ### Why nobody noticed for two months - PR previews mostly skipped the docs build via `should-build-docs.sh`, which gates on `git diff HEAD^ HEAD ./apps/docs` (the tip-commit diff, not the full PR diff). - `main` and production *always* build per the same script — so docs deploys to `tldraw.dev` have actually been failing for ~2 months. Vercel kept serving the last successful build, which is why the site looked fine while silently going stale. ### Fix Add `dependenciesMeta.workerd.built: false` to the root `package.json` so Yarn skips workerd's postinstall self-check at install time. This is safe because: - On Vercel, `workerd` is never invoked at runtime — only `next build` runs there. - On developer machines, `wrangler dev` still spawns the platform `workerd` binary normally; this opt-out only disables the install-time self-check, not the binary itself. - Cloudflare-hosted workers run on Cloudflare's own infrastructure, not our locally installed `workerd`. One line in root `package.json` with a JSON comment in the same style as the existing `// resolutions.canvas` block. ### Change type - [x] `bugfix` ### Test plan 1. Open a PR with a change to `apps/docs/` and confirm the Vercel docs preview install step gets past the workerd postinstall. 2. On merge, confirm the docs production deploy succeeds and `tldraw.dev` picks up the change. ### Release notes - Internal only; no user-facing change.
…8865) In order to cut Grafana Cloud costs, this PR lowers the `ZERO_LOG_LEVEL` from `info` to `warn` and disables OTLP trace export (`OTEL_TRACES_EXPORTER = "none"`) across all three zero-cache Fly.io templates (replication-manager, view-syncer, and single-process). Findings from a 330MB / ~520k-line view-syncer log sample: Traces from `service.name=zero-vs` are dominated by hot view-syncer paths like `vs.#advancePipelines`, which fires on every CVR advance. Zero uses `@opentelemetry/sdk-node`, so the standard OTEL env vars are honored — `OTEL_TRACES_EXPORTER=none` stops all trace egress at the SDK level (no exporter instantiated). Metrics and logs export are unaffected. ### Change type - [x] `other` ### Test plan - [ ] Deploy and confirm zero-cache machines emit `warn` and above only (verify via Fly logs). - [ ] Confirm trace count drops to ~0 in Grafana Tempo for `{resource.service.name="zero-vs"}` and `{resource.service.name="zero-rm"}` after rollout. ### Release notes - Internal: lower zero-cache log level to `warn` and disable OTLP trace export. ### Code changes | Section | LOC change | | --------------- | ---------- | | Apps | +6 / -3 |
Follow up to tldraw/tldraw-internal#264 and dotdev release. This PR will stay in WIP until we're ready to pull the plug on the framer dotdev site. It removes all unecessary redirections from docs to framer as now tldraw.dev will point at the new dotdev project and the dotdev project will redirect to docs ## Summary Remove the Framer proxy behavior from the docs app so it can run as a standalone docs deployment behind dotdev. - Drops the marketing-path rewrites that proxied to the Framer site. - Adds `assetPrefix` (via `ASSET_PREFIX`) so when docs pages are served through a silent rewrite from `tldraw.dev`, their `/_next/*` assets load from the docs origin (avoiding collisions with dotdev’s own `/_next/*`). - Updates docs sitemap generation to be docs-only (no Framer URLs); this sitemap is consumed by dotdev to build the single canonical `tldraw.dev/sitemap.xml`. ## Ops notes - Keep a stable hostname on the docs Vercel project (this becomes `DOCS_ORIGIN_URL` on dotdev). - Set `ASSET_PREFIX=https://<docs-origin-host>` on the docs Vercel project (Prod + Preview). ## Test plan - Visit `https://<docs-origin-host>/quick-start` and verify it loads and navigates (JS/CSS assets come from the same origin). - Verify `https://<docs-origin-host>/sitemap.xml` returns docs URLs only.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )