You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/ansible/integration
Alex Willmer b822f20007 ansible_mitogen: Handle AnsibleUnsafeText et al in Ansible >= 7
Follwing fixes in Ansible 7-9 for CVE-2023-5764 cating `AnsibleUnsafeBytes` &
`AnsibleUnsafeText` to `bytes()` or `str()` requires special handling. The
handling is Ansible specific, so it shouldn't go in the mitogen package but
rather the ansible_mitogen package.

`ansible_mitogen.utils.unsafe.cast()` is most like `mitogen.utils.cast()`.
During development it began as `ansible_mitogen.utils.unsafe.unwrap_var()`,
closer to an inverse of `ansible.utils.unsafe_procy.wrap_var()`. Future
enhancements may move in this direction.

refs #977, refs #1046

See also
- https://github.com/advisories/GHSA-7j69-qfc3-2fq9
- https://github.com/ansible/ansible/pull/82293
- https://github.com/mitogen-hq/mitogen/wiki/AnsibleUnsafe-notes
6 months ago
..
action ansible_mitogen: Handle AnsibleUnsafeText et al in Ansible >= 7 6 months ago
async ansible_mitogen: Handle AnsibleUnsafeText et al in Ansible >= 7 6 months ago
become tests: Enable su tests under vanilla Ansible >= 2.11 7 months ago
connection
connection_delegation mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 7 months ago
connection_loader
context_service
glibc_caches
interpreter_discovery tests: Skip "discovered python matches invoked" on macOS 11/Python 2.7/Vanilla 7 months ago
local
module_utils
playbook_semantics
process tests: Support Ubuntu 22.04 as test suite runner (controller) 1 year ago
runner tests: Clarify status/purpose of Python 2.x era Ansible Module workaround 7 months ago
ssh tests: Support Ubuntu 22.04 as test suite runner (controller) 1 year ago
strategy
stub_connections ansible_mitogen: Handle AnsibleUnsafeText et al in Ansible >= 7 6 months ago
transport
transport_config
_mitogen_only.yml
all.yml