Skip to content

Add job to update golden images#61

Merged
simongdavies merged 2 commits intohyperlight-dev:mainfrom
simongdavies:update-golden-images
Apr 20, 2026
Merged

Add job to update golden images#61
simongdavies merged 2 commits intohyperlight-dev:mainfrom
simongdavies:update-golden-images

Conversation

@simongdavies
Copy link
Copy Markdown
Member

This pull request introduces a new GitHub Actions workflow to automate the regeneration of PDF visual regression golden baselines. The workflow allows developers to easily update goldens in CI, ensuring consistency and reducing manual steps when visual diffs are detected.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 20, 2026 10:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a manually-triggered GitHub Actions workflow to regenerate PDF visual regression golden baselines on a CI-equivalent runner and open a PR with the updated golden PNGs.

Changes:

  • Introduces a new workflow_dispatch workflow with a branch input to target regeneration.
  • Runs the PDF visual regression test suite with UPDATE_GOLDEN=1, detects changes under tests/golden/, and opens a PR via peter-evans/create-pull-request.

Comment thread .github/workflows/update-golden.yml Outdated
Comment thread .github/workflows/update-golden.yml
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies merged commit 50cab97 into hyperlight-dev:main Apr 20, 2026
11 checks passed
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.

2 participants