Suluhisho la wakati wa muda ni pamoja na madirisha ya SuperSEDED (masuluhisho ya kihistoria ya ufanisi)

Fixkamo-shared-library
Ya
8 Julai 2026, 17:51 UTC
Mwandishi
Kamo
Ahadi ya
f8b1f6a

All three effective-version resolvers (rate-sheet, guideline, lock-policy) queried only status=ACTIVE, then window-filtered. But supersession flips the prior version ACTIVE->SUPERSEDED and closes its effective_until, so only the current version is ever ACTIVE — any past priced_as_of (re-price, audit, lock-date reproduction) resolved to NOTHING (404 'no effective version') even though the correctly-windowed version still exists. This also made the window's upper-bound branch dead code (an ACTIVE row always has null effective_until). Widen the candidate set to ACTIVE + SUPERSEDED (new findBy...StatusIn finders; excludes DRAFT/RETIRED). Closed windows are disjoint by construction, so the >1 overlap-throw still holds. Regression test added: a SUPERSEDED closed window resolves for a historical priced_as_of. Resolver public signatures unchanged (pricing/underwriting callers unaffected). Tests: 7/6/6 pass.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei