Report queued tasks the scheduling pass never considers

A task in retry backoff was filtered out before the candidate loop, so it
recorded no rejection at all: queued, apparently assignable, and silent. That is
the exact shape that made F5 take a live session to diagnose. It now reports
"retry backoff until <time>".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-26 23:42:26 +04:00
parent 0ead6d2d02
commit 4fbf3ac966
18 changed files with 1163 additions and 165 deletions
+3 -1
View File
@@ -6,12 +6,14 @@ ARG BUILD_DIRTY=unknown
COPY go.mod ./
RUN go mod download
COPY . ./
RUN go build -trimpath -ldflags="-s -w -X orchestra/internal/buildinfo.Revision=${BUILD_REVISION} -X orchestra/internal/buildinfo.Time=${BUILD_TIME} -X orchestra/internal/buildinfo.Dirty=${BUILD_DIRTY}" -o /out/orchestra ./cmd/orchestra
RUN go build -trimpath -ldflags="-s -w -X orchestra/internal/buildinfo.Revision=${BUILD_REVISION} -X orchestra/internal/buildinfo.Time=${BUILD_TIME} -X orchestra/internal/buildinfo.Dirty=${BUILD_DIRTY}" -o /out/orchestra ./cmd/orchestra && \
go build -trimpath -ldflags="-s -w" -o /out/orchestra-user ./cmd/orchestra-user
FROM alpine:3.21
RUN adduser -D -u 10001 orchestra
WORKDIR /app
COPY --from=build /out/orchestra /app/orchestra
COPY --from=build /out/orchestra-user /app/orchestra-user
RUN mkdir /data && chown orchestra:orchestra /data
ENV ORCHESTRA_DATA=/data ORCHESTRA_PORT=9145
VOLUME ["/data"]