fleet(tower): 0.20 — Re-Dispatch-Provenienz sichtbar (Badge statt Doppel-Button)
Dead-Letter-Zeile mit re_dispatched_to zeigt '↻ zugestellt <id>' statt des Aktions-Buttons; Spool-Zeilen mit re_dispatch_of tragen ein ↻ vor dem Topic. TaskEnvelope um re_dispatch_of/re_dispatched_to erweitert.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* Beide Endpunkte sind fail-loud-lesend: eine tote Quelle macht den Endpunkt
|
||||
* NICHT 500, sondern sichtbar degraded (Uptime-Monitoring braucht eine Antwort).
|
||||
*/
|
||||
export const TOWER_VERSION = process.env.FLEET_TOWER_VERSION || "0.18"
|
||||
export const TOWER_VERSION = process.env.FLEET_TOWER_VERSION || "0.20"
|
||||
export const TOWER_STARTED_AT_MS = Date.now()
|
||||
|
||||
export type SourceState = {
|
||||
|
||||
@@ -55,6 +55,8 @@ export type TaskEnvelope = {
|
||||
vs: string
|
||||
claimed_at: string
|
||||
status_label: string
|
||||
re_dispatched_to: string
|
||||
re_dispatch_of: string
|
||||
file: string
|
||||
}
|
||||
|
||||
@@ -136,6 +138,8 @@ function normalizeEnvelope(doc: Record<string, unknown>, now: number, file: stri
|
||||
vs: str(doc.vs),
|
||||
claimed_at: claimedRaw === undefined || claimedRaw === null ? MISSING : iso(toEpoch(claimedRaw)),
|
||||
status_label: STATUS_LABEL[status] ?? (status || MISSING),
|
||||
re_dispatched_to: str(doc.re_dispatched_to),
|
||||
re_dispatch_of: str(doc.re_dispatch_of),
|
||||
file,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user