Review #15 P3 batch: GalaxyRepository (003–008) #47

Closed
opened 2026-11-09 14:39:44 -05:00 by dohertj2 · 1 comment
Owner

P3 findings from the scadaproj#15 shared-library review (verified at 91fb2b4) — full description, failure scenario and fix for each in code-reviews/<Lib>/findings.md. Split out any that grow.

  • GalaxyRepository-003 — objects in a parent cycle vanish from browse (discovery returns them)
  • GalaxyRepository-004 — Stale threshold fixed at 5 min (600 s refresh reports Stale)
  • GalaxyRepository-005 — deploy-notifier subscribe race (event delivered N+1 then N)
  • GalaxyRepository-006 — no test builds the container from AddZbGalaxyRepository
  • GalaxyRepository-007 — package pulls vulnerable System.Security.Cryptography.Pkcs 9.0.4 (NU1903) — same fix as scadaproj#22
  • GalaxyRepository-008 — stale docs: empty SnapshotCachePath disables persistence
P3 findings from the scadaproj#15 shared-library review (verified at 91fb2b4) — full description, failure scenario and fix for each in `code-reviews/<Lib>/findings.md`. Split out any that grow. - [ ] GalaxyRepository-003 — objects in a parent cycle vanish from browse (discovery returns them) - [ ] GalaxyRepository-004 — Stale threshold fixed at 5 min (600 s refresh reports Stale) - [ ] GalaxyRepository-005 — deploy-notifier subscribe race (event delivered N+1 then N) - [ ] GalaxyRepository-006 — no test builds the container from AddZbGalaxyRepository - [ ] GalaxyRepository-007 — package pulls vulnerable System.Security.Cryptography.Pkcs 9.0.4 (NU1903) — same fix as scadaproj#22 - [ ] GalaxyRepository-008 — stale docs: empty SnapshotCachePath disables persistence
dohertj2 added the type:review-findingpriority:p3 labels 2026-11-09 14:39:44 -05:00
Author
Owner

Fixed on main 362ba8d (GalaxyRepository 0.2.1 → 0.2.2, unpublished; 82 tests pass): 003 parent-cycle members re-rooted at the lowest gobject id so they stay browsable; 004 stale threshold = max(5 min, 3 × DashboardRefreshIntervalSeconds) via optional IOptions, projected-Stale entry memoized; 005 SubscribeAsync skips events not newer than the last yielded (no lost event between read and register); 006 ReviewP3Tests build a real host with AddGrpc()+AddZbGalaxyRepository (resolve, start/stop against an unreachable DB → Unavailable, host scope provider wins either registration order); 007 System.Security.Cryptography.Pkcs pinned 9.0.21 (no NU1902/1903); 008 empty SnapshotCachePath documented as disabling persistence + logged once. Regression tests fail with the fixes stashed (006 is a guard). Consumers (HistorianGateway, mxaccessgw) pin 0.2.0 until published.

Fixed on main 362ba8d (GalaxyRepository 0.2.1 → **0.2.2, unpublished**; 82 tests pass): 003 parent-cycle members re-rooted at the lowest gobject id so they stay browsable; 004 stale threshold = max(5 min, 3 × DashboardRefreshIntervalSeconds) via optional IOptions, projected-Stale entry memoized; 005 SubscribeAsync skips events not newer than the last yielded (no lost event between read and register); 006 ReviewP3Tests build a real host with AddGrpc()+AddZbGalaxyRepository (resolve, start/stop against an unreachable DB → Unavailable, host scope provider wins either registration order); 007 System.Security.Cryptography.Pkcs pinned 9.0.21 (no NU1902/1903); 008 empty SnapshotCachePath documented as disabling persistence + logged once. Regression tests fail with the fixes stashed (006 is a guard). Consumers (HistorianGateway, mxaccessgw) pin 0.2.0 until published.
Sign in to join this conversation.