artsntech commented on code in PR #77472:
URL: https://github.com/apache/airflow/pull/77472#discussion_r4686027617
##########
airflow-core/tests/unit/jobs/test_triggerer_job.py:
##########
@@ -6195,3 +6195,34 @@ def test_caller_finished_ids_not_mutated(self):
runner.process_trigger_events(finished_ids=finished_ids)
assert finished_ids == [10]
+
+
+class TestEncryptPlaintextTriggerKwargs:
Review Comment:
Updated _encrypt_plaintext_kwargs to encrypt
json.loads(trigger.encrypted_kwargs) directly without deserializing and skip
the write if unchanged, and added unit tests covering serde-format payloads,
undeserializable rows, and already-encrypted rows. Thanks for catching that!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]