Skip to content

Commit 5f65466

Browse files
lice-reisclaude
andauthored
fix(ci): pass fixed LANGFLOW_SECRET_KEY to both containers in migration-test (#209)
Without a shared secret key, credentials (e.g. OPENAI_API_KEY) stored by langflow:latest are encrypted with one key and cannot be decrypted by langflow-nightly, causing silent empty values and HTTP 500 on flow execution. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c75ad6a commit 5f65466

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/migration-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ env:
1313
PG_DB: langflow
1414
STATE_FILE: /tmp/migration-test-state.json
1515
REPORT_FILE: /tmp/migration-report.md
16+
# Fixed key shared by both containers so credentials encrypted by latest
17+
# can be decrypted by nightly after DB migration.
18+
LANGFLOW_SECRET_KEY: "migration-test-fixed-secret-32chars!!"
1619

1720
permissions:
1821
contents: read
@@ -68,6 +71,7 @@ jobs:
6871
-e LANGFLOW_SUPERUSER=langflow \
6972
-e LANGFLOW_SUPERUSER_PASSWORD=langflow123 \
7073
-e LANGFLOW_STORE=false \
74+
-e LANGFLOW_SECRET_KEY="$LANGFLOW_SECRET_KEY" \
7175
langflowai/langflow:latest
7276
7377
- name: Wait for Langflow latest
@@ -102,6 +106,7 @@ jobs:
102106
-e LANGFLOW_SUPERUSER=langflow \
103107
-e LANGFLOW_SUPERUSER_PASSWORD=langflow123 \
104108
-e LANGFLOW_STORE=false \
109+
-e LANGFLOW_SECRET_KEY="$LANGFLOW_SECRET_KEY" \
105110
langflowai/langflow-nightly:latest
106111
107112
- name: Wait for Langflow nightly (includes migration)

0 commit comments

Comments
 (0)