cylc/cylc — pull request #649 by hjoliver (2013-08-19 22:48:23+00:00)
Title: Future trigger final-cycle check should ignore async tasks.

Else we get an illegal cycle time error. This only applies if the suite has a stop cycle.

This addresses a problem reported by email from @arjclark.

This is related to #637 but slightly different. After suite reload, new task proxies go through some checks, some of which are only relevant to cycling tasks (such as comparing task cycle time with suite stop cycle). #637 prevented async tasks themselves from going through checks specific to cycling tasks (=> illegal cycle-time error). This left open one loophole though - if the suite has a stop cycle, cycling tasks have their upstream prerequisites checked for future-triggers that extend beyond the stop cycle. And if the upstream task was asynchronous, this cycle time comparison also raised a cycle time error.