Scriptworker

Latest version: v50.2.0

Safety actively analyzes 630796 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 30 of 37

5.1.0

--------------------

.. _added-55:

Added
~~~~~

- added ``DECISION_MACH_COMMANDS`` to ``cot.verify``, to support action
task verification
- added ``DECISION_TASK_TYPES`` to ``cot.verify``, to support verifying
decision tasks via ``verify_cot``
- added ``ChainOfTrust.is_decision`` to find if the chain object is a
decision task
- added ``ChainOfTrust.get_all_links_in_chain``. Previously, we ran
certain tests against all the links in the chain, and other tests
against all links + the chain object. Now, the chain itself may be a
decision task; we will add the decision task as a link in the chain,
and we no longer want to run verification tests against the chain
object.
- added new docker image shas

.. _changed-46:

Changed
~~~~~~~

- we now support testing any verifiable ``taskType`` via
``verify_cot``! Previously, only scriptworker task types were
verifiable via the commandline tool.
- we now support testing action task commandlines in
``verify_firefox_decision_command``
- we no longer ignore the decision task if the task-to-verify is the
decision task in ``find_sorted_task_dependencies``. We want to make
sure we verify it.
- we no longer raise a ``CoTError`` if the ``ChainOfTrust`` object is
not a scriptworker implementation

.. _fixed-47:

Fixed
~~~~~

- fixed ``partials`` task verification

.. _section-97:

5.0.2

--------------------

.. _added-56:

Added
~~~~~

- added .json as an ``ignore_suffix`` for docker-worker
- added ``partials`` as a valid task type

.. _section-98:

5.0.1

--------------------

.. _added-57:

Added
~~~~~

- added sparse checkout decision task support in cot verification.
- added decision image 0.1.10 sha to allowlist

.. _section-99:

5.0.0

--------------------

.. _added-58:

Added
~~~~~

- ``watch_log_file`` pref, to watch the log file for ``logrotate.d``
(or other) rotation. Set this to true in production.

.. _changed-47:

Changed
~~~~~~~

- switched from ``RotatingFileHandler`` to ``WatchedFileHandler`` or
``FileHandler``, depending on whether ``watch_log_file`` is set.

.. _removed-22:

Removed
~~~~~~~

- Non-backwards-compatible: removed ``log_max_bytes`` and
``log_num_backups`` prefs. If set in a config file, this will break
scriptworker launch. I don’t believe anything sets these, but bumping
the major version in case.

.. _removed-23:

Removed
~~~~~~~

.. _section-100:

4.2.0

--------------------

.. _added-59:

Added
~~~~~

- added ``prepare_to_run_task`` to create a new
``current_task_info.json`` in ``work_dir`` for easier debugging.

.. _changed-48:

Changed
~~~~~~~

- ``.diff`` files now upload as ``text/plain``.

.. _section-101:

4.1.4

--------------------

.. _changed-49:

Changed
~~~~~~~

- updated the decision + docker-image ``workerType``\ s

.. _fixed-48:

Fixed
~~~~~

- closed the contextual log handler to avoid filling up disk with open
filehandles

.. _section-102:

Page 30 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.