Repo Improvement Sweep: comfy-cli — 2026-08-17

Đang mở
#723 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@christian-byrne đang làm issue này rồi.

Từ ngày 23/8/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

audit:health-scoring

Repo improvement sweep, 2026-08-17. Findings below are filed as separate issues and linked back here.

Profile

mature — 695 commits, created 2024-04-14, 45 contributors, 30 published releases, 91 closed bug issues, 51.8k lines of Python across 283 files with 151 test files. This repo got the full mature lens set, unlike the five greenfield repos swept alongside it.

Findings

  • #724 — Enable branch protection — 13 workflows, none of them required critical trivial
  • #725 — tar.extractall() runs with the extraction filter disabled on both paths recommended medium
  • #726 — execute (complexity 48) and execute_cloud (44) in command/run/__init__.py recommended large
  • #727 — Widen the ruff ruleset — B and S are off and surface 350+ real hits recommended medium
  • #728 — 23 blocks of commented-out code, half of them in one file recommended small
  • #729 — Add CONTRIBUTING.md recommended small
  • #730 — Add a CHANGELOG nice-to-have small

Lenses run

repo-audit, repo-hygiene-audit, audit-code, improve-codebase-architecture

Lenses skipped

Lens Reason
fallow-risk-cleanup TypeScript/JS only — this is a Python repo
closed-bug-regression-audit Deferred, not skipped for lack of signal: 91 closed bugs is the largest regression-audit surface of the six repos and deserves its own pass rather than a corner of a config sweep
repo-doc-audit It rewrites docs — belongs in its own PR, not a filing sweep

Recorded here rather than only in chat: six months from now this is the only record of whether a gap was checked-and-clear or never looked at.

Deliberately not filed

  • yaml.load at command/generate/spec.py:288,520 is a false positive. Ruff's S506 flags _YamlLoader as unsafe, but it subclasses yaml.SafeLoader and only strips YAML 1.1's on/off/yes/no bool aliases. Not a deserialization risk. Deliberately not filed.
  • S105 hardcoded-password-string (7 hits) are variable-name matches, not credentials. No committed .env or key material found.
  • CI coverage is good — pytest, ruff, build-and-test, mac/windows/GPU matrices, CLA, AGENTS.md integrity. The gap is that none of it is required, which is filed separately.
  • Issue templates, Dependabot config, pre-commit hooks, AGENTS.md, CLAUDE.md, LICENSE and repo topics are all already present — not filed.

Filed by the repo-improvement-sweep skill.

Ngôn ngữ chính
Python
Star
1k
Fork
176
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
87

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Comfy-Org/comfy-cli

Tất cả issue của Comfy-Org/comfy-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.