Scriptworker

Latest version: v60.4.0

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

Scan your dependencies

Page 31 of 37

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:

4.1.3

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

.. _added-60:

Added
~~~~~

- added a check to verify the cot ``taskId`` matches the task
``taskId``
- added a a ``claimWork`` debug log message
- added a check to prevent ``python setup.py register`` and
``python setup.py upload``

.. _fixed-49:

Fixed
~~~~~

- updated the docs to more accurately reflect the new instance steps
- updated the docs to avoid using
``python setup.py register sdist upload``
- allowed the decision task to be an additional runtime dep

.. _section-103:

Page 31 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.