Skip to content

ci: run only the format check on docs-only changes - #1266

Merged
Ardnived merged 1 commit into
mainfrom
claude/ci-docs-light-lane
Nov 24, 2026
Merged

Ardnived merged 1 commit into
mainfrom
claude/ci-docs-light-lane

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

When a PR changes only markdown, docs/, .claude/ or .vscode/, Lint, Test & Smoke now runs just pnpm install and pnpm format:check, and passes in about 1–2 minutes. Today the same PR waits 12–16 minutes, and the merge queue then runs it again. #1265 changes one line of .claude/workflow.json and hit exactly this.

  • The classification comes from the shared change-scope action. It returns full=true whenever it is unsure: on a push, an unreadable base, or an empty diff.
  • Lint, both typechecks, pnpm test, the preview discovery, the address, the fixture wait and smoke are gated on full. The address, fixture and smoke steps already chain off the preview output.
  • The job itself always runs. That keeps the required check reporting, keeps Preview checks build on GitHub Actions #903's rule against splitting or renaming checks intact, and keeps markdown under prettier --check.

⚠ Merge order

sydevs/claude-workflow#314 has to merge first. Until it does, @main has no change-scope action and this PR's CI fails at that step.

Not in scope

Railway still builds a preview for a docs-only PR. Setting Watch Paths would stop that, but a code PR whose latest push touched only docs would then get no deploy for its head SHA, and smoke would be skipped. That is left for a separate decision.

🤖 Generated with Claude Code

A PR touching nothing but markdown, docs/, .claude/ or .vscode/ (e.g.
#1265, one line of .claude/workflow.json) ran the full 12-16 minute lane,
twice with the merge queue. The shared change-scope action now classifies
the diff, and the job keeps install + format:check for those PRs and gates
lint, typecheck, tests and the preview/smoke steps. The job still reports,
so the required check and #903's no-rename rule are untouched.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@railway-app

railway-app Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the SahajCloud-pr-1266 environment in sahajcloud

Service Status Web Updated
SahajCloud ✅ Success (View Logs) Web Nov 24, 2026 at 7:06 pm UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1266 November 24, 2026 18:29 Destroyed
@sydevs-dispatcher sydevs-dispatcher Bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 24, 2026
@sydevs-dispatcher

sydevs-dispatcher Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🤖 no session running
CI fix 1

recent dispatches
  • 18:29Z fix-ci · attempt 1 · session · done
  • 18:29Z fix-ci · attempt 1 · session

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot

Copy link
Copy Markdown
Contributor

Nothing here is fixable. CI is red for the reason this PR's body already names.

Lint, Test & Smoke fails after 7 seconds, at Prepare all required actions:

Can't find 'action.yml', 'action.yaml' or 'Dockerfile' for action
'sydevs/claude-workflow/.github/actions/change-scope@main'.

sydevs/claude-workflow#314 adds that action and is still open. Until it merges, @main carries no change-scope, so every step after checkout is unreachable.

I pushed nothing. Pinning the step to #314's head would swap a known-red check for a reference to an unmerged branch. Merge #314 first, then re-run this check.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 24, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 24, 2026
@Ardnived
Ardnived enabled auto-merge November 24, 2026 18:49

@sydevs-dispatcher sydevs-dispatcher Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. 🤖 Written by the sydevs autonomous loop — see what this is

@sydevs-dispatcher

Copy link
Copy Markdown

Adversarial review skipped: 1 file(s), 27 changed line(s), under review.skipWhen. Say @sydevs-bot review to force one.

🤖 sydevs dispatcher

@Ardnived
Ardnived added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 88834a8 Nov 24, 2026
25 of 26 checks passed
@Ardnived
Ardnived deleted the claude/ci-docs-light-lane branch November 24, 2026 19:17
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Awaiting to Done in SYDevelopers Technical Roadmap Nov 24, 2026

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-1266 — 23a96822 Deployed Nov 24, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants