Skip to content

fix(docs): remove stale docs/DEPLOYMENT.md duplicate - #1947

Merged
efiten merged 1 commit into
Kpa-clawbot:masterfrom
sylr:fix/docs-deployment-case-collision
Sep 3, 2026
Merged

fix(docs): remove stale docs/DEPLOYMENT.md duplicate#1947
efiten merged 1 commit into
Kpa-clawbot:masterfrom
sylr:fix/docs-deployment-case-collision

Conversation

@sylr

@sylr sylr commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • docs/DEPLOYMENT.md and docs/deployment.md were both tracked in git, colliding into a single file on case-insensitive filesystems (default on macOS/Windows) and causing git status to report spurious modifications.
  • docs/deployment.md is the actively maintained guide (linked from README.md and docs/deployment-behind-cdn.md); docs/DEPLOYMENT.md was a stale duplicate untouched since the MeshCore → CoreScope rename.
  • Removed docs/DEPLOYMENT.md from the index, keeping docs/deployment.md.

Test plan

  • git status is clean on a case-insensitive checkout with no spurious modification
  • Confirmed no remaining references to docs/DEPLOYMENT.md in the repo

…nt.md

Two files tracked in git, docs/DEPLOYMENT.md and docs/deployment.md,
collide into one file on case-insensitive filesystems (default on
macOS/Windows), making git status report spurious modifications.
docs/deployment.md is the actively maintained, cross-referenced guide
(linked from README.md and docs/deployment-behind-cdn.md); DEPLOYMENT.md
was an untouched leftover from before the MeshCore -> CoreScope rename.

Constraint: keep the lowercase path since it is the one referenced elsewhere in the repo
Confidence: high
Scope-risk: narrow
@efiten
efiten merged commit b5dfac8 into Kpa-clawbot:master Sep 3, 2026
6 checks passed
efiten added a commit that referenced this pull request Sep 3, 2026
Two documentation-only PRs were running the full pipeline simultaneously
this afternoon: #1948 (`CHANGELOG.md` plus a release note) and #1947
(deleting a stale `docs/DEPLOYMENT.md`). Each spends about 12 minutes on
Go Build & Test and about 16 minutes on Playwright to establish that a
text file does not break a browser.

**The cost is the queue, not the minutes.** On the same afternoon a
`pull_request` run was created at 12:13 and its first job did not start
until 16:19. Four hours in the queue. Every unnecessary run pushes the
ones that matter further back, and this repository has been merging
heavily today.

## Checked before adding the filter

Rather than assumed:

- **Nothing reads markdown at build or test time.** Grepping every Go
and JS source for a runtime read (`ReadFile`, `readFileSync`, `os.Open`)
of a `.md` path returns nothing. The `docs/` matches in `cmd/` and
`test-*.js` are all comments pointing at documentation.
- `/api/docs` serves Swagger UI generated from `cmd/server/openapi.go`,
not from `docs/`.
- `docs/` holds markdown plus screenshots (`png`, `gif`) and no build
input.
- **This workflow has no tag trigger**, so release tagging is
unaffected; that runs from `release-fast-path.yml`. Worth stating
explicitly given a `v3.10.0` tag is imminent.

`paths-ignore` skips only when **every** changed file matches, so a PR
touching both code and documentation still runs the full pipeline.

## The trap, stated in the file

If required status checks are ever enabled on master, a skipped workflow
never reports, and a docs-only PR would wait forever on a check that
cannot arrive. At that point this needs to become a change-detection job
with conditional heavy jobs rather than a trigger filter.

Master has no required checks today. Verified: the branch protection
endpoint returns 404.

That caveat is in a comment above the `on:` block, not just in this
description, because the person who enables required checks in six
months will be reading the workflow and not this PR.

## Note

This PR itself changes only `.github/workflows/deploy.yml`, so it is not
documentation-only and will run the full pipeline, as it should.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

2 participants