Skip to content

chore(build): shrink Makefile, Dockerfile strip block, pyproject, e2e fixtures - #690

Merged
nitrobass24 merged 2 commits into
developfrom
chore/build-tooling-shrink
Aug 24, 2026
Merged

nitrobass24 merged 2 commits into
developfrom
chore/build-tooling-shrink

Conversation

@nitrobass24

Copy link
Copy Markdown
Owner

Closes #681. Part of #682.

Summary

  1. Makefile — drop test-e2e/test-e2e-headed/test-e2e-report (byte-for-byte duplicates of the npm scripts in src/e2e-playwright); help is now generated from ## target comments so it can't drift; .PHONY fixed (test-e2e-docker added, dead targets removed).
  2. Dockerfile — keep the high-yield stdlib removals (pip/setuptools, test, unittest, tkinter, idlelib, ensurepip, include, __pycache__); drop the ~35 lines of per-.so codec/encodings surgery pinned to python3.13/* paths.
  3. pyproject — remove dead testpaths (never applied; would have excluded tests/integration); drop C4 from ruff select since C already covers it (comment corrected).
  4. CI — ruff/pyright now installed from the dev dependency group (uv pip install --group dev) so tool versions have one source of truth.
  5. e2e — drop unused appUrl fixture (use baseURL); inline the AboutPage page object into about.spec.ts.

Partial on item 4 of the issue: apiGet/apiFetch/apiSetConfig are kept as Node-fetch helpers. ~100 call sites depend on the WHATWG Response shape (.ok, .status, .json()), and Playwright's request fixture returns APIResponse (.ok(), .status()) — swapping means touching every spec for ~20 lines of savings. Not worth it.

Net: 35 insertions, 122 deletions.

Image size (compressed, from ghcr manifests)

arch develop this branch delta
amd64 14.43 MB 15.67 MB +1.24 MB
arm64 14.78 MB 16.04 MB +1.26 MB

Within the "few MB" budget the issue set for dropping the hand-maintained strip list.

Test plan

  • make help renders all targets
  • ruff check clean; --select C4,C90 still active
  • pytest collects 1047 unit tests without testpaths
  • CI dispatched on branch: all jobs green incl. Playwright e2e (100 tests) → published ghcr.io/nitrobass24/seedsync:chore-build-tooling-shrink
  • make build && make run locally (Docker not running on this machine; CI's Build & Test job covers container start)

🤖 Generated with Claude Code

nitrobass24 and others added 2 commits August 24, 2026 16:57
… fixtures (#681)

- Makefile: drop test-e2e/-headed/-report wrappers (duplicate npm scripts);
  generate help from '##' comments; fix .PHONY.
- Dockerfile: keep high-yield stdlib removals, drop per-.so codec surgery
  pinned to python3.13 paths.
- pyproject: remove dead testpaths; 'C' already selects C4.
- CI: ruff/pyright installed from the dev dependency group (single source
  of tool versions).
- e2e: drop appUrl fixture (use baseURL); inline AboutPage page object.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 43 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 574154f7-80f3-4f10-aafb-792d9399c886

📥 Commits

Reviewing files that changed from the base of the PR and between 40fdb22 and 489e5de.

📒 Files selected for processing (7)
  • .github/workflows/ci.yml
  • Makefile
  • src/docker/build/docker-image/Dockerfile
  • src/e2e-playwright/tests/about.spec.ts
  • src/e2e-playwright/tests/fixtures.ts
  • src/e2e-playwright/tests/pages/about.page.ts
  • src/python/pyproject.toml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nitrobass24
nitrobass24 merged commit c59fede into develop Aug 24, 2026
29 checks passed
@nitrobass24
nitrobass24 deleted the chore/build-tooling-shrink branch August 24, 2026 22:22
JAAdventurer pushed a commit to JAAdventurer/seedsync that referenced this pull request Aug 25, 2026
CLAUDE.md is now a symlink to AGENTS.md. Content rewritten in a terse
rules style, with stale items fixed: Font Awesome (removed in nitrobass24#688),
Makefile e2e targets (removed in nitrobass24#690), CI publish matrix (dispatch tags
by branch), mutating-service reference (CollectionService), test counts
dropped. New rules: no AI attribution in commits/PRs, preserve mixed
CRLF/LF line endings, master PRs limited to release or sync PRs sized
for CodeRabbit, local test commands and known local-only failures.
nitrobass24 added a commit that referenced this pull request Aug 25, 2026
CLAUDE.md is now a symlink to AGENTS.md. Content rewritten in a terse
rules style, with stale items fixed: Font Awesome (removed in #688),
Makefile e2e targets (removed in #690), CI publish matrix (dispatch tags
by branch), mutating-service reference (CollectionService), test counts
dropped. New rules: no AI attribution in commits/PRs, preserve mixed
CRLF/LF line endings, master PRs limited to release or sync PRs sized
for CodeRabbit, local test commands and known local-only failures.
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.

chore(build): Makefile, Dockerfile strip block, pyproject, e2e fixture cleanup

1 participant