mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix: pin the compositor so a frame depends only on the commit (#424)
User-Visible: no Issue: #424
This commit is contained in:
@@ -933,6 +933,29 @@ const MUTANT_DEFINITIONS = [
|
||||
replace: " this._persistDecorStyle();\n }, 0);",
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'capture-allows-partial-raster',
|
||||
guard: 'node --test test/capture-determinism-args.test.mjs',
|
||||
because: 'partial raster reuses whatever the compositor drew before, so the frame '
|
||||
+ 'depends on the history of the run — one or two of ten frames drifted between '
|
||||
+ 'runs while three shots inside one process matched byte for byte (#424)',
|
||||
patches: [{
|
||||
file: 'demo/docs/browser-args.mjs',
|
||||
find: " '--disable-partial-raster',\n",
|
||||
replace: '',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'capture-draws-before-compositor-settles',
|
||||
guard: 'node --test test/capture-determinism-args.test.mjs',
|
||||
because: 'without running every compositor stage first the screenshot is taken '
|
||||
+ 'mid-flight, and the remaining work lands differently on every run (#424)',
|
||||
patches: [{
|
||||
file: 'demo/docs/browser-args.mjs',
|
||||
find: " '--run-all-compositor-stages-before-draw',\n",
|
||||
replace: '',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'danger-confirm-back-into-the-branch',
|
||||
guard: 'node demo/smoke_danger_confirm_branches.mjs',
|
||||
|
||||
Reference in New Issue
Block a user