chore: comment cleanup

Comment-Gate: 6 quarantined
This commit is contained in:
Simon Pinfold
2026-08-18 11:34:35 -07:00
parent e7eb7832b9
commit 73325a6c7f
3 changed files with 1 additions and 15 deletions

View File

@@ -64,13 +64,7 @@ class ReprojectionSummary(StepResult):
@property
def complete(self) -> bool:
"""A path under no known root today may be under one tomorrow.
Its file is on disk -- an absent file is counted separately -- so the
root was configured away rather than deleted, and nothing else will ever
re-derive the row: the scan only builds specs for paths it has not seen.
Staying unstamped is what lets restoring the root repair them.
"""
"""Nothing else re-derives these rows -- the scan only builds specs for paths it has not seen -- so staying unstamped is what lets a restored root repair them."""
return self.unclassified_paths == 0
def __str__(self) -> str:

View File

@@ -553,7 +553,6 @@ class TestRunner:
assert session.get(AssetReference, "ref-1").loader_path == "model.safetensors"
def test_unclassified_row_withholds_the_stamp(self, session, comfy_dirs):
"""Skipping a row must not also stamp past it -- nothing else repairs one."""
_register(
session,
_write(comfy_dirs["elsewhere"], "unconfigured.safetensors"),
@@ -581,7 +580,6 @@ class TestRunner:
def test_restoring_a_root_repairs_the_rows_it_had_hidden(
self, session, comfy_dirs
):
"""The point of withholding the stamp: a re-added root gets reprojected."""
hidden = _write(comfy_dirs["elsewhere"], "unconfigured.safetensors")
_register(session, hidden, "ref-outside", loader_path=None)

View File

@@ -564,11 +564,6 @@ class TestSeederSemanticsReset:
def test_semantics_reset_suspends_on_pause(self, fresh_seeder: _AssetSeeder):
"""A pause must stop the walk between batches, not just a cancel.
The seeder is paused while a prompt runs, so a check that ignores pause
keeps statting the whole asset table during generation.
"""
captured = {}
with (
@@ -610,7 +605,6 @@ class TestSeederSemanticsReset:
def test_cancel_during_semantics_reset_stops_before_pruning(
self, fresh_seeder: _AssetSeeder
):
"""A cancelled reset must not fall through into the prune's writes."""
calls = []
def _cancel_during_reset(interrupt_check=None):