Skip to content

Commit 8027956

Browse files
andrewm4894claude
andcommitted
Eliminate gRPC server completely from Fly deployment
- Force cache bust to deploy updated start script without gRPC code server - Remove DAGSTER_CODE_SERVER_HOST environment variable - Add DAGSTER_WORKSPACE_FORCE_RELOAD to clear cached workspace config - This resolves persistent anomstack_code location gRPC errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 7c608f5 commit 8027956

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docker/Dockerfile.fly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3.12-slim
22

33
# Cache busting argument (set during build to force fresh layers)
4-
ARG CACHEBUST=3
4+
ARG CACHEBUST=4
55

66
# Use CACHEBUST to invalidate cache when needed (this layer changes when CACHEBUST changes)
77
RUN echo "Cache bust: $CACHEBUST" > /tmp/cachebust

fly.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ primary_region = "ord" # Chicago - you can change this to your preferred region
1010
# Environment variables
1111
[env]
1212
DAGSTER_HOME = "/opt/dagster/dagster_home"
13-
DAGSTER_CODE_SERVER_HOST = "localhost"
1413
DAGSTER_WEBSERVER_HOST = "0.0.0.0"
1514
DAGSTER_WEBSERVER_PORT = "3000"
15+
# Force workspace reload to eliminate cached gRPC configuration
16+
DAGSTER_WORKSPACE_FORCE_RELOAD = "true"
1617
ANOMSTACK_DUCKDB_PATH = "/data/anomstack.db"
1718
ANOMSTACK_MODEL_PATH = "local:///data/models"
1819
ANOMSTACK_TABLE_KEY = "metrics"

0 commit comments

Comments
 (0)