Repository navigation
Don't overwrite connection extra with invalid json - #27142
Merged
Merged
Conversation
If invalid json is provided for a connection's extra, don't actually overwrite it with the invalid data. This matches the intended behavior, based on the flash message we show the user.
jedcunningham
requested review from
dstandish,
eladkal,
ephraimbuddy and
uranusjr
October 19, 2022 14:50
jedcunningham
requested review from
ashb,
bbovenzi and
ryanahamilton
as code owners
October 19, 2022 14:50
ephraimbuddy
approved these changes
Oct 19, 2022
dstandish
approved these changes
Oct 19, 2022
ephraimbuddy
pushed a commit
that referenced
this pull request
Oct 19, 2022
If invalid json is provided for a connection's extra, don't actually overwrite it with the invalid data. This matches the intended behavior, based on the flash message we show the user. (cherry picked from commit fece7f0)
7 of 37 tasks
PDUCLOS
added a commit
to PDUCLOS/lyonflowfull
that referenced
this pull request
Jun 13, 2026
Sprint 12+ — silver_archive_to_minio.py a ModuleNotFoundError sur 'polars'. polars etait dans requirements.txt mais PAS dans requirements-airflow.txt, donc le container airflow ne l'avait jamais (image construite avant Sprint 9+ ou rebuild oublie). Rebuild requis : docker compose build airflow-* puis up -d. Cf. apache/airflow#27142 — pas de moyen d'installer polars dans un running container sans casser l'env (pas de pip dans PATH par defaut, sinon l'image pollue).
PDUCLOS
added a commit
to PDUCLOS/lyonflowfull
that referenced
this pull request
Jun 13, 2026
…archive_to_minio Sprint 12+ — boto3 casse sur airflow:2.9.3 (conflit pyOpenSSL/cryptography : AttributeError: module 'lib' has no attribute 'GEN_EMAIL'). Le DAG silver_archive_to_minio importait boto3 ligne 28 + l'utilisait dans _get_s3_client(), ce qui faisait crasher l'Airflow DAG bag au parse time et rendait tous les autres DAGs 'No data found'. Solution : nouveau module src/minio_s3v4_upload.py (140 lignes) qui signe les requêtes PUT à la main (HMAC-SHA256, canonical request, Sig V4). Pas de boto3 dans les deps, pas de magie. cf. apache/airflow#27142 — boto3 1.34+ incompat avec pyOpenSSL 23+ via cryptography 41+. Reactivation de boto3 dans Sprint 12+ si le conflit est resolu en upgrade Airflow 2.10+.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If invalid json is provided for a connection's extra, don't actually overwrite it with the invalid data. This matches the intended behavior, based on the flash message we show the user.