Self-heal modes
There are two ways to trigger self-heal on a video:On schedule
Regenerate the video on a recurring schedule—weekly or monthly. Demomatic automatically re-records and replaces the video at the configured frequency.
On GitHub PR
Regenerate the video when a pull request is opened or merged in your connected GitHub repository. Use this to keep demos in sync with code changes before they ship.
Frequency options
When using scheduled self-heal, you control how often videos regenerate. The available options are:weekly— regenerates once per weekmonthly— regenerates once per month
weekly for fast-moving products or demos of frequently updated features, and monthly for more stable parts of your application.
How to enable self-heal
GitHub PR-based self-heal
Whenself_heal_on_pr is enabled, Demomatic monitors your connected GitHub repository for pull request activity. When a relevant PR is detected, Demomatic regenerates the video and posts a comment to the PR with a link to the updated demo.
This gives your team a way to review demo accuracy as part of the code review process.
PR-based self-heal requires a GitHub integration. See the GitHub integration guide to connect your repository.
