f6b80d0283
Merge fix/260-followup
main
Joseph Doherty
2026-12-03 13:14:23 -05:00
1d741e8755
Merge fix/259-followup
Joseph Doherty
2026-12-03 13:14:22 -05:00
92dbe7bf90
Merge fix/258-worker-followup
Joseph Doherty
2026-12-03 13:14:22 -05:00
dd9778af80
Merge fix/258-gateway-followup
Joseph Doherty
2026-12-03 13:14:22 -05:00
bb63c8ba72
perf(worker): alarm poll loop parks until a subscription activates instead of ticking (MXA-011, #258)
Joseph Doherty
2026-12-03 13:10:35 -05:00
a38578d0e2
perf(worker): alarm watch-list update diffs the subtag standby instead of rebuilding it (MXA-010, #258)
Joseph Doherty
2026-12-03 13:10:31 -05:00
ee0f836886
fix(workers): capture worker stderr/stdout, forward it to the gateway log, and attach the stderr tail to early-exit StartupFailed (WRK-002, #259)
Joseph Doherty
2026-12-03 13:10:12 -05:00
0967fe0730
perf(sessions): bound a sparse array write by the worker command limit before expanding it (SES-008, #258)
Joseph Doherty
2026-12-03 13:08:29 -05:00
d526b69b0b
perf(auth): skip the limiter's composite resolve and reset work when nothing is tracked; ValueTask auth path (SEC-012, #258)
Joseph Doherty
2026-12-03 13:06:25 -05:00
d8553b1ff7
test(worker): watch-list update rebuilds the whole subtag standby for a one-alarm change (MXA-010, #258)
Joseph Doherty
2026-12-03 13:04:58 -05:00
a606407fc4
perf(dashboard): NativeDialog sends update() only on busy/generation change or a reported submit (DSH-008, #258)
Joseph Doherty
2026-12-03 13:04:28 -05:00
cabee5bf89
fix(client-java): CLI batch reuses one client per connection setting (#260)
Joseph Doherty
2026-12-03 13:03:23 -05:00
6804341152
test(worker): mark the MXA-003 stuck-poll shutdown test subscribed so MXA-011's idle skip doesn't bypass the poll
Joseph Doherty
2026-12-03 10:21:18 -05:00
0ccf3d400b
fix(alarms): diff across monitor restarts, version reconciles, cache the watch-list (SEC-005..SEC-010, #250, #254)
Joseph Doherty
2026-12-03 10:08:07 -05:00
eb37565e59
fix(dashboard): prime new /hubs/alarms connections with the current snapshot (DSH-005, #254)
Joseph Doherty
2026-12-03 10:08:07 -05:00
8e720bc727
fix(worker): bound shutdown alarm steps by the grace; watchdog stands down while shutting down; startup handshake deadline (MXA-003, WIP-007, WIP-009, #253)
Joseph Doherty
2026-12-03 10:07:41 -05:00
eaa43cf42f
test(worker): net48-compatible timeout helper in the dispatcher gate test (WIP-010)
Joseph Doherty
2026-12-03 10:07:29 -05:00
a474d3219b
fix(grpc): configure Kestrel HTTP/2 keepalive (60 s ping, 10 s timeout) under MxGateway:Protocol (SES-005, #253)
Joseph Doherty
2026-12-03 10:03:53 -05:00
87b8f8da09
fix(workers): orphan cleanup skips workers whose owning gateway is still running (WRK-009, #253)
Joseph Doherty
2026-12-03 10:00:16 -05:00
152a12cea9
fix(dashboard): enforce auth lifetimes on live hub connections and circuits (DSH-006)
Joseph Doherty
2026-12-03 09:59:08 -05:00
9c3a4c0eae
fix(sessions): drop per-session event metrics after the session dispose (WRK-008, #253)
Joseph Doherty
2026-12-03 09:57:41 -05:00
196465ef9c
fix(workers): fail fast when the worker exits before connecting; launch-cleanup Kill never masks the launch error (WRK-002, WRK-006, #253)
Joseph Doherty
2026-12-03 09:56:05 -05:00
835ed0bd04
fix(auth): revoking, rotating or deleting a key ends its open gRPC streams (SEC-004)
Joseph Doherty
2026-12-03 09:55:43 -05:00
c30ba69a6d
perf(worker): alarm subtag source and ack writer tear down with Unregister alone (MXA-010, #256)
fix/review-2026-12-phase5
Joseph Doherty
2026-12-03 09:54:11 -05:00
04c772268a
perf(worker): wnwrap poll skips the parse and diff when the alarm XML is unchanged (MXA-008, #256)
Joseph Doherty
2026-12-03 09:53:39 -05:00
a17f24c817
perf(worker): completion waits tick at the 50 ms fallback and the bulk wait probes only pending handles (MXA-009, #256)
Joseph Doherty
2026-12-03 09:52:52 -05:00
ad30daf6e2
perf(worker): alarm poll loop skips the STA hop while nothing is subscribed (MXA-011, #256)
Joseph Doherty
2026-12-03 09:52:23 -05:00
1c77ce4c5a
fix(auth): normalize absent constraint lists to empty on load (SEC-013, #254)
Joseph Doherty
2026-12-03 09:48:29 -05:00
2ee57a70fe
fix(config): bound Alarms:ReconcileIntervalSeconds and Events:ReplayRetentionSeconds (SEC-011, #254)
Joseph Doherty
2026-12-03 09:47:36 -05:00
b74a231f75
fix(worker): hold subtag alarm state on bad quality; keep an initial-sync ack (MXA-005, MXA-007, #254)
Joseph Doherty
2026-12-03 09:44:11 -05:00
58342efeab
fix(worker): count an unsubscribed alarm primary as failing and rebuild it (MXA-001, #249)
Joseph Doherty
2026-12-03 09:44:11 -05:00
2c22ae6bd4
fix(workers): bound the heartbeat skip by heartbeat age on the monotonic clock; deadline covers the enqueue; a reply that wins the timeout race is returned (WRK-001, WRK-003, WRK-004, WRK-005, #253)
Joseph Doherty
2026-12-03 09:52:19 -05:00
0b93fe8263
perf(worker): start the STA dispatcher drain outside its gate so command logging cannot stall the read loop (WIP-010, #256)
Joseph Doherty
2026-12-03 09:51:46 -05:00
78bfc1b8a3
perf(workers): reuse the pre-check envelope size when framing; count pre-reply command failures (WRK-010, WRK-007, #256)
Joseph Doherty
2026-12-03 09:51:12 -05:00
824107a56b
fix(auth): cached verifications skip the limiter; success no longer wipes the key aggregate (SEC-002, SEC-003, #245)
Joseph Doherty
2026-12-03 09:51:08 -05:00
16d9cc708b
perf(sessions): check readiness before expanding a sparse write; share one default Timestamp (SES-008, #256)
Joseph Doherty
2026-12-03 09:49:22 -05:00
09da8063a9
fix(sessions): reject a StreamEvents resume cursor ahead of the stream with InvalidArgument (SES-006, #256)
Joseph Doherty
2026-12-03 09:48:27 -05:00
a9f884f370
fix(auth): partition the API-key failure limiter on remote IP, not IP:port (SEC-001, #244)
Joseph Doherty
2026-12-03 09:48:03 -05:00
159524edd9
fix(dashboard): close the dropped live-read session; subscribe-and-track off the caller's token (DSH-002 #248, DSH-007, #253)
Joseph Doherty
2026-12-03 09:47:46 -05:00
855cd8a526
fix(client-python): CLI batch reuses one loop/channel; smoke attaches stream before advise (CPY-005, CPY-006, #257)
Joseph Doherty
2026-12-03 09:47:40 -05:00
9756ab843e
perf(audit): indexed, chunked retention sweep that runs off the startup path (SEC-014, #256)
Joseph Doherty
2026-12-03 09:46:43 -05:00
27fdb576ba
fix(dashboard): enforce page [Authorize] on in-circuit navigation via AuthorizeRouteView (DSH-001, #243)
Joseph Doherty
2026-12-03 09:46:31 -05:00
0673b0c76c
fix(sessions): start the host session drain at ApplicationStopping, before Kestrel's drain (SES-001, #247)
Joseph Doherty
2026-12-03 09:46:17 -05:00
3173ad7083
fix(client-python): keepalive options, typed error mapping with status code, open-enum names, malformed-reply checks (CPY-001..004, #257)
Joseph Doherty
2026-12-03 09:46:02 -05:00
7ec4c20239
perf(auth): hash the cache key from a stack buffer and reuse the mapped identity on cache hits (SEC-012, #256)
Joseph Doherty
2026-12-03 09:45:46 -05:00
d4231c4a6d
fix(worker): skip cache writes for late callbacks on removed handles (MXA-004, #255)
Joseph Doherty
2026-12-03 09:45:18 -05:00
9adea04b37
fix(worker): report worker-side validation and STA shutdown without an MXAccess HRESULT (WIP-005, #255)
Joseph Doherty
2026-12-03 09:45:14 -05:00
62649047cf
fix(worker): make array and FILETIME conversion total (WIP-003, WIP-004, #255)
Joseph Doherty
2026-12-03 09:45:05 -05:00
3f9ea6a86c
perf(dashboard): AlarmsHubPublisher holds no monitor subscription while no hub client is connected (DSH-009, #256)
Joseph Doherty
2026-12-03 09:44:51 -05:00
fa12691118
perf(dashboard): Alarms page re-projects only when the alarm set changed (DSH-010, #256)
Joseph Doherty
2026-12-03 09:43:22 -05:00
449b483046
perf(dashboard): NativeDialog skips repeat close() interop once the dialog is closed (DSH-008, #256)
Joseph Doherty
2026-12-03 09:42:16 -05:00
97e4d96afa
fix(grpc): check AddBufferedItem read constraints; fail closed on unclassified command kinds (SES-003, #242)
Joseph Doherty
2026-12-03 09:41:50 -05:00
9338c6d51b
fix(client-rust): CLI batch mode reuses one channel per connection; bench backs off on failure (CRS-004, #257)
Joseph Doherty
2026-12-03 09:40:58 -05:00
078b9c9840
fix(worker): bound each STA message-pump pass to 64 dispatches (WIP-001, #246)
Joseph Doherty
2026-12-03 09:40:52 -05:00
cf00f6fc86
fix(grpc): owner-scope Invoke and CloseSession like StreamEvents (SES-002, #241)
Joseph Doherty
2026-12-03 09:40:41 -05:00
d424e3e46a
fix(client-rust): scrub all error variants and redact tonic::Status Display/Debug (CRS-002, CRS-003, #257)
Joseph Doherty
2026-12-03 09:40:07 -05:00
17a42ab292
perf(dashboard): coalesce session-details event renders to 250 ms and key the rows (DSH-004, #256)
Joseph Doherty
2026-12-03 09:39:50 -05:00
3d4d5f2b04
fix(sessions): renew the lease on last-subscriber detach; purge item registrations on Unregister (SES-004, SES-007, #253)
Joseph Doherty
2026-12-03 09:39:19 -05:00
f55589f782
perf(dashboard): run health checks on their own 10s cadence off the snapshot tick (DSH-003, #256)
Joseph Doherty
2026-12-03 09:38:56 -05:00
33f0a2d187
fix(client-rust): default HTTP/2 keepalive 30s/10s while idle, configurable (CRS-001, #257)
Joseph Doherty
2026-12-03 09:38:45 -05:00
c065b3678a
docs: index docs/WorkerEventPathPerformance.md from gateway.md and the worker design (D6, #236)
Joseph Doherty
2026-12-03 09:38:42 -05:00
d12fd4f5a0
docs(plans): point the rollout plan at docs/WorkerEventPathPerformance.md
Joseph Doherty
2026-12-03 09:36:39 -05:00
8d1dd7f41d
docs: add worker event-path performance analysis as docs/WorkerEventPathPerformance.md (D6, #236)
Joseph Doherty
2026-12-03 09:36:36 -05:00
e934854a89
fix(worker): ReadBulk never tears down the caller's own item or advice (#238)
Joseph Doherty
2026-11-21 16:49:37 -05:00
90d2d4a9b1
docs(deploy): DEV vd03 on 3be20983 (R1) then 9a4bc1df (R2); worker CPU 45% -> 0.3% of a core (#236)
Joseph Doherty
2026-11-21 09:30:44 -05:00
027d2b5d1a
perf(gateway): read worker frames through a 64 KiB read-ahead buffer (#235)
Joseph Doherty
2026-11-21 08:20:00 -05:00
9b9fdecc9b
perf(gateway): attach the dashboard mirror only while a viewer watches (#235)
Joseph Doherty
2026-11-21 08:18:26 -05:00
5516561084
perf(gateway): run the worker event hand-off inline instead of two pool hops (#235)
Joseph Doherty
2026-11-21 08:09:30 -05:00
d68d1c0a06
docs(plans): rollout plan for the worker/gateway event-path CPU fixes (#236, #235)
Joseph Doherty
2026-11-21 08:36:11 -05:00
e811b93eb8
feat(worker,gateway): report record-info pin outcome in WorkerReady; drain-thread completion tests
Joseph Doherty
2026-11-21 08:11:31 -05:00
f6a3e13bd3
perf(worker,gateway): pin MXSTATUS_PROXY record info, dedicated event-drain thread, cap thread-pool spin
Joseph Doherty
2026-11-21 08:00:13 -05:00
75ddfa07a7
docs(review): record accepted decisions D1-D10 in the 2026-12-02 fix plan
Joseph Doherty
2026-12-03 09:34:52 -05:00
fd26c22ec3
docs(review): link 2026-12-02 review findings and plan phases to #241-#257
Joseph Doherty
2026-12-02 16:07:53 -05:00
f200bda605
docs(review): 2026-12-02 bug + performance review (99 findings) and fix plan
Joseph Doherty
2026-12-02 16:06:56 -05:00
2e6645ef92
fix(worker): UnAdvise evicts the item's cached value (#238)
Joseph Doherty
2026-12-01 19:31:49 -05:00
13e9a26d39
test(integration): live repro for ReadBulk of a client-held tag (#238)
Joseph Doherty
2026-12-01 19:27:11 -05:00
7a41d9edea
fix(worker): ReadBulk never tears down a caller's item or subscription (#238)
Joseph Doherty
2026-12-01 19:25:19 -05:00
54367e7408
docs(deploy): PROD mxgw — PAR alarms on Galaxy!NewJersey; all four on SQL login wwpdgdbro (ready 200, #60 not needed)
Joseph Doherty
2026-11-22 12:06:22 -05:00
256b5c1bfc
deploy(prod): mxgw e74918cc on par-vp03/par-vp04 (site-par Connected; galaxy-sql waits on scadaproj#60)
Joseph Doherty
2026-11-22 07:45:06 -05:00
8e0e232fd6
deploy(prod): mxgw e74918cc on par-vp03/par-vp04 (site-par Connected; galaxy-sql waits on scadaproj#60)
codex/rust-worker
Joseph Doherty
2026-11-22 07:45:06 -05:00
cfaacf7485
Require Galaxy query readiness on automatic startup
Joseph Doherty
2026-11-21 20:52:38 -05:00
8fe50f7cad
Let WnWrap release shared calls after Alarmmgr exits
Joseph Doherty
2026-11-21 14:46:51 -05:00
f2720d4e56
Keep subtag failover until the Alarmmgr query completes
Joseph Doherty
2026-11-21 14:23:39 -05:00
c102f881b7
Recover WnWrap after local Alarmmgr exits
Joseph Doherty
2026-11-21 13:51:12 -05:00
3bb6182f91
Isolate WnWrap recovery from the MXAccess STA
Joseph Doherty
2026-11-21 11:50:51 -05:00
04655b78fa
Add a live test for a real Alarmmgr outage
Joseph Doherty
2026-11-21 10:28:54 -05:00
8045afe174
Verify automatic alarm failover through the gateway
Joseph Doherty
2026-11-21 10:13:38 -05:00
9293c4c913
Run alarm providers natively in the Rust worker
Joseph Doherty
2026-11-21 09:53:37 -05:00
dbc5ea0c25
Complete Rust worker command coverage and bridge the alarm provider
Joseph Doherty
2026-11-21 09:34:41 -05:00