github-actions[bot] opened a new pull request, #72601:
URL: https://github.com/apache/airflow/pull/72601

   ProvidersManager is a process-wide singleton whose `providers` property hands
   out the live `_provider_dict` without copying, so `ProviderInfo.data` is the
   cached dict itself. A read-only display command was writing its de-RST'd
   description straight back into that shared state.
   
   The corruption is latent rather than user-visible today: the `airflow` CLI is
   a one-shot process, the API server runs in a different one, and every other
   reader re-sanitizes the description before use. It is reachable in a pytest
   process, where the singleton persists across tests and the reset fixture is
   opt-in. A command that only formats data for display should not be able to
   leak into global state at all.
   
   provider_command was the only module under cli/commands without a matching
   test file, so the regression test starts one.
   (cherry picked from commit a29f0dadcf35ab2122e6ed18012d8abba5f9463f)
   
   Co-authored-by: Y-C <[email protected]>
   Co-authored-by: Eason09053360 
<[email protected]>


-- 
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]

Reply via email to