mirror of
https://github.com/Comfy-Org/comfyci-runpod-worker.git
synced 2026-11-04 23:47:32 +00:00
[PR #4] [MERGED] Record why a golden was blessed and allow promoting an existing run #4
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfyci-runpod-worker#4
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/comfyci-runpod-worker/pull/4
Author: @marawan206
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/8/2026
Merged by: @alexisrolland
Base:
run-index← Head:goldens-v2📝 Commits (1)
37aa1ccRecord why a golden was blessed and allow promoting an existing run📊 Changes
5 files changed (+455 additions, -42 deletions)
View changed files
📝
.github/workflows/golden-baseline.yml(+47 -10)📝
README.md(+25 -1)📝
scripts/golden_baseline.py(+192 -23)📝
scripts/index_builder.py(+11 -8)➕
scripts/tests/test_golden_baseline.py(+180 -0)📄 Description
Why
Accepting an intentional numerics change (the #16488 adaln rounding-order change that moved every FLUX pixel by a rounding error) means re-blessing the golden. Nothing recorded who accepted what and why, and generating a golden always cost two GPU runs even when the accepted output already existed on the results branch.
What
golden_baseline.py:--reason,--lane(selects the lane's storage prefix),--from-run BRANCH/<sha>,--force, and a full commit sha accepted as--ref.blessed.jsonv2 records lane, python and cuda (driver and image identity once the worker reports them), the golden's output sha, the superseded tag and the reason;current.jsoncarriesreason,supersedes,output_sha256;golden/<wf>/history.jsonkeeps every bless.--from-runpromotes an existing run's outputs without GPU time, names the golden after that commit (a--refmust resolve to it), and inherits the previous golden's noise floor markedmeasured: false. An existing golden directory is never overwritten without--force; bless-only checks every workflow before blessing any. Blessing and the run-index refresh run as derived writers, so a publish that retries behind the regression cron re-applies them on the fresh tree, and the dashboard stops reporting accepted drift as an open regression in the same publish.golden-baseline.yml:from_run,reason,lane,forceinputs; every input reaches the script through the environment instead of being interpolated into the shell; own concurrency group; timeout.Verification
python -m pytest scripts/tests -q(helpers, promote + bless + history on a real git remote, the from-run command-line flow end to end including a reason with quotes and$, refusal to overwrite without--force, ref/shape validation, bless-only validation before any bless).3fa6e2ad…, identical noise floor. Blessing it with a reason after the maintainer ack is the first use of this flow.Stacked on #3.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.