Skip to content

ci: thin PR CI, skip docs/version-only PRs - #127

Merged
its-janghoon merged 1 commit into
developfrom
feat/ci-diet
Oct 20, 2026
Merged

its-janghoon merged 1 commit into
developfrom
feat/ci-diet

Conversation

@its-janghoon

Copy link
Copy Markdown
Member

What's done

PR CI collapses to one linux path, and docs-only / version-only PRs skip it.

Before After
typecheck 1 job, ~1 min same (moved into test.yml, name unchanged)
core (linux) ~1.5 min same
httpapi (linux) ~2 min same
engine (linux 1-4/4) 4 jobs, ~2-4 min each, ~10 runner-min workflow_dispatch only
unit (windows 1-4/4) + windows core 5 jobs, up to ~12 min, ~37 runner-min workflow_dispatch only
engine-client 3 OS legs ubuntu only (still path-filtered)
docs / version-only PR full run, 10-19 min changes only, ~10 s
Wall clock 10-19 min ~2-3 min
  • New first job changes: git diff --name-only HEAD^1 HEAD on the PR merge commit (fetch-depth 2, no third-party action). heavy=false when every file is docs (*.md, docs/**, LICENSE*, CHANGELOG*), a version file (VERSION, REDROB_VERSION, UPSTREAM_VERSION, *-version.txt), or a package.json / bun.lock / Cargo.toml / Cargo.lock whose only -U0 changed lines are "version": "..." / version = "...".
  • Heavy jobs needs: changes + if: heavy == 'true'; skipped required checks report as passing.
  • unit (linux) aggregator now accepts success or skipped, fails on anything else.

What's not done

  • Branch protection untouched. Required: unit (linux), typecheck, core (linux), httpapi (linux), gitflow / branch name follows the convention — all job names kept.
  • No test code removed. No push triggers existed. Release/publish workflows untouched.

What to review

  • changes step regex in .github/workflows/test.yml (checked locally on docs / version / deps / code diffs: false / false / true / true).

Intentions

Owner asked for much thinner CI; the engine suite and Windows legs stay runnable by hand (Actions -> test -> Run workflow).

- PR CI is one linux path: typecheck, core (linux), httpapi (linux), unit (linux) aggregator.
- engine shards (linux 4x) and windows legs (5x) run on workflow_dispatch only.
- typecheck folded into test.yml so one changes job gates it; job name unchanged.
- changes job: docs-only or version-string-only PRs skip every heavy job; skipped required checks pass.
- engine-client: drop windows/macos matrix legs.
@its-janghoon
its-janghoon merged commit 90d2d07 into develop Oct 20, 2026
13 checks passed
its-janghoon added a commit that referenced this pull request Oct 20, 2026
Release of #126 (2026 app icon) and #127 (thin PR CI).
@its-janghoon
its-janghoon deleted the feat/ci-diet branch October 20, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant