fix: stabilize V3.4 hybrid FLF continuation

This commit is contained in:
ukr8b3g-cmyk
2026-08-21 13:18:17 +09:00
parent a03b496d4f
commit d3dab7bcb0
9 changed files with 495 additions and 18 deletions
+29
View File
@@ -0,0 +1,29 @@
param(
[string]$Python = 'python',
[string]$ComfyRoot = '',
[switch]$SkipTests,
[switch]$SkipRuntime
)
$ErrorActionPreference = 'Stop'
$repository = Split-Path -Parent $PSScriptRoot
Push-Location $repository
try {
& $Python -m compileall -q .
if ($LASTEXITCODE -ne 0) { throw 'compileall failed' }
if (-not $SkipTests) {
& $Python -m pytest -q
if ($LASTEXITCODE -ne 0) { throw 'pytest failed' }
}
if (-not $SkipRuntime) {
$arguments = @('tools/verify_runtime.py')
if ($ComfyRoot) { $arguments += @('--comfy-root', $ComfyRoot) }
& $Python @arguments
if ($LASTEXITCODE -ne 0) { throw 'runtime verification failed' }
}
}
finally {
Pop-Location
}