Record the comprehension check: PR #371 ruled the same
This commit is contained in:
@@ -217,7 +217,7 @@ def closed_cycle(loop_run: LoopRun, project: Rung | None, concluded: Concluded,
|
||||
if stop := archive_step(archive_folder, session, after.task, concluded.route, after.route, effects):
|
||||
return stop
|
||||
if limit := reached_limit(after):
|
||||
# An unfinished verdict always leaves a route. The stop is archived with that route, the one the next cycle would run on, so a rerun resumes there.
|
||||
# An unfinished verdict always leaves a route; the `or` only satisfies LoopRun.route's optional type. The stop is archived with that route, the one the next cycle would run on, so a rerun resumes there.
|
||||
return archived_stop(archive_folder, session, after.task, after.route or concluded.route, limit, limit.reason, effects)
|
||||
return after
|
||||
|
||||
|
||||
Reference in New Issue
Block a user