Stabilize CI against expanded plugin surface

This commit is contained in:
Nick Sweeting
2026-03-15 06:31:41 -07:00
parent 1f792d7199
commit 760cf9d6b2
11 changed files with 75 additions and 68 deletions

View File

@@ -1082,7 +1082,7 @@ class BinaryWorker(Worker):
binary.sm.tick()
binary.refresh_from_db()
if binary.status == Binary.StatusChoices.INSTALLED:
if binary.status == binary.__class__.StatusChoices.INSTALLED:
log_worker_event(
worker_type='BinaryWorker',
event=f'Installed: {binary.name} -> {binary.abspath}',
@@ -1141,7 +1141,7 @@ class BinaryWorker(Worker):
binary.sm.tick()
binary.refresh_from_db()
if binary.status == Binary.StatusChoices.INSTALLED:
if binary.status == binary.__class__.StatusChoices.INSTALLED:
log_worker_event(
worker_type='BinaryWorker',
event=f'Installed: {binary.name} -> {binary.abspath}',