Scriptworker

Latest version: v50.2.0

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

Scan your dependencies

Page 28 of 37

6.0.2

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

.. _added-48:

Added
~~~~~

- ``max_chain_length`` pref, defaulting to the arbitrary (but larger
than the current 5) int 20.

.. _changed-42:

Changed
~~~~~~~

- Stopped hardcoding the max chain length to 5 due to longer-than-5
valid chains in production.

.. _section-85:

6.0.1

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

.. _added-49:

Added
~~~~~

- Allow projects/birch to use
project:releng:signing:cert:release-signing

.. _section-86:

6.0.0

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

.. _added-50:

Added
~~~~~

- ``scriptworker.cot.verify.download_cot`` now supports optional
upstream artifacts
- ``scriptworker.artifacts.get_optional_artifacts_per_task_id``,
``scriptworker.cot.verify.(is_task_required_by_any_mandatory_artifact, is_artifact_optional)``,
and
``scriptworker.utils.(get_results_and_future_exceptions, add_enumerable_item_to_dict)``
are defined and publicly exposed.

.. _changed-43:

Changed
~~~~~~~

- ``scriptworker.artifacts.get_upstream_artifacts_full_paths_per_task_id``
returns 2 dictionaries instead of 1.
- ``scriptworker.cot.verify.(verify_docker_image_sha, download_cot_artifact)``
don’t error out if cot isn’t defined (missing cot are detected
earlier)

.. _section-87:

5.2.3

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

.. _fixed-39:

Fixed
~~~~~

- Made the exit status more explicit on exit code -11.
- Fixed ``verify_sig`` to return the message body if ``gpg.decrypt``
returns an empty body.

.. _section-88:

5.2.2

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

.. _added-51:

Added
~~~~~

- Added integration tests that run ``verify_chain_of_trust`` against
production tasks, to make sure ``cot.verify`` changes are backwards
compatible.

.. _fixed-40:

Fixed
~~~~~

- stopped verifying docker-worker cot on the chain object, which may
not have a cot artifact to verify.
- updated the ``retry_exceptions`` for ``retry_request`` to include
``asyncio.TimeoutError``.

.. _removed-19:

Removed
~~~~~~~

- Removed the ``await asyncio.sleep(1)`` after running a task.

.. _section-89:

5.2.1

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

.. _added-52:

Added
~~~~~

- scriptworker will now retry (``intermittent-task`` status) on a
script exit code of -11, which corresponds to a python segfault.

.. _section-90:

Page 28 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.