mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
* fix(config): drop a conformance pack's tags when the pack is deleted * fix(config): serialize PutConformancePack and DeleteConformancePack per pack An update Put is a get-then-put. A Delete landing between the two removed the pack and its tags, then the Put re-inserted it under the old ARN: the Delete reported success while the pack survived with its tags gone. Both operations now take the per-key lock aggregation authorizations already use. * test(config): force the pack update/delete overlap instead of sampling it Replace the 100,000-round race sample with a deterministic test, as SnsPolicyAndSandboxEditsTest does: park PutConformancePack in its persist (inside the per-pack lock), start DeleteConformancePack, and assert with ThreadStates.awaitBlockedOrDone that the delete waits. Removing the lock from either put or delete fails it. * test: share ParkingStore in floci.testing, parking the next read or write Moves the two private copies (SNS parked a read, Config parked a write) into one store next to ThreadStates; the caller arms parkNextRead or parkNextWrite.