Skip to content

Remove Too Many Cooks from homepage; path-filter CI for website-only PRs#65

Merged
MelbourneDeveloper merged 1 commit into
mainfrom
website/remove-tmc-frontpage-ci-paths
Jun 8, 2026
Merged

Remove Too Many Cooks from homepage; path-filter CI for website-only PRs#65
MelbourneDeveloper merged 1 commit into
mainfrom
website/remove-tmc-frontpage-ci-paths

Conversation

@MelbourneDeveloper

Copy link
Copy Markdown
Owner

TLDR

Removes the Too Many Cooks feature card from the homepage (it moved to tmc-mcp.dev and left this repo) and path-filters CI so website-only PRs no longer run the full Dart lint/test/build suite.

What Was Changed or Deleted?

  • Homepage (en + zh): deleted the Too Many Cooks feature card from website/src/index.njk and website/src/zh/index.njk. TMC is no longer an example of this project.
  • docs/mcp (unchanged this PR, already correct): the docs/mcp pages retain a short note that TMC has moved to tmc-mcp.dev and is no longer part of this repository — satisfying "other pages must point to tmc-mcp.dev explaining it moved."
  • CI path filtering: added a changes detection job (dorny/paths-filter) and gated lint/test/build behind needs.changes.outputs.code == 'true' and website behind needs.changes.outputs.website == 'true'. Website-only PRs skip the Dart suite; code-only PRs skip the website job.

How Do The Automated Tests Prove It Works?

  • All 108 Playwright website tests pass locally after the change, including pages.spec.js › Homepage › homepage loads with all essential elements — the homepage still renders correctly with the card gone.
  • Verified the generated output: _site/index.html and _site/zh/index.html contain zero occurrences of "Too Many Cooks"/"tmc", while _site/docs/mcp/index.html and _site/zh/docs/mcp/index.html still link to tmc-mcp.dev.
  • Job-level if skips (not workflow-level paths:) are used deliberately so skipped jobs report a "skipped" conclusion that satisfies required status checks rather than leaving them pending and blocking the merge.

Breaking Changes

  • None

Too Many Cooks moved to its own home at tmc-mcp.dev and is no longer part
of this repo, so its feature card is removed from the homepage (en + zh).
The docs/mcp pages keep a short note pointing to tmc-mcp.dev explaining the
move.

CI now gates the Dart lint/test/build jobs behind a change-detection job so
website-only PRs no longer run the full Dart suite (and code-only PRs skip
the website job). Job-level `if` skips satisfy required status checks; a
workflow-level `paths:` filter would leave them pending and block merges.
@MelbourneDeveloper MelbourneDeveloper merged commit 3b65001 into main Jun 8, 2026
5 checks passed
@MelbourneDeveloper MelbourneDeveloper deleted the website/remove-tmc-frontpage-ci-paths branch June 8, 2026 21:35
MelbourneDeveloper added a commit that referenced this pull request Jun 9, 2026
…PRs (#65)

## TLDR
Removes the Too Many Cooks feature card from the homepage (it moved to
tmc-mcp.dev and left this repo) and path-filters CI so website-only PRs
no longer run the full Dart lint/test/build suite.

## What Was Changed or Deleted?
- **Homepage (en + zh):** deleted the `Too Many Cooks` feature card from
`website/src/index.njk` and `website/src/zh/index.njk`. TMC is no longer
an example of this project.
- **docs/mcp (unchanged this PR, already correct):** the `docs/mcp`
pages retain a short note that TMC has moved to
[tmc-mcp.dev](https://tmc-mcp.dev) and is no longer part of this
repository — satisfying "other pages must point to tmc-mcp.dev
explaining it moved."
- **CI path filtering:** added a `changes` detection job
(`dorny/paths-filter`) and gated `lint`/`test`/`build` behind
`needs.changes.outputs.code == 'true'` and `website` behind
`needs.changes.outputs.website == 'true'`. Website-only PRs skip the
Dart suite; code-only PRs skip the website job.

## How Do The Automated Tests Prove It Works?
- All **108 Playwright website tests pass** locally after the change,
including `pages.spec.js › Homepage › homepage loads with all essential
elements` — the homepage still renders correctly with the card gone.
- Verified the generated output: `_site/index.html` and
`_site/zh/index.html` contain **zero** occurrences of "Too Many
Cooks"/"tmc", while `_site/docs/mcp/index.html` and
`_site/zh/docs/mcp/index.html` still link to `tmc-mcp.dev`.
- Job-level `if` skips (not workflow-level `paths:`) are used
deliberately so skipped jobs report a "skipped" conclusion that
satisfies required status checks rather than leaving them pending and
blocking the merge.

## Breaking Changes
- [x] None
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