HH-442: isolate runtime processes and harden shutdown (#90)

* HH-442: isolate runtime processes and harden shutdown

* HH-442: harden worker shutdown races

* HH-442: gate dependency shutdown on active handlers

---------

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-22 02:38:15 +08:00
committed by GitHub
co-authored by rogee
parent 6d6d80dd86
commit 798ea43c2f
35 changed files with 1673 additions and 451 deletions
+2 -1
View File
@@ -4,12 +4,13 @@
FROM golang:1.25.13-alpine
# Install air (hot reload tool) and development tools
RUN go install github.com/air-verse/air@latest && apk add --no-cache git
RUN go install github.com/air-verse/air@v1.66.0 && apk add --no-cache git
WORKDIR /app
# Pre-download dependencies for faster rebuilds
COPY backend/go.mod backend/go.sum ./
COPY backend/internal/pgvector_stub/ ./internal/pgvector_stub/
RUN go mod download
# Full source mount via volume in compose — no COPY needed here