Skip to content

[pull] main from tldraw:main#548

Merged
pull[bot] merged 2 commits into
code:mainfrom
tldraw:main
May 14, 2026
Merged

[pull] main from tldraw:main#548
pull[bot] merged 2 commits into
code:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 14, 2026

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 : )

In order to catch silent failures in important pipelines (publishing SDK
packages, publishing VS Code extensions, deploying the MCP app, daily
preview cleanup), this PR adds a Discord notification step to each so
failures show up in the same channel where dotcom deploy failures are
already posted.

A new composite action at `.github/actions/discord-fail-notify` posts a
brief message — `@Engineering ❌ <workflow> failed on <ref>: <run-url>` —
to `DISCORD_DEPLOY_WEBHOOK_URL` when a job fails. It guards against an
empty webhook (logs a warning and skips, so forks and misconfigured envs
don't run misleading curl commands) and uses `curl -f` so a bad webhook
surfaces as a failed step rather than a silent 4xx.

Workflows now wired up:

- `bump-versions`, `publish-canary`, `publish-patch`, `publish-new`,
`publish-manual`, `publish-branch` — `npm deploy` env
- `publish-editor-extensions`, `publish-vscode-extension` — `vsce
publish` env (still needs `DISCORD_DEPLOY_WEBHOOK_URL` added to that env
in repo settings)
- `deploy-mcp-app` — `deploy-production` env
- `prune-preview-deploys` — `deploy-staging` env

`trigger-production-build` and `publish-templates` have no
`environment:` block, so they can't resolve the env-scoped secret; left
as-is for now.

The role mention `<@&1414904550917144586>` is the same `@Engineering`
role already used by `Discord.AT_TEAM_MENTION` in `deploy-dotcom`,
`deploy-bemo`, and `deploy-analytics`.

### Change type

- [x] `other`

### Test plan

Can't trigger a real workflow failure without merging. Verified by:

1. Walking through historical failure `publish-canary` run 25431962448
(S3 `AccessDenied` during `uploadStaticAssets`) — with the new step in
place, the `if: failure()` step would have fired after the failing
publish step.
2. Confirmed `jq` is preinstalled on the runner class (already used in
`deploy-dotcom.yml`).
3. Confirmed the role mention matches the `@Engineering` role used by
existing dotcom failure pings.

### Code changes

| Section         | LOC change |
| --------------- | ---------- |
| Config/tooling  | +87 / -0   |
Bumps `@rocicorp/zero` from 1.4.0 to 1.5.0 across the dotcom packages.

### Change type

- [x] `other`

### Test plan

1. CI passes.
2. Verify zero-cache + sync-worker still come up locally.
@pull pull Bot locked and limited conversation to collaborators May 14, 2026
@pull pull Bot added the ⤵️ pull label May 14, 2026
@pull pull Bot merged commit 081249b into code:main May 14, 2026
@pull pull Bot had a problem deploying to bemo-canary May 14, 2026 09:13 Failure
@pull pull Bot had a problem deploying to npm deploy May 14, 2026 09:13 Failure
@pull pull Bot had a problem deploying to deploy-staging May 14, 2026 09:13 Failure
@pull pull Bot had a problem deploying to deploy-production May 14, 2026 09:13 Failure
@pull pull Bot had a problem deploying to npm deploy May 14, 2026 09:13 Failure
@pull pull Bot had a problem deploying to vsce publish May 14, 2026 09:13 Failure
@pull pull Bot had a problem deploying to bemo-canary May 14, 2026 09:13 Failure
@pull pull Bot had a problem deploying to deploy-staging May 14, 2026 09:13 Error
@pull pull Bot had a problem deploying to deploy-staging May 15, 2026 00:47 Failure
@pull pull Bot temporarily deployed to e2e-dotcom May 15, 2026 02:38 Inactive
@pull pull Bot requested a deployment to e2e-dotcom May 15, 2026 08:08 Abandoned
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant