Selected Cylc Changes
Internal changes that do not directly affect users may not be listed here. For all changes see the closed milestones for each release.
Second alpha release of Cylc 8.
Backward incompatible changes
Cylc 8.0a1 is not compatible with Cylc 7 or with Cylc 8.0a0, as the API is still under heavy development.
were removed in this version.
The xtriggers examples were moved to a separate
project (see #3123).
In this version Cylc got a
setup.py file, and became a Python package
with modules, that could be installed with
pip (see #2990).
Cylc also was renamed in this version to
started being used as a native namespace, to allow other projects to
re-use it to extend Cylc with plug-ins.
Jinja filters were moved from its
Jinja2Filters folder to within the
cylc namespace, under
#3302 - improve CLI task-globbing help.
#3096 - add colour to the Cylc CLI.
#2963 - make suite context available before config parsing.
#3274 - disallow the use of special characters in suite names.
#3001 - simplify cylc version, dropping VERSION file and git info.
#3007 - add tests for quoting of tilde expressions in environment section.
#3006 - remove cylc.profiling package and cylc-profile-battery.
#2998 - Bandit security recommendations for Cylc 8 target.
#3024 - remove remaining Cylc Review files.
#3022 - removed LaTeX support from check-software.
#3029 - remove dev-suites from tests.
#3036 - re-enable EmPy templating.
#3044 - remove GTK labels from task states.
#3055 - simplify regexes.
#2995 - elegantly handle known errors.
#3069 - make Python 3.7 the min version for Cylc.
#3068 - add shellcheck to lint shell script files.
#3088 - remove obsolete ksh support.
#3091 - remove useless license commands.
#3095 - run prove with --timer.
#3093 - job.sh: run as bash only.
#3101 - add kill all to functional tests.
#3123 - remove Kafka xtrigger example.
#2990 - make cylc a module.
#3131 - renamed cylc to cylc-flow, and simplified project summary.
#3140 - cylc-flow rename in README badges, setup.py, and a few more places.
#3138 - add suite aborted event.
#3132 - move parsec to cylc.parsec.
#3113 - document select_autoescape security ignore.
#3083 - extend ZMQClient and update docstrings.
#3155 - remove changed variable in async_map.
#3135 - incorporate jinja2filters into cylc.flow.jinja.filters, and use native namespaces.
#3134 - update how CYLC_DIR is used in Cylc.
#3165 - added GitHub Issue and Pull Request templates.
# Deprecated Syntax [scheduling] initial cycle point = next(T00) [[dependencies]] [[[P1D]]] graph = task1 => task2
Can now be written as:
# New Syntax [scheduling] initial cycle point = next(T00) [[graph]] P1D = task1 => task2
#3258 - leave '%'-escaped string templates alone in xtrigger arguments.
#3010 - fixes except KeyError in task_job_mgr.
#3031 - convert range to list so that we can use reduce.
#3040 - add check for zero to xrandom.
#3018 - subprocpool: use SpooledTemporaryFile instead of TemporaryFile.
#3032 - fix syntax for array access in cylc check-software.
#3035 - fix scheduler#shutdown when reference-log option is used.
#3056 - fix suite freeze on non-existent xtrigger.
#3060 - fix bug when an AttributeError is raised, and add unit tests for xtrigger.
#3015 - use global client zmq context.
#3092 - fix recent shellcheck-inspired quoting errors.
#3085 - fix cylc-search for directories without suite.rc.
#3105 - fix work location assumption in a test.
#3112 - prepend custom Jinja2 paths.
#3130 - remove Python 2 compatibility in setup.py for wheel.
#3137 - fix job kill hold-retry logic.
#3077 - support single port configuration for zmq.
#3153 - fix bug in async_map.
#3164 - fix pclient undefined error.
#3173 - NameError when invalid cylc command is used (instead of a ValueError).
#3003 - Fix inheritance with quotes using shlex.
#3184 - Fix restart correctness when the suite has a hold point, stop point, a stop task, a stop clock time and/or an auto stop option. These settings are now stored in the suite run SQLite file and are retrieved on suite restart. In addition, the settings are removed when they are consumed, e.g. if the suite stopped previously on reaching the stop point, the stop point would be consumed, so that on restart the suite would not stop again immediately.
cylc run command can now accept
--start-cycle-point=CYCLE-POINT options. This
change should allow the command to have a more uniform interface with commands
cylc validate, and with the final/stop cycle point options).
After this change:
cylc run SUITE POINTis equivalent to
cylc run --icp=POINT SUITE.
cylc run -w SUITE POINTis equivalent to
cylc run -w --start-point=POINT SUITE.
cylc run and
cylc restart commands can now accept the
--stop-cycle-point=POINT options. The
--until=POINT option is now an alias for
cylc run and
cylc restart commands can now accept the new
--auto-shutdown option. This option overrides the equivalent suite
configuration to force auto shutdown to be enabled. Previously, it is only
possible to disable auto shutdown on the command line.
#3236 - Fix submit number increment logic on insert of family with tasks that were previously submitted.
#3276 - Fix log & DB recording of broadcasts from xtriggers so they register all settings, not just one.
#3181 - moved documentation to the new cylc/cylc-doc repository.
#3025 - fix dev-suites reference in docs (now in examples).
#3004 - document suite runtime interface.
#3066 - minor fix to docs about exit-script.
#3108 - anatomy of a job script.
#3129 - added SECURITY.md.
#3151 - fix documentation heading levels.
#3158 - fix \ in doco
when wrapped in
None. Note that we added a
SECURITY.md file in this release (see #3129)
with instructions for reporting security issues, as well as a
listing with current incident reports.
First alpha release of Cylc 8. Also first release of Cylc uploaded to PYPI: https://pypi.org/project/cylc-flow/.
Backward incompatible changes
Cylc 8.0a0 API is not backward compatible with Cylc 7. The main changes are Python 3 and dropping the old PyGTK GUI, which was replaced by a Web GUI. Other changes include dependency management via Setuptools, and code being broken up into separate projects.
Cylc Review was also removed in this version.
#2936 - remove obsolete commands, modules, configuration, and documentation.
#2966 - port Cylc to Python 3.
#2939 - use higher contrast link colours for the generated documentation.
#2954 - fix jinja2 variable setting example suites.
#2951 - amend makefile command and address warning.
#2971 - general single- and multi-page User Guides.
Maintenance and minor enhancement release, plus new-format User Guide.
Selected user-facing changes:
#2910 - replace LaTeX-generated HTML and PDF User Guide with Sphinx-generated HTML.
#2815 - allow initial cycle point relative to current time.
#2902 - expose suite UUID to event handlers.
#2932 - fix possible blocking pipe due to chatty job submission (and other subprocess) commands.
#2921 - better suite validation warning for out-of-bounds cycling sequences.
#2924 - fix and expand 7.8.0
cylc review documentation in the User Guide.
Minor release with over 120 issues closed. Significant issues include:
#2693 - auto host selection; and
#2809 - auto migration.
cylc run and
cylc restart can now select the best host (based on several
metrics) on which to launch suite server programs. And running suites
can be told (via global config) to self-migrate to another available host, e.g.
for server maintenance. (The pool of suite hosts should see a shared
#2339 - general external triggering: tasks can trigger off of arbitrary user-defined Python functions called periodically by the suite server program, with built-in functions for suite-state (inter-suite) triggering and clock triggering (these deprecate the existing suite-state polling tasks and clock-triggered tasks).
#2734 - EmPy templating support, as an alternative to Jinja2. "EmPy allows embedding plain Python code within templates and doesn't enforce any particular templating philosophy."
#2733 - enhanced Jinja2 support:
- import pure Python modules in the same way as template modules
- Jinja2Tests and Jinja2Globals, for custom "is" tests and global variables (c.f. our existing Jinja2Filters for custom filters).
#2682 - new built-in Jinja2 filter to convert ISO8601 date-time durations to decimal seconds or hours.
cylc gui and
cylc graph - better integration with system desktop themes, including dark
themes; and other minor graph visualization improvements.
#2807 - task output events (event handlers can now be triggered when a task reports a registered output message).
#2868 - a new task
runtime config item
exit-script, for scripting to be executed at the
last moment after successful job completion. (Companion of
#2849 - record local background jobs by host name rather than "localhost".
#2877 - new batch system
pbs_multi_cluster, supports PBS 13 clients fronting
heterogeneous clusters with different home directories from the
cylc remote. (Not needed for PBS 14+.) (For Rose suites this requires a
corresponding change to
show application menu bar by default.
cylc gscan: display Cylc
version of running suites.
#2786 - make task try number available to event handlers (as for task job submit number).
#2771 - bash command completion:
complete suite names for commands that take a suite name argument (see
cylc check-software now
takes arguments to check for availability of specific modules.
cylc monitor - clean exit
#2704 - paginated
cylc help output.
#2660 - new
gcylc.rc config item to
show grouped cyclepoint subgraphs by default.
#2766 - (development) formal test coverage reporting and integration with GitHub.
#2751 - (development) new contributor
guidelines - see
#2876 - avoid subprocess hang when executing commands that generate a lot of stdout (such as when submitting hundreds of jobs at once).
suite.rc - fail validation
on detecting trailing whitespace after a line continuation character.
#2807 - handle multiple events of the same type with the same message (e.g. warnings) from the same task job.
#2803 - reset job submit number correctly after aborting (backing out of) a trigger edit-run.
cylc gui: fix dropdown list
of log numbers for re-inserted tasks or after suite
#2861 - improved emacs syntax highlighting.
#2892 - print the bad host name along with "Name or service not known" exceptions.
(Some minor changes not relevant to normal users may be omitted.)
Fixes and minor enhancements
#2719 - improved job poll logging
#2724 - fix a rare error associated with ithe use of final cycle point in multiple recurrence expressions
#2723 - fix remote commands (executed by remote task jobs) running in UTC mode when the suite is not running in UTC mode
#2726 - fix crash in suites with no final cycle point that are reloaded following a restart
#2716 - ensure that job polling interval lists are not overridden
#2714 - block irrelevant
InsecureRequestWarnings from urllib3 on anonymous suite server access by
cylc scan and
#2715 - fix a cross-version incompatibility, if a cylc-7.6.x task job messages a cylc-7.7.1 suite
#2710 - fix a GUI error on right-clicking a "scissor node" in the graph view
Minor maintenance release.
(Several minor fixes have been omitted from this list.)
#2678 - fix loading of job poll timers on restart (bug introduced at last release)
#2683 - fix potential error in
cylc check-software (which checks for installed software dependencies)
#2691 PBS support - handle job poll result correctly if qstat temporarily fails to connect to the server
#2703 - fix an error
(inconsequential) that appears in the suite log at restart:
ValueError: No JSON object could be decoded
#2692 - fix X11 forwarding for GUI
edit job log, with
cylc gui --host=HOST
#2690 - invoking Cylc command help
should not require
$DISPLAY to be set
#2677 - use random serial numbers in the self-signed SSL certificates generated by suite server programs
#2705 - block several security
warnings emitted by
urllib3 under old Python versions (2.6). We are
aware of the security issues, but these warnings serve no purpose on affected
platforms except to confuse and annoy users.
#2676 - use
(i.e. Python-2 specific) in Cylc source files, to avoid issues with default
Python 3 installations (note Cylc is going to Python 3 next year)
#2679 - change bold font back to normal in the GUI log viewer
- new User Guide section on Remote Job Management
- tidy the installation documentation
- standardise directory structures (all docs updated accordingly):
- site config file
- gcylc config example
- site job environment init
- editor syntax files in
- bash completion script
- site config file
global.rccan now go in
~/.cylc/(the version-specific location avoid forward compatibility problems - see notes in
- moved central cylc wrapper template to
- various developer scripts and notes moved from
<cylc-dir>/etc/dev-bin, dev-notes, dev-suites.
- the ancient
user.rcglobal config filename variants are now obsolete.
#2659 - commands in the process pool
(event handlers, and job submit, poll and kill commands) will now be killed on
a configurable timeout if they hang, rather than tying up a member of the
finite process pool:
process pool timeout = PT10M
#2582 - improve client/server
cylc message can send multiple messages at once, with
different severities; server ignores messages from superseded job submits;
running jobs detect that the suite has been cold-started under them and will
not attempt to connect; ssh-based indirect client-server communication now
works automatically for all clients, not just messaging.
#2590 - replaced the fixed process pool with direct management of individual sub-processes (for external commands executed by the server program).
#2561 - pass resolved triggering
$CYLC_TASK_DEPENDENCIES in job environments.
#2639 - date-time cycling: document availability of 365-day (never a leap year) and 366-day (always a leap year) calendars.
#2597 - emit a "late" event if a task has not triggered by a user-defined real-time offset relative to cycle point.
#2648 - improve version reporting.
Note than non-standard lowercase
cylc -v is now gone; use
cylc -V or
cylc --version, with optional
--long format to print as well as version.
#2620 - re-document the long-dated
[special tasks]sequential and recommend using explicit dependencies in the
#2584 - internal queues now release task jobs on a FIFO (First In, First Out) basis, rather than randomly.
#2538 - remove leading whitespace
script items in task definitions, for cleaner job scripts.
cylc scan: make default
behavior consistent with
cylc gscan: get suite information from
only for the current user; and no partial matches with
--name=bar will only match the suite
#2593 - fix polling after job execution timeout (configured pre-poll delays were being ignored).
#2656 - fix suicide triggers with multiple prerequisites in the same graph line.
#2638 - fix duplicate "failed" task
cylc stop --kill.
#2653 - tidy and correct the main
cylc help documentation.
#2649 - respect suite UTC mode when recording job submit time (database and GUI tree view).
#2631 - fix "failed" task event after bad host select.
cylc gui: fix error when
a task job completes just before "view task prerequisites" (menu) is actioned.
#2600 - correct task prerequisite manipulation on state changes.
#2596 - fix reference to parameter
#2592 - permit syntax errors in edit runs, so that the job file still gets written.
cylc gscan: fix a
re-spawning error dialog.
cylc cat-log: avoid leaving
orphaned tail-follow processes on job hosts.
A collection of bug fixes made since cylc-7.6.0.
cylc gui: fix tailing of
remote job logs from the GUI (in 7.6.0 this failed with a Python traceback).
#2596 - allow parameter values that contain +/- characters
cylc gscan HOST: show just
the owner's suites by default (at 7.6.0 this showed all suites on HOST).
cylc trigger --edit:
disable job script syntax checking in edit runs (this prevented a new job
script from being written for editing).
cylc gscan: fix respawning
error dialog on giving a bad regular expression (on the command line) to match
owner or suite name.
#2606 - jobs with batch system info missing in a corrupted status file (thus not pollable) will now poll as failed rather appear stuck as running.
cylc gui (graph view): fix
possible error on inserting a nested family.
cylc gui (tree view): fix
negative progress bar value (reportedly possible after manual task state
cylc gui (tree view): fix
possible division-by-zero error in elapsed time computation.
cylc trigger --edit: fix
edit runs for tasks with dynamic remote host selection.
#2585 - fix recovery from a failed host select command.
#2373 - refactored suite server code (for efficiency, maintainability, etc.)
#2396 - improved job polling and task state reset:
- allow polling of finished tasks - to confirm they really succeeded or failed
- poll to confirm a task message that implies a state reversal - it could just be a delayed message
- allow reset to submitted or running states
- removed the "enable resurrection" setting - any task can now return from the dead
#2410 - new CUSTOM severity task messages that can trigger a custom event handler
cylc monitor now
reconnects automatically if its target suite gets restarted on a different port
cylc gui - significant reduction in impact on suite server
#2433 - "group" (used to group suites
cylc gscan) is now defined under the suite "[[meta]]" section
#2424 - task job scripts now run in
bash -l (login shell) instead of explicitly sourcing your
.profile file. WARNING: if you have a
.bash_profile and were using
.profile as well just for
Cylc, the latter file will now be ignored because bash gives precendence to the
former. If so, just move your Cylc settings into
.bash_profile or consult the Cylc User Guide for
other ways to configure the task job environment.
- batch system name and job ID
- submit time, start time, finish time
#2455 - network client improvements:
- on a failed connection, clients detect if the suite has stopped according to the contact file, then report it stopped and remove the contact file
- on attempt run an already-running suite (contact file exists) print more information on how old the suite is and how to shut it down
- clients running in plain HTTP protocol will no longer attempt to fetch a non-existent SSL certificate
- if a contact file is loaded, always use the values in it to avoid conflicting host strings in SSL certificate file, etc.
#2468 - initialize task remotes
asynchronously via the multiprocessing pool, to avoid holding up suite start-up
unnecessarily. WARNING this introduces new remote commands:
cylc remote-init and
cylc remote-tidy that will affect sites
using ssh whitelisting
- rewrote the section on restart from state checkpoints
- rewrote the section on suite run databases
- new section on suite contact files
- new section on disaster recovery
- new section on remote monitoring and control
- improved terminology:
- "suite server program" instead of "suite daemon" (it's not always a daemon)
- "severity" instead of "priority" for logging and task messaging
- "task remote" to encompass the concept of "the account where a task job runs" whether under the same user account or not, on another host or not
- documented requirements for remote access to suite-parsing and file-retrieval commands, including via the GUI; and clarified the same for suite client commands
- documented a known bug in use of parameters in complex graph syntax (and an easy workaround) - see the task parameters section
- documented kill-to-hold behavior of tasks with retries configured
#2475 - suite server program: separate debug mode from daemonization
#2485 - export task job environment variables on definition and before assignment, to ensure they are available to subshells immediately - even in expressions inside subsequent variable definitions
- configurable menubar visibility at start-up
- grouped suites now retain their grouped status once stopped
- put prompt dialogss above all windows
- load new-suite log files after switching to another suite via the File menu
- graph view: reinstate the right-click menu for ghost nodes (lost at cylc-7.5.0)
- job log files:
- fix and document the "extra log files" setting
- add "view in editor" support for extra log files
- add text-editor functionality to
- add "preview jobscript" functionality to the GUI
- allow "%d" integer format in parameter templates
- allow out of range parameter on graph RHS
- allow positive offset for parameter index on graph
- allow negative integer parameters
- allow custom templating of parameter environment variables, in addition to
- allow bare parameter values as task names
- allow explicit parameter values in "inherit" items under "[runtime]"
- fix parameters inside (as opposed to beginning or end) of family names
- fixed inheritance from multiple parameterized namespaces at once
#2553 - upgraded the bundled Jinja2 version to 2.10. This fixes the block scope problem introduced in the previous version
#2558 - new options to print out JSON
cylc show and
#2381 - validation: fail bad event handler argument templates
#2416 - validation: print the problem namespace in case of bad multiple inheritance
#2426 - validation: fail non-predefined config item names (e.g. batch scheduler directives) that contain multiple consecutive spaces (to ensure that hard-to-spot whitespace typos don't prevent repeated items from overriding as intended)
#2432 - fixed an issue that could cause HTTPS client failure due to SSL certificate host name mismatch
#2434 - correctly strip "at TIME" from the end of multi-line task messages
- fixed DB query of tasks with custom outputs that have not been generated yet
#2444 - added
cylc report-timings to main command help
- server suite and task URLs from suite server programs, rather than parsing them from the suite definition - so browsing URLs from a remote GUI now works
- allow proper string templating of suite and task names in URLs; retained the old pseudo environment variables for backward compatibility
#2461 - fixed manual task retrigger after an aborted edit run - this was erroneously using the edited job file
#2462 - fixed job polling for the SGE batch scheduler
#2464 - fixed the ssh+HTTPS task communication method (broken at cylc-7.5.0)
#2467 - fixed an error in reverse date-time subtraction (first_point - last_point)
cylc graph -
better handle suite parsing errors on view refresh
#2496 - ensure that broadcasted environment variables are defined before all user-defined variables, which may need to reference the broadcasted ones
#2523 - fixed a problem with suicide triggers: with several used at once, tasks could go untriggered
#2546 - fixed problems with stop point after a suite reload: do not reset an existing stop point (this is dangerous, but it could be done before, and the stop point in the GUI status bar would still refer to the original)
#2562 - improved advice on how to
generate an initial user config file (
#2330: New suite.rc
for suite and task metadata. These hold the existing
URL items, plus arbitrary user-defined items. Metadata items can be passed
to event handlers (e.g. a site-specific task "priority" or "importance" rating
could inform an event-handler's decision on whether or not to escalate task
#2204: Remove auto-fallback to HTTP communications, if HTTPS is not available. Now HTTP is only used if explicitly configured.
#2286: New command
cylc report-timings to generate reports of task runtime statistics.
#2304: New event handlers for general CRITICAL events.
#2407: Documented exactly how Cylc uses ssh, scp, and rsync to interact with remote job hosts.
#2343: Improved the "Running Suites" section of the User Guide, including documentation of suite remote control.
#2344: Attempt to access suite service files via the filesystem first, before ssh, for other accounts on the suite host.
#2360: Better validation of suite parameter configuration.
#2314: In debug mode, send bash job
script xtrace output (from
set -x) to a separate log file.
#2409: Fixed the
cylc spawn command
(it was killing tasks, since cylc-7).
#2378: Fixed use of negative offsets
cylc suite-state command.
#2364: Correctly load completed custom task outputs on restart.
#2350: Handle bad event handler command line templates gracefully.
#2308: The parameterized task
$CYLC_TASK_PARAM_<param> is now guaranteed to be defined
before any use of it in the user-defined task environment section.
#2296: Prevent suites stalling after a restart that closely follows a warm-start (now the restart, like the warm start, ignores dependence on tasks from before the warm start point).
cylc cat-log "open in
editor" functionality for remote job logs.
#2412: Fixed duplication of log messages to the old log after restart.
Enhancements and fixes.
#2260: Open job logs in your text
editor, from CLI (
cylc cat-log) or GUI.
cylc gscan - various
improvements: right-click menu is now for suite operations only; other items
moved to a main menubar and toolbar (which can be hidden to retain gscan's
popular minimalist look); added all suite stop options (was just the default
clean stop); task-state colour-key popup updates in-place if theme changed; new
collapse/expand-all toobar buttons.
#2275: Pass suite and task URLs to event handlers.
#2272: Efficiency - reduce memory footprint.
- internal efficiency improvements
- allow reset of individual message outputs
- "cylc submit" can now submit families
#2244: Graph cycling configuration: multiple exclusion points.
#2240: Stepped integer parameters.
#2269: Fix auto suite-polling tasks (i.e. inter-suite dependence graph syntax) - Broken in 7.3.0.
#2282: Fix global config processing of boolean settings - users could not override a site True setting to False.
#2279: Bundle Jinja2 2.9.6. (up from 2.8) - fixes a known issue with Jinja2 "import with context".
#2255: Fix handling of suite script items that contain nothing but comments.
cylc graph --help
in the absence of an X environment.
#2270: Detect and fail null tasks in graph.
cylc gscan - graceful exit
-Y (X Forwarding)
only if necessary.
#2245: SSL certficate: add serial number (issue number). This allows curl, browsers, etc. to connect to suite daemons.
cylc gpanel - restored
sorting of items by suite name.
#2250: Updated installation docs for HTTPS-related requirements.
New Suite Design Guide, plus other enhancements and fixes.
#2211: New comprehensive Suite Design Guide document to replace the outdated Suite Design section in the User Guide.
cylc gscan GUI: stop, hold,
and release suites or groups of suites.
#2220: dummy and simulation mode improvements:
dummy-localmode runs dummy tasks as local background jobs (allows dummy running other-site suites).
- proportional run length, if tasks configure an
execution time limit
- single common
[simulation]configuration section for dummy, dummy-local, and simulation modes.
- dummy or simulated tasks can be made to fail at specific cycle points, and for first-try only, or all tries.
- custom message outputs now work in simulation mode as well as the dummy modes.
#2218: fix error trapping in job scripts (degraded since job file refactoring in 7.1.1)
#2215: SGE batch system support - fixed formatting of directives with a space in the name.
Other Notable Changes
#2233: Upgraded the built-in example suites to cylc-7 syntax.
cylc gui GUI dot view - maintain
user selection during update.
cylc gscan GUI - fix
tracebacks emitted during suite initialization.
user@host option to
cylc monitor an
cylc gui. Allows suite selection at startup using
cylc scan output.
cylc gui GUI graph view -
fixed right-click "view prerequisites" sub-menu.
#2213: Record family inheritance structure in the run database.
Minor enhancements and fixes.
#2209: Fixed the
cylc gui graph
view, broken at cylc-7.2.0.
suite-stopped status checkerboard icons, lost at cylc-7.1.1.
#2208: Use suite host name instead of suite name in the SSL certificate "common name".
#2206: Updated User Guide installation section.
Other Notable Changes
#2191: Clearer task prerequisites print-out.
#2197: Removed the bundled external OrderedDict package.
cylc gscan - better handling
of suites that are still initializing.
Minor enhancements and fixes (note mid-level version number bumped up to reflect significant changes included in 7.1.1 - esp. job file refactoring).
raise functions for handling Jinja2 errors in suites.
#2186: Use lowercase local shell
variable names in new job script shell functions introduced in 7.1.1, to avoid
overriding shell built-ins such as
#2187: Fixed a bug causing restart failure in the presence of an active broadcast of a submission timeout value.
#2183: Use site-configured suite host self-identification, if present, as hostname in the SSL certificate.
#2182: Fixed failed User Guide build in 7.1.1.
Minor enhancements and fixes (plus a significant change: task job file refactoring).
#2141: Tidier task job files: hide error trap and messaging code, etc., in external shell functions.
#2134: Suite-state polling (e.g. for inter-suite triggering) now automatically detects and uses the remote suite cycle point format.
#2128: Suite-state polling (e.g. for inter-suite triggering) now works with custom task messages.
#2172: Added a built-in Jinja2 filter for formatting ISO8601 date-time strings.
#2164: Fixed support for Jinja2 in site/user config files, broken at 6.11.0.
cylc gui - use task
execution time limit as the default mean elapsed time, to compute a progress
bar for the first instance of a cycling task.
cylc gui graph view - fixed
right-click sub-menu activation, broken at 7.1.0.
cylc gui graph view: fix
right-click family ungroup, broken since 7.0.0.
#2142: New "select all" and "select
none" buttons in the
cylc gui task filter dialog.
#2163: (Development) New automated profiling test framework for comparing performance between Cylc versions.
#2160: Better suite stall detection in the presence of clock-triggered tasks.
#2156: Fix potential division-by-zero
#2149: Fix handling of cycle point offsets in weeks (e.g. "P1W").
#2146: Documented how to set multiple
-l VALUE directives in jobs submitted to PBS.
#2129: Allow initial cycle point to be specified on the command line for all relevant commands, if not specified in the suite definition.
#2139: Fixed error in use of
execution time limit in jobs submitted to Platform LSF.
cylc gui graph view - fixed
a bug that could cause a blank graph view window, since 7.0.0.
gcylc gui- disallow
insertion at cycle points that are not valid for the task (unless overridden
Minor enhancements and fixes.
#2021: New command
to create a named suite state checkpoint that you can restart from.
#2124: open another GUI window (to view another suite) via the gcylc File menu.
#2100: group multiple task event notifications into a single email over a 5 minute interval (configurable).
#2112: broadcast settings can now be loaded (or cancelled) from a file as well as the command line.
cylc gscan GUI can now
display summary states for suites owned by others.
#2126: fixed occasional misidentification of suite stall when only succeeded tasks exist just prior to shutdown.
#2127: fixed the
cylc diff command
(broken at 7.0.0)
#2119: fixed remote job kill after a suite definition reload, for task proxies that exist at the time of the reload.
#2025: GUI right-click menu items can now be selected with either mouse button 1 or 3.
#2117: improved logic for adding
lib/cylc to Python
sys.path (there was one reported instance of the
cherrpy being imported instead of the Cylc-bundled one, in
#2114: documented syntax-driven line continuation in suite graph configuration.
#2116: corrected a rare edge-case side-effect of manual task-state reset.
cylc insert - disallow
insertion at cycle points that are not valid for the task (unless overridden
cylc get-config --python output formatting, broken since cylc-6.6.0.
#2097: fixed a problem with task host and owner task proxies reloaded at suite restart (could cause job poll and kill to fail in some cases, for tasks in this category).
#2095: fixed validation of mixed deprecated and new suite.rc syntax.
cylc-7 client/server communications is not backward compatible with cylc-6.
Note that cylc-7 bug fixes were back-ported to a series of 6.11.x releases, for those who have not transitioned to cylc-7 yet.
#1923: A new HTTPS communications layer, replaces Pyro-3 Object RPC for all client-server communications. Suite daemons are now web servers!
#2063: Removed deprecated cylc-5 syntax and features.
#2044: Suite start-up now aborts with a sensible message on suite configuration errors (previously this happened post daemonization so the user had to check suite logs to see the error).
#2067: Consolidated suite service
files (passphrase, SSL files, contact file, etc.) under
.service/ in the
suite run directory; the suite registration database and port files under
$HOME/.cylc/ are no longer used; suites can now be grouped in sub-directory
trees under the top level run directory.
#2033: Allow restart from suite state checkpoints other than the latest (checkpoints are also recorded automatically before and after restarts, and on reload).
cylc gscan now supports
collapsible suite groups via a top level suite config
Right-click View Column "Group".
#2074: Task retry states and timers, and poll timers, now persist across suite restarts. Waiting tasks are not put in the held state before shutdown. Held tasks are not automatically released on restart.
#2004: Task event handlers are now continued on restart.
[scheduling]spawn to max active cycle points (new in 6.11.0), which lets successive instances of
the same task run out of order if dependencies allow.
#2092: New command
cylc get-suite-contact to print suite contact information (host, port, PID, etc.)
#2089: Improved documentation on cycling workflows and use of parameterized tasks as a proxy for cycling.
cylc gui: removed the
"connection failed" warning dialog that popped up on suite shutdown. This
should be obvious by the reconnection countdown timer in the info bar.
#2023: New custom event email footer via global or suite config.
#2013: Fixed "remove task after spawning" which since 6.9.0 would not force a waiting task to spawn its successor.
#2071: Fix quote stripping on
initial cycle point = "now".
#2070: Fix dummy mode support for custom task outputs: they were incorrectly propagated to other tasks.
cylc gscan now supports
suite name filtering via a
--name command line option.
#2060: 5-second timeout if hanging connections are encountered during port scanning.
#2055: Task elapsed times now persist over restarts.
#2046: Multi-task interface for
cylc show. Fixed View Prerequisites for tasks in the runahead pool.
#2049: Per-host job submission and execution polling intervals via global/user config files.
#2051: Bundle Jinja2 2.8 with Cylc - one less external software dependency.
#2088: Support dependence on absolute cycle points in cycling graphs.
More bug fixes backported from early Cylc-7 releases.
#2120: fixed remote job kill after a +suite definition reload, for task proxies that exist at the time of the reload.
#2111: fixed member-expansion of
(FAMILY:fail-any & FAMILYI:finish-all) graph triggers.
#2102: fixed validation of mixed deprecated and new suite.rc syntax.
#2098: fixed a problem with task host and owner task proxies reloaded at suite restart (could cause job poll and kill to fail in some cases, for tasks in this category).
One minor bug fix on top of 6.11.2.
#2091: Since 6.11.0 use of cylc-5 special "cold start tasks" caused downstream tasks to become immortal. This fixes the problem, but note that you should no longer be using this deprecated feature (which will be removed from cylc-7).
Some minor enhancements and fixes.
#2034: Allow restart from checkpoints. These are currently created before and after reloads, and on restart. (Note that since 6.11.0 suite state dump files no longer exist).
#2047: Documented the new "[scheduling]spawn to max active cycle points" suite configuration item, which allows successive instances of the same task to run out of order if the opportunity arises.
#2048: Allow "view prerequisites" for tasks in the 'runahead' state.
#2025: Provide a configurable event mail footer (suite or site/user configuration).
cylc gui -
removed the annoying warning dialog for connection failed. Take note of the
connection countdown in the status bar instead.
#2016: Fixed a Python traceback occasionally generated by the gcylc GUI log view window.
#2018: Restored the incremental
printing of dots to stdout from the
cylc suite-state polling
command (lost at 6.11.1).
#2014: Fixed "remove after spawning". Since 6.9.0 this would not force-spawn the successor of a waiting task.
cylc gscan -
fixed occasional jumping status icons introduced in 6.11.1.
#2040: Corrected documentation for
cylc cat-log command (it was using the alias
Three minor bug fixes on top of 6.11.0:
#2002: fix a bug in the graph string parser - if a task appears both with and without a cycle point offset in the same conditional trigger expression (unlikely, but possible!)
#2007: fix handling of OS Error if the user run into the limit for number of forked processes.
#2008: fix occasional traceback from
#1953: Parameterized tasks: generate tasks automatically without using messy Jinja2 loops.
- New task
[[[job]]]sub-sections unify the various batch system, job execution, and job polling settings (older settings deprecated).
- A new
[[[job]]] execution time limitsetting allows cylc to:
- automatically generate batch system time limit directives;
- run background or at jobs with the
- poll job with configurable delays (default 1, 3, 10 minutes) after reaching the time limit.
- Moved the content of the old
[event hooks]section to a unified
[events]section (older settings deprecated).
cylc gscan displays a new
warning icon with a tool-tip summary of recent task failures.
gcylc status bar now
shows a countdown to the next suite connection attempt, and resets the
connection timer schedule if the user changes view settings.
#1966: Optionally spawn waiting tasks out to "max active cycle points" instead of one cycle point ahead. This means successive instances of the same task can run out of order (dependencies allowing). Use with caution on large suites with a lot of runahead.
#1940: Bash tab completion for cylc commands.
#1585: If a suite stalls, report any unsatisified task prerequisites that cannot be met.
cylc get-config now returns
a valid suite definition.
#1875: Enabled multiple selection in the gcylc text tree view.
#1900: Automatically continue graph string lines that end in (or start with) a dependency arrow.
#1862: New notation for initial and
final cycle point in graph cycling section headings. E.g.
means "run once, one hour after the initial cycle point";
means "run once, one hour before the final cycle point".
#1928: New notation for excluding a
cycle point from a recurrence expression, e.g.
"daily at T00 after but not including the initial cycle point".
#1958: Suite daemon logging upgrade: improved log file formatting; the log, out, and err files are now rolled over together as soon as any one reaches the size limit.
#1827: Suite state dump files no longer exist - the suite run DB now records all restart information.
#1912: Fixed coloured
cylc scan -c
output (broken at 6.10.1).
#1921: Don't ignore dependencies among tasks back-inserted prior to a warm-start cycle point.
#1910: Task job scripts now use
set -o pipefail to ensure that failure of any part of a shell pipeline causes a
#1886: When a job is submitted for the first time, any job logs with higher submit numbers will be removed ( these must have been generated by a previous suite run).
#1946: Removed annoying warnings that "self-suicide is not recommended".
#1889: Record any unhandled task messages (e.g. general progress messages) in the suite DB.
#1899: Custom task output messages (for message triggers) are now automatically faked in dummy mode.
#1848: Automatic stalled-suite detection, a "stalled" event hook, and an option to abort (shutdown) if stalled.
#1850: Much reduced CPU loading in cycling suites that have progressed far beyond their initial cycle point (cache recent points to avoid continually iterating from the start).
gscan.rc file to
configure the initial state of
cylc gpanel and
cylc gscan (e.g. which
columns to display).
#1849: New configuration options for
gcylc GUI, e.g. to set the initial window size.
#1863: Report tasks added or removed by a suite reload.
#1844: Allow client commands from another suite's task (these would previously load the passphrase for the parent suite rather than the target suite).
#1866: Allow explicitly unset
intervals in cylc config files, e.g.
execution timeout = # (nothing).
#1863: Fixed a recent bug (since in 6.10.0) causing shutdown on reload of a suite after removing a task and its runtime definition.
#1864: Stronger checks to prevent users starting a second instance of a suite that is already running.
#1869: Fixed day-of-week cycling.
#1858: Fixed a recent bug (since 6.10.1) that could prevent a task at suite start-up from submitting even though its prerequisites were satisfied.
#1855: Allow inserted tasks to be
released to the
waiting immediately, even if the suite is currently quiet.
#1854: Restore wildcards to allow insertion of multiple tasks at once (inadvertently disallowed at 6.10.0).
#1853: Fixed a recent bug (since 6.10.1): reset task outputs to incomplete on manually retriggering or resetting to a pre-run state.
gcylc - fix for occasional
locked-up blank GUI window at start-up (since 6.8.0, Jan 2016).
gcylc tree view - fix for
excessive CPU load when displaying large suites (since 6.10.0).
#1838: Fix for the suite timeout event timer not resetting on task activity (since 6.10.0).
#1835: Suite reload - reload all tasks at once (previously, current active tasks were reloaded only when they finished, which could result in reloads appearing to take a long time).
gcylc - initial task state
filtering configurable via the
gcylc.rc config file.
#1826: Prevent tasks becoming immune to change by suite reload after being orphaned by one reload (i.e. removed from the suite) then re-inserted after another.
#1804: PBS job name length - truncate
to 15 characters by default, but can now be configured in
global.rc for PBS
13+, which supports longer names.
#1743: Improved event handling: flexible handlers, built-in email handlers, execute event handlers asynchronously, general suite event handlers.
gcylc - The File -> Open
dialog can now connect to suites running on other scanned hosts.
#1821: Right-click on a cycle-point
gcylc text tree view to operate on all tasks at that cycle point.
#1714: Further improvements to Jinja2 error reporting.
#1755: Pyro-3.16 is now packaged with
with cylc and has been modified to reduce the overhead of repeated calls to
socket.gethost*. We will eventually replace it with a new client/server
#1807: Dropped support for detaching (or manual completion) tasks.
gcylc - corrected the suite
hold/release button state during active suite reloads.
#1802: Do not unregister running
suites or assume that the argument of
cylc unregister is a pattern.
#1800: Print a sensible error message for a suite graph section with a zero-width cycling interval.
#1791: Documented how to write suites with efficient inter-family triggering.
#1789: Fixed a bug causing high CPU
load in large suites with
queued tasks present.
#1788: Fixed a bug that could occasionally result in missing entries in suite run databases.
#1784: Corrected and improved the advice printed at start-up on how to see if a suite is still running.
#1781: Fixed a bug that could disable the right-click menu for some tasks after enabling a filter.
#1768: Client commands like
cylc broadcast can now be invoked by tasks on remote hosts that do not share a
filesystem with the suite host.
#1763: Remote tasks now load the right suite passphrase even if a locally registered suite has the same name.
#1762: Fixed polling of jobs submitted to loadleveler (broken since 6.8.1).