fix traffic alert source mapping and claim-stall gating
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 9s

This commit is contained in:
OG T
2026-06-07 20:35:09 +08:00
parent 0b07ae4344
commit 3b665e4cbe
3 changed files with 62 additions and 6 deletions

View File

@@ -287,6 +287,8 @@ export async function GET(request: Request) {
actorType: actor.actorType,
actorId: actor.actorId,
taskId: "open-tasks",
sourceIp,
userAgent: request.headers.get("user-agent") ?? "unknown",
message: `External discovery call for open tasks (${publicPayload.length} items)`,
metadata: {
...trace,
@@ -361,6 +363,8 @@ export async function GET(request: Request) {
actorType: actor.actorType,
actorId: actor.actorId,
taskId: "open-tasks",
sourceIp,
userAgent: request.headers.get("user-agent") ?? "unknown",
message: `open-tasks 查詢失敗: ${errorName}: ${errorMessage}`,
metadata: {
...trace,