mirror of
https://github.com/Comfy-Org/comfy-python-sdk.git
synced 2026-11-04 23:37:47 +00:00
[PR #15] [CLOSED] ci: auto-heal spec-sync PRs by regenerating the models #22
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#22
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/15
Author: @wei-hai
Created: 7/23/2026
Status: ❌ Closed
Base:
main← Head:ci/spec-sync-autoheal📝 Commits (1)
1a656edci: auto-heal spec-sync PRs by regenerating the client📊 Changes
1 file changed (+74 additions, -0 deletions)
View changed files
➕
.github/workflows/sync-autoheal.yml(+74 -0)📄 Description
What
Adds a
Sync spec auto-healworkflow that eliminates the manualgeneratestep on the automated spec-sync PRs.Why
The spec-sync automation opens a PR that updates only the vendored
spec/openapi.yaml, not the generated client. The drift check then fails on every sync PR until a maintainer checks out the branch, regenerates, and commits. This makes that automatic.How
chore/sync-v2-spec-*branches (ordinary PRs untouched).SPEC_SYNC_TOKENsecret (contents:write) instead of the defaultGITHUB_TOKEN, because aGITHUB_TOKENpush does not re-trigger required checks (GitHub's recursive-run guard). Workflow-level permissions staycontents: read.Setup required
Add a
SPEC_SYNC_TOKENrepo secret — a fine-grained PAT (or app token) withcontents:writeon this repo. Until it exists, the job fails fast with an actionable message and nothing else changes.Verified
Hygiene scanner + YAML parse pass. The regen command mirrors the drift check exactly (byte-for-byte), so it produces precisely what the check expects.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.