Skip to content

Run CI on every pull request, and keep agent tooling out of the statistics - #1

Merged
thorstenalpers merged 1 commit into
mainfrom
chore/ci-and-repo-hygiene
Aug 17, 2026
Merged

Run CI on every pull request, and keep agent tooling out of the statistics#1
thorstenalpers merged 1 commit into
mainfrom
chore/ci-and-repo-hygiene

Conversation

@thorstenalpers

Copy link
Copy Markdown
Owner

main is about to stop accepting direct pushes, so it needs something to gate on.

CI runs what a contributor would run: lint, types, tests and build on Linux, and cargo fmt, clippy and the host's tests on Windows, where the app ships.

Writing it found two things it would have failed on immediately, both fixed here rather than tolerated:

  • cargo fmt --check had a diff left over from the last scan change.
  • clippy caught a root parameter in collect that was only ever passed to itself — a leftover from before the walker stopped needing the base path.

.gitattributes marks the agent folders vendored, so GitHub stops counting their configuration as this project's source, and marks the three generated files as generated so their diffs collapse. Both also carry export-ignore, so a release archive holds the program and not the tools that helped write it.

README gains what a public repository needs: badges, the versions you have to have installed, and a contributing section saying what the tests actually care about.

Verified locally: lint, svelte-check over 995 files, 303 tests, the front-end build, and cargo fmt/clippy/test all clean.

…stics

`main` is about to stop accepting direct pushes, so it needs something to
gate on. The workflow runs what a contributor would run: lint, types,
tests and build on Linux, and fmt, clippy and the host's tests on Windows,
where the app ships.

Writing it found two things it would have failed on immediately. `cargo
fmt --check` had a diff left from the last scan change, and clippy caught
a `root` parameter in `collect` that was only ever passed to itself — a
leftover from before the walker stopped needing the base path. Both fixed
rather than tolerated, or the badge would be red on its first run.

.gitattributes marks the agent folders vendored so GitHub stops counting
their configuration as this project's source, and marks the three
generated files as generated so a diff of them collapses. Both also carry
export-ignore, so a release archive holds the program and not the tools
that helped write it.

The README gains what a public repository needs: badges, the versions you
have to have installed, and a contributing section that says what the
tests actually care about — every derived theme at 4.5:1, app.css held to
the same bar, and nothing reaching the network at runtime.
@thorstenalpers
thorstenalpers merged commit 83863cd into main Aug 17, 2026
2 checks passed
@thorstenalpers
thorstenalpers deleted the chore/ci-and-repo-hygiene branch August 17, 2026 17:53
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