You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "diegoscarabelli (via GitHub)" <gi...@apache.org> on 2025/05/08 06:12:00 UTC
Re: [PR] Fix infinite redirect caused by mistakenly setting token cookie as secure [airflow]
diegoscarabelli commented on PR #49721:
URL: https://github.com/apache/airflow/pull/49721#issuecomment-2861889278
@ashb With your solution for FAb auth manager, I am finding this error applying the second patch:
` [airflow-init 5/5] RUN set -ex; cd /home/airflow/.local/lib/python3.12/site-packages/airflow; curl https://patch-diff.githubusercontent.com/raw/apache/airflow/pull/49721.patch | filterdiff -p1 -i 'airflow-core/src/airflow/*' | patch -p4 -u --verbose; curl https://patch-diff.githubusercontent.com/raw/apache/airflow/pull/49724.patch | patch -p5 -u --verbose; curl https://patch-diff.githubusercontent.com/raw/apache/airflow/pull/49581.patch | filterdiff -p1 -i 'providers/fab/src/airflow/*' | patch -p5 -u --verbose:
0.128 + cd /home/airflow/.local/lib/python3.12/site-packages/airflow
0.128 + curl https://patch-diff.githubusercontent.com/raw/apache/airflow/pull/49721.patch
0.128 + filterdiff -p1 -i 'airflow-core/src/airflow/*'
0.128 + patch -p4 -u --verbose
0.132 % Total % Received % Xferd Average Speed Time Time Time Current
0.132 Dload Upload Total Spent Left Speed
100 2879 100 2879 0 0 8448 0 --:--:-- --:--:-- --:--:-- 8467
0.474 Hmm... Looks like a unified diff to me...
0.474 The text leading up to this was:
0.474 --------------------------
0.474 |diff --git a/airflow-core/src/airflow/api_fastapi/auth/managers/simple/routes/login.py b/airflow-core/src/airflow/api_fastapi/auth/managers/simple/routes/login.py
0.474 |index c901692d8f9c8..82875ceb1239c 100644
0.474 |--- a/airflow-core/src/airflow/api_fastapi/auth/managers/simple/routes/login.py
0.474 |+++ b/airflow-core/src/airflow/api_fastapi/auth/managers/simple/routes/login.py
0.474 --------------------------
0.490 patching file api_fastapi/auth/managers/simple/routes/login.py
0.490 Using Plan A...
0.490 Hunk #1 succeeded at 17.
0.490 Hunk #2 succeeded at 57.
0.490 done
0.490 + curl https://patch-diff.githubusercontent.com/raw/apache/airflow/pull/49724.patch
0.490 + patch -p5 -u --verbose
0.499 % Total % Received % Xferd Average Speed Time Time Time Current
0.499 Dload Upload Total Spent Left Speed
100 9270 100 9270 0 0 29393 0 --:--:-- --:--:-- --:--:-- 29428
0.817 Hmm... I can't seem to find a patch in there anywhere.
0.817 patch: **** Only garbage was found in the patch input.
------
failed to solve: process "/bin/bash -o pipefail -o errexit -o nounset -o nolog -c set -ex; cd /home/airflow/.local/lib/python3.12/site-packages/airflow; curl https://patch-diff.githubusercontent.com/raw/apache/airflow/pull/49721.patch | filterdiff -p1 -i 'airflow-core/src/airflow/*' | patch -p4 -u --verbose; curl https://patch-diff.githubusercontent.com/raw/apache/airflow/pull/49724.patch | patch -p5 -u --verbose; curl https://patch-diff.githubusercontent.com/raw/apache/airflow/pull/49581.patch | filterdiff -p1 -i 'providers/fab/src/airflow/*' | patch -p5 -u --verbose" did not complete successfully: exit code: 2`
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org