Repository navigation
Conversation
…n red Both smoke legs now share one scope step, with each Worker's trigger paths in its matrix entry. The web leg ignores `*.md`, `docs/` and `.claude/`, so once the wemeditate-web Workers Builds triggers exclude the same paths a docs-only push no longer waits out the 12-minute discovery window. A per-push compare could turn a PR green after a failing code push followed by a docs-only one. On a synchronize push the step now skips only when the previous head's own Smoke check concluded success, and otherwise runs the leg as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
wemeditate-web | 5be0184 | Commit Preview URL Branch Preview URL |
Nov 20 2026, 10:39 PM |
|
The session for review-pr did not finish after 3 attempts. I have stopped retrying. A mention ( 🤖 sydevs dispatcher |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
The diff is no bigger than the problem, and its best part is a deletion: two env regexes become
per-leg matrix fields, so the web leg reuses the ladle machinery instead of growing its own. The
green-over-red guard is a second behaviour, but the ## Summary names it and the new skip is what
opens the hole, so it belongs here. I checked the claim it rests on, and it holds: after a failed
code push, a docs-only push falls back to built=true, discovery names nothing for the new SHA,
and get-cloudflare-preview-url.mjs then derives the branch host — which serves the last
successful build, so the specs re-run the red.
Findings
should-fixdocs/cloudflare-previews-ci.md:122— the fallback conditions are re-listed from
the step's own comment. Cut the list, keep the ⚠.should-fixtests/guards/ladle-watch-paths.test.ts:2— the file now guards the web leg too;
the name still says ladle. Rename itsmoke-watch-paths.test.ts.consider.github/workflows/ci.yml:142—BEFOREis a second name forBASEeverywhere it
is read.
What was checked
- Read whole on the branch: the
smokejob inci.yml,docs/cloudflare-previews-ci.md,
tests/guards/ladle-watch-paths.test.ts,scripts/get-cloudflare-preview-url.mjs. - Ladder, on each new piece:
watch/ignorereplace existingenvkeys and add no file;
the check-run lookup usesgh api, the step's own client. name: Smoke (${{ matrix.target }})is explicit, so new matrix keys cannot rename the check
CHECK_NAMElooks up.- Web
ignorematches the documented Cloudflare excludes (*.md,docs/*,.claude/*). - No contract surface is touched.
.claude/workflow.jsononmainhas nofixture, so
No preview surfacecarries no data rule, and both paths the body names are on the branch.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
main moved the ladle WATCH list to add `server/sitemap`, while this branch moved both lists out of `env` and into the smoke matrix. Kept the matrix form and carried `sitemap` into the ladle entry's `watch`, so the guard still finds every server module the Ladle build bundles. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWdGYojCpuD2nEQZdn
The four fallback conclusions live in the `Did Cloudflare build the <target> preview?` step's own ⚠ comment. Repeating them here gave the list a second home, so a new edge case would have to be written twice. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWdGYojCpuD2nEQZdn
The file guards the web leg's ignore list as well as ladle's, so the `ladle` name sent a reader citing it for the web list to the wrong place. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWdGYojCpuD2nEQZdn
#282 widened the ladle `watch` to `server/sitemap` without touching the documented trigger list, which this file's own ⚠ says changes with it. A CI list wider than the trigger is the gap that turns `Smoke (ladle)` green on a preview that was never built. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWdGYojCpuD2nEQZdn
|
Merged Merge — one conflict in
Also — #282 widened the ladle 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
sydevs-bot
left a comment
There was a problem hiding this comment.
Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. Enable auto-merge when you want it merged: the queue tests it against its base. 🤖 Written by the sydevs autonomous loop — see what this is
|
Closing: the owner chose not to skip previews for docs-only pushes. Without Cloudflare build excludes the web leg never waits, so the CI change is unnecessary. |
Summary
Smoke (web)wait out its 12-minute discovery window.server/sitemapwatch path feat(seo): share metadata and JSON-LD at parity with the old site #282 added to CI but not to the documented trigger list.Change outline
One scope step for both legs
Did Cloudflare build the <target> preview?used to run forladleonly. It now runs for bothlegs and reads each Worker's trigger paths from its matrix entry (
watch/ignore)..(everything)\.md$|^(docs|\.claude)/Tests and
.github/stay watched for web: a smoke-spec or CI change needs a preview.No green over a red
The compare is per push, as Cloudflare's is. A failing code push followed by a docs-only push
would otherwise skip and turn the PR green. On
synchronize, a docs-only push now skips only ifSmoke (<target>)ongithub.event.beforeconcludedsuccess. Failed, cancelled, running ormissing falls back to
built=true, which is today's behaviour. On open the compare covers thewhole PR, so a PR that is docs-only from the start always skips.
Guard and docs
tests/guards/smoke-watch-paths.test.tsreads the ladle lists from the matrix entry. It adds acheck that the web ignore list matches docs paths and nothing else. The file guards both legs
now, so its name no longer says
ladle.docs/cloudflare-previews-ci.mddocuments both Workers' path rules and the ordering below.Preview
No preview surface (CI and docs only).
Test results
test:run: 158 files, 1652 tests), on the branch merged withmaintests/guards/smoke-watch-paths.test.ts, 3 passedYAML.load_file). The check-run lookup was run by handagainst a merged PR's head:
successfor both legs,nonefor a missing name.Manual verification
After merge, add these
path_excludesto bothwemeditate-webWorkers Builds triggers(
Deploy non-production branchesandDeploy default branch):*.md,docs/*,.claude/*.Do it in the dashboard under Workers & Pages → wemeditate-web → Settings → Build → Build watch
paths, or with
PATCH /accounts/{account}/builds/triggers/{trigger_uuid}.Separately, confirm both
wemeditate-designtriggers includeserver/sitemap*. #282 added thatpath to the ladle
watchin CI without it. A CI list wider than the trigger is the gapdocs/cloudflare-previews-ci.mdwarns about.Notes for reviewer
change, Cloudflare still builds docs-only pushes, and the leg just skips a preview nobody needed.
Done the other way round,
Smoke (web)waits for a build that never comes.instead of skipping. Today it always skips, which can hide a red.
own PRs.
BEFOREis kept besideBASEon purpose.BASEfalls back tobase.sha, and the check-runlookup must read this push's parent or it can skip on a check that never tested this head.
🤖 Generated with Claude Code