mirror of
https://github.com/Comfy-Org/comfy-python-sdk.git
synced 2026-11-04 23:37:47 +00:00
[PR #61] [MERGED] docs: add contributor scaffolding (CONTRIBUTING, issue templates, Dependabot, CHANGELOG) #61
Labels
No labels
audit:ai-readiness
audit:community
audit:github
audit:health-scoring
audit:policy
audit:release
audit:supply-chain
effort:medium
effort:small
effort:small
effort:trivial
priority:nice-to-have
priority:nice-to-have
priority:recommended
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-python-sdk#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-python-sdk/pull/61
Author: @christian-byrne
Created: 8/20/2026
Status: ✅ Merged
Merged: 8/23/2026
Merged by: @christian-byrne
Base:
main← Head:docs/contributor-scaffolding📝 Commits (5)
cd41b98docs: add CONTRIBUTING.md covering uv setup, required checks, and the codegen gatec406d2edocs: add bug report and feature request issue templates0f85c49ci: enable Dependabot for pip and github-actionse95edaedocs: add CHANGELOG seeded from the published release historyfc02845ci: allowlist the repo's pre-rename name in the public-repo hygiene check📊 Changes
7 files changed (+489 additions, -1 deletions)
View changed files
➕
.github/ISSUE_TEMPLATE/bug_report.md(+48 -0)➕
.github/ISSUE_TEMPLATE/feature_request.md(+35 -0)➕
.github/dependabot.yml(+53 -0)➕
CHANGELOG.md(+165 -0)➕
CONTRIBUTING.md(+179 -0)📝
README.md(+5 -1)📝
scripts/check_public_repo_hygiene.py(+4 -0)📄 Description
Adds the contributor scaffolding this repo was missing. Four independent files, one commit each.
CONTRIBUTING.md
uv-based setup plus the checks CI actually enforces:
--extra devis load-bearing and is called out explicitly: the dev tools are declared under[project.optional-dependencies], a PEP 621 extra rather than a[dependency-groups]entry, so uv does not install them unless asked. Omitting it leaves you with no ruff, mypy, or pytest. The pip path CI itself uses (pip install -e .[dev]then bare commands) is documented alongside it, so neither workflow is a surprise.The main thing the doc exists for is the codegen trap from #54:
src/comfy_low/models/_generated.pyis the only generated file, both ruff (extend-exclude) and mypy (exclude) skip it so its bytes stay identical to the generator's output, and therefore a hand-edit passes every local check and fails only in thecodegen-driftjob. The fix — editspec/openapi.yaml, thenuv run --extra codegen bash scripts/gen_models.sh— is spelled out, along with whydatamodel-code-generatoris pinned.Also covers the less obvious CI gates (
build-check,public-repo-hygiene), the strict pytest config (deprecations are errors,--strict-markers), the env-gated integration suite, conventional commits, the CLA bot, and CODEOWNERS review.Two small README changes ride along: a link to the new guide from the Development section, and a fix to
python scripts/gen_models.sh— it is a bash script, so that command as written fails..github/ISSUE_TEMPLATE/
Adapted from
Comfy-Org/comfy-cli'sbug_report.md/feature_request.mdrather than written from scratch, so the shape matches the org's other repos. Added the fields a client library needs to triage anything: SDK version, Python version, which deployment (Cloud / serverless / self-hosted proxy, with proxy version), and a minimal repro with the key redacted..github/dependabot.yml
pip(readspyproject.toml) andgithub-actions, both weekly, minor/patch grouped into one PR per ecosystem so routine churn does not consume the PR limit and bury a major.One deliberate exclusion:
datamodel-code-generatorminor/patch bumps are ignored. The drift gate compares byte-for-byte, so a generator bump reformats_generated.pyand reds CI until the file is regenerated in the same commit — a Dependabot PR could never be green on its own. Majors still come through for a deliberate upgrade.CHANGELOG.md
Keep a Changelog, reconstructed from all eight published GitHub Releases. The release notes here were detailed enough to rebuild real entries — nothing is invented, and the notes are linked as the fuller account. The gap at 0.1.6 is recorded explicitly (consumed by a release-pipeline failure, never published) so it does not read as a missing entry.
Unreleasedis empty because the only commit since v0.1.8 is a docs change.Notes
pyproject.toml,uv.lock, and.github/workflows/ci.ymlrather than executed.scripts/check_public_repo_hygiene.pypasses on the branch.Closes #54
Closes #55
Closes #56
Closes #57
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.