Repository navigation
Conversation
The SahajCloud service gets watch paths that leave docs out, so Railway's Focused PR Environments no longer deploy the app or its Postgres for a docs-only push. CI checks the same list first, so it no longer waits out discovery's 12-minute timeout for a deploy that never comes. A docs-only push skips only when the commit before it passed this job, so a red smoke run followed by a README fix still has to pass again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🚅 Deployed to the SahajCloud-pr-1234 environment in sahajcloud
1 service not affected by this PR
|
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
|
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 the size of the problem: one guarded step, two if: conditions, and the documentation for a setting that lives off-repo. Nothing is smuggled in. The ladder found no piece the repo or the platform already has — paths-ignore cannot serve, because this job is a required check and a skipped one never reports (#903), and the repo carries no changed-files action to reuse. The DOCS regex duplicating a dashboard setting is intrinsic, and DEPLOYMENT.md's ⚠ is the right answer; nothing in-repo can enforce it. The one real gap is the no-masking claim, which rests on a job conclusion this repo twice documents as not meaning smoke ran.
Findings
should-fix— ci.yml:113: a greenLint, Test & Smokedoes not prove smoke ran, so the guard claims more than it gives.should-fix— RAILWAY_RUNBOOK.md:222: the new paragraph restates DEPLOYMENT.md and the step comment, and its last sentence contradicts this section's own caveat.consider— ci.yml:100:git diffon the existing checkout would drop the compare API's 300-file cap.
What was checked
.github/workflows/ci.ymlwhole on the branch, DEPLOYMENT.md § Service settings, RAILWAY_RUNBOOK.md § CI & Preview Environments.- Regex against watch paths, pattern by pattern.
.agentsexists on the branch, so no dead entry. - Every
|| deployedpath underbash -eo pipefail: an empty or ≥300count,grep -Evexiting 1, andlast | .conclusion // ""on an empty or in-progress check list all reachdeployed=true. tests/unit/turbopack-build-cache.spec.ts, the one path the body names, is on the branch. No## Previewlink, so no fixture check.- No contract surface: CI and docs only.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
A green `Lint, Test & Smoke` does not mean smoke ran: the lane skips and the job stays green whenever no preview was discovered, which ci.yml's own warning and RAILWAY_RUNBOOK.md both document. The guard on the previous commit's conclusion therefore catches a red or cancelled run, never an un-smoked green one, and the comment claimed the wider protection. Narrowed rather than tightened to read the previous run's smoke step: a run with no preview would then stop the skip, which is the 12-minute wait this PR exists to remove. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZDLyEn6BLNeXCMGu7
The dropped sentences restated DEPLOYMENT.md's watch-path block and the step comment in ci.yml, and the last one claimed a protection the section's own opening paragraph contradicts: a skipped smoke lane reads as "unit and integration passed", never "smoke passed". The runbook carries what the workflow cannot show, which is the setting and where it lives. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZDLyEn6BLNeXCMGu7
The 300-file cap read as a workaround. It is the price of not fetching full history: this job checks out the PR merge ref at depth 1, so `git diff` between the two SHAs resolves nothing without `fetch-depth: 0` on every run, and the cap only engages where `deployed` is already the right answer. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZDLyEn6BLNeXCMGu7
|
All three threads addressed.
The Summary's third bullet is retitled to match the narrowed claim. Lean gate green: lint, format, both typechecks, 3841 unit tests. Security review skipped — no changed path matches the trigger. Docs checked, nothing stale. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
|
Closing: the owner chose not to skip previews for docs-only pushes. The watch paths were the only cause of CI waiting, and docs-only previews cost cents now that previews sleep after CI. |
Summary
Docs-only PRs and pushes stop waiting on a Railway preview that is never coming.
SahajCloudservice gets watch paths that leave out**/*.md,docs/**,.claude/**and.agents/**(recorded in DEPLOYMENT.md's settings table). Focused PR Environments is already on for the project, so a docs-only PR then deploys neither the app nor its Postgres. This is a service setting, not a file, because Railway stops reading Config as Code on 2026-12-01 (chore(deploy): drop railway.toml; the Railway service holds its settings #1179).Did Railway deploy this push?step compares the push (or the whole PR, on open) against the same list. When nothing deployable changed it skips discovery, the address, the fixture wait and smoke, instead of waiting out discovery's 12-minute timeout.Lint, Test & Smoke, so a red or cancelled run is never turned green by a README fix. It is not proof smoke ran: that job also goes green with the lane skipped when no preview was discovered, so a skip is as un-smoked as the run before it and no worse.tests/and.github/are deliberately not excluded: a smoke-spec or CI change needs a preview.Rollout
The watch paths go on production's service after this merges, because a PR environment copies production's settings when Railway creates it. Applied before the merge, docs-only pushes would wait 12 minutes until it lands. Open PR environments keep their old copy.
Verification
deployed=false; fix(meditations): stop keyframes carrying their chakra node's whole page #1233 (code) →deployed=true; docs-only push after a passing commit → skip; after an in-progress commit, an unknown SHA, or a failed compare →deployed=true.prettier --checkon the edited files;tests/unit/turbopack-build-cache.spec.ts(reads DEPLOYMENT.md) passes.!negation in watch paths. I'll set the list on this PR's own environment and push a docs-only commit to confirm Railway skips it and CI skips with it.🤖 Generated with Claude Code