René's URL Explorer Experiment


Title: ci(docspublish): make cli_interactive gif regeneration deterministic by bearomorphism · Pull Request #2009 · commitizen-tools/commitizen · GitHub

Open Graph Title: ci(docspublish): make cli_interactive gif regeneration deterministic by bearomorphism · Pull Request #2009 · commitizen-tools/commitizen

X Title: ci(docspublish): make cli_interactive gif regeneration deterministic by bearomorphism · Pull Request #2009 · commitizen-tools/commitizen

Description: Description Every push to master currently produces a noisy docs(cli/screenshots) auto-commit (20+ in a row in recent history) because VHS renders byte-different gifs from identical sources. This PR removes both sources of churn: CI guard -- a new Discard cli_interactive regeneration when render inputs are unchanged step diffs docs/images/*.tape, docs/images/shared/, and the commitizen/ package between github.event.before and HEAD; if nothing under those paths changed, the regenerated gifs are reset and never committed. The commitizen/ arm preserves legitimate code-driven screenshot updates (e.g. renaming a prompt in commitizen/cz/conventional_commits/conventional_commits.py or commitizen/commands/init.py). workflow_dispatch always keeps the regen so intentional refreshes still work. Missing/zero/unreachable before SHAs fall through to keeping the regen. Pin VHS to v0.11.0 so deliberate refreshes are reproducible across runs. It also rewrites the 5 .tape files to wait for cz prompt strings via Wait+Screen /regex/ (a v0.11 feature) instead of fixed Sleep delays. This removes the remaining frame-timing nondeterminism, and a future cz prompt rename will fail the 15s Wait timeout in CI instead of silently producing the wrong gif. Checklist I have read the contributing guidelines Was generative AI tooling used to co-author this PR? Yes (please specify the tool below) Generated-by: GitHub Copilot CLI (claude-opus-4.7-1m-internal) following the guidelines Code Changes N/A: no Python code path changed; CI workflow + VHS tape changes only. Run uv run poe all locally to ensure this change passes linter check and tests Pre-existing unrelated failures on Windows (test_bump_minor_increment_signed: local gpg setup; test_breaking_change_content_v1_beta: flaky in parallel run, passes in isolation). Not introduced by this PR. Manually test the changes: vhs validate passes on all 5 tapes. Wait+Screen regexes grepped verbatim from commitizen/cz/conventional_commits/conventional_commits.py, commitizen/commands/init.py, commitizen/commands/bump.py. Full render verification deferred to CI on first merge (native Windows vhs hangs on ttyd+WSL bash; not a tape issue). Expected Behavior Pushes that don't touch tape sources or any commitizen/ source file produce no docs(cli/screenshots) auto-commit. Pushes that modify a tape, or any code the tapes execute, still commit the new gif. Manual workflow_dispatch always commits the regen (intentional-refresh lever after a VHS bump). A future cz prompt rename fails the matching Wait+Screen after 15s in CI. Steps to Test This Pull Request # Validate tape syntax cd docs/images vhs validate bump.tape commit.tape init.tape shortcut_default.tape shortcut_custom.tape # (optional, Linux/WSL) Render and eyeball-diff against current gifs uv sync --group base uv run poe doc:screenshots End-to-end CI behaviour is observable on the next push to master after merge: should produce no docs(cli/screenshots) auto-commit unless the push touches a tape or commitizen/ source. Additional Context Follow-ups scoped out of this PR: Parallelize scripts/gen_cli_interactive_gifs.py (separate PR #2010). Drop the Set Shell bash + hardcoded /tmp/commitizen-example constraints in shared/base.tape so tapes can render natively on Windows. Switch the auto-commit step to open a PR instead of pushing directly.

Open Graph Description: Description Every push to master currently produces a noisy docs(cli/screenshots) auto-commit (20+ in a row in recent history) because VHS renders byte-different gifs from identical sources. This P...

X Description: Description Every push to master currently produces a noisy docs(cli/screenshots) auto-commit (20+ in a row in recent history) because VHS renders byte-different gifs from identical sources. This P...

Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/2009

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9be5f14b-87aa-3080-75f5-ed105b02fbc4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAFC:33E28C:C9B374:114DEE9:6A62C5B0
html-safe-nonce068902bb7e18af1c71c8ddf288ce2ed73271ef31639205f33966df438ee289ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUZDOjMzRTI4QzpDOUIzNzQ6MTE0REVFOTo2QTYyQzVCMCIsInZpc2l0b3JfaWQiOiI0NzcwODYzNTA4MjcxMzE4NDQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacba9578fbaf5852adb95239cb7521212fa745f729456228834feac25bbcd11ad6
hovercard-subject-tagpull_request:3773273303
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/commitizen-tools/commitizen/pull/2009/files
twitter:imagehttps://avatars.githubusercontent.com/u/26526132?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/26526132?s=400&v=4
og:image:altDescription Every push to master currently produces a noisy docs(cli/screenshots) auto-commit (20+ in a row in recent history) because VHS renders byte-different gifs from identical sources. This P...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonedf33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git
octolytics-dimension-user_id62252524
octolytics-dimension-user_logincommitizen-tools
octolytics-dimension-repository_id106127589
octolytics-dimension-repository_nwocommitizen-tools/commitizen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id106127589
octolytics-dimension-repository_network_root_nwocommitizen-tools/commitizen
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released41cd1bdb290013455c0ac430fa755621733f5eb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/commitizen-tools/commitizen/pull/2009/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fpull%2F2009%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fpull%2F2009%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=commitizen-tools%2Fcommitizen
Reloadhttps://github.com/commitizen-tools/commitizen/pull/2009/files
Reloadhttps://github.com/commitizen-tools/commitizen/pull/2009/files
Reloadhttps://github.com/commitizen-tools/commitizen/pull/2009/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/2009/files
commitizen-tools https://github.com/commitizen-tools
commitizenhttps://github.com/commitizen-tools/commitizen
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/2009/files
Notifications https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Fork 346 https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Star 3.5k https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Code https://github.com/commitizen-tools/commitizen
Issues 116 https://github.com/commitizen-tools/commitizen/issues
Pull requests 46 https://github.com/commitizen-tools/commitizen/pulls
Discussions https://github.com/commitizen-tools/commitizen/discussions
Actions https://github.com/commitizen-tools/commitizen/actions
Projects https://github.com/commitizen-tools/commitizen/projects
Security and quality 0 https://github.com/commitizen-tools/commitizen/security
Insights https://github.com/commitizen-tools/commitizen/pulse
Code https://github.com/commitizen-tools/commitizen
Issues https://github.com/commitizen-tools/commitizen/issues
Pull requests https://github.com/commitizen-tools/commitizen/pulls
Discussions https://github.com/commitizen-tools/commitizen/discussions
Actions https://github.com/commitizen-tools/commitizen/actions
Projects https://github.com/commitizen-tools/commitizen/projects
Security and quality https://github.com/commitizen-tools/commitizen/security
Insights https://github.com/commitizen-tools/commitizen/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcommitizen-tools%2Fcommitizen%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen%2Fissues%2Fnew%2Fchoose
Lee-Whttps://github.com/Lee-W
masterhttps://github.com/commitizen-tools/commitizen/tree/master
docs/deterministic-gifshttps://github.com/commitizen-tools/commitizen/tree/docs/deterministic-gifs
Conversation 6 https://github.com/commitizen-tools/commitizen/pull/2009
Commits 1 https://github.com/commitizen-tools/commitizen/pull/2009/commits
Checks 21 https://github.com/commitizen-tools/commitizen/pull/2009/checks
Files changed https://github.com/commitizen-tools/commitizen/pull/2009/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/2009/files
ci(docspublish): make cli_interactive gif regeneration deterministic https://github.com/commitizen-tools/commitizen/pull/2009/files#top
Show all changes 1 commit https://github.com/commitizen-tools/commitizen/pull/2009/files
142cef5 ci(docspublish): make cli_interactive gif regeneration deterministic bearomorphism May 30, 2026 https://github.com/commitizen-tools/commitizen/pull/2009/commits/142cef50ed07ef75b4ba1c347373a10a92a608c0
Clear filters https://github.com/commitizen-tools/commitizen/pull/2009/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/2009/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/2009/files
docspublish.yml https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-1d23eaa7f2b9732ce7ff70e80700cd7483808b49175a5d5276e76faee8685db9
bump.tape https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-e9808549a7033013f3427a5a62678017889c717425b47dfbfe1dd35d69aae40a
commit.tape https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-c84a2558c4a2db371421986f63f0b4af44b3509809d4e06a1ac3a056fe70e105
init.tape https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-14dcbfc651a6ce0d7539493471a674f3ed04df7681f34b200316423d2ff05cce
shortcut_custom.tape https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-a9bedcaf4ef6c5eaf420d7b1e38a21118f70e601a39616911eed8d9919198916
shortcut_default.tape https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-8fefabd6343b7505d11da7b69c641991558d9d078c50d5515fd234ef7e686421
.github/workflows/docspublish.ymlhttps://github.com/commitizen-tools/commitizen/pull/2009/files#diff-1d23eaa7f2b9732ce7ff70e80700cd7483808b49175a5d5276e76faee8685db9
View file https://github.com/commitizen-tools/commitizen/blob/142cef50ed07ef75b4ba1c347373a10a92a608c0/.github/workflows/docspublish.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/2009/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-1d23eaa7f2b9732ce7ff70e80700cd7483808b49175a5d5276e76faee8685db9
https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-1d23eaa7f2b9732ce7ff70e80700cd7483808b49175a5d5276e76faee8685db9
docs/images/bump.tapehttps://github.com/commitizen-tools/commitizen/pull/2009/files#diff-e9808549a7033013f3427a5a62678017889c717425b47dfbfe1dd35d69aae40a
View file https://github.com/commitizen-tools/commitizen/blob/142cef50ed07ef75b4ba1c347373a10a92a608c0/docs/images/bump.tape
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/2009/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-e9808549a7033013f3427a5a62678017889c717425b47dfbfe1dd35d69aae40a
https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-e9808549a7033013f3427a5a62678017889c717425b47dfbfe1dd35d69aae40a
docs/images/commit.tapehttps://github.com/commitizen-tools/commitizen/pull/2009/files#diff-c84a2558c4a2db371421986f63f0b4af44b3509809d4e06a1ac3a056fe70e105
View file https://github.com/commitizen-tools/commitizen/blob/142cef50ed07ef75b4ba1c347373a10a92a608c0/docs/images/commit.tape
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/2009/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-c84a2558c4a2db371421986f63f0b4af44b3509809d4e06a1ac3a056fe70e105
docs/images/init.tapehttps://github.com/commitizen-tools/commitizen/pull/2009/files#diff-14dcbfc651a6ce0d7539493471a674f3ed04df7681f34b200316423d2ff05cce
View file https://github.com/commitizen-tools/commitizen/blob/142cef50ed07ef75b4ba1c347373a10a92a608c0/docs/images/init.tape
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/2009/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-14dcbfc651a6ce0d7539493471a674f3ed04df7681f34b200316423d2ff05cce
docs/images/shortcut_custom.tapehttps://github.com/commitizen-tools/commitizen/pull/2009/files#diff-a9bedcaf4ef6c5eaf420d7b1e38a21118f70e601a39616911eed8d9919198916
View file https://github.com/commitizen-tools/commitizen/blob/142cef50ed07ef75b4ba1c347373a10a92a608c0/docs/images/shortcut_custom.tape
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/2009/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-a9bedcaf4ef6c5eaf420d7b1e38a21118f70e601a39616911eed8d9919198916
docs/images/shortcut_default.tapehttps://github.com/commitizen-tools/commitizen/pull/2009/files#diff-8fefabd6343b7505d11da7b69c641991558d9d078c50d5515fd234ef7e686421
View file https://github.com/commitizen-tools/commitizen/blob/142cef50ed07ef75b4ba1c347373a10a92a608c0/docs/images/shortcut_default.tape
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/2009/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/2009/files#diff-8fefabd6343b7505d11da7b69c641991558d9d078c50d5515fd234ef7e686421
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/2009/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.