test(datastore): add deterministic shred-vs-mutation concurrency suite for namespace key store

What

Adds a deterministic shred-vs-mutation concurrency suite for the namespace key store (internal/datastore), using WithTx + pg_blocking_pids to pin the interleavings the barrier and guarded-insert fail-closed paths must survive. Also corrects the Step 10 plan row's concurrency-test mechanism. Step 10 of the S04-A plan.

Type

Test-only — no product behavior change, hence type::maintenance.

Guardrails

  • Tests: this MR is the concurrency-invariant coverage for the Step 3 store.
  • e2e catalog / configuration reference: not applicable (test-only).

Related to https://gitlab.com/gitlab-org/ops/artifact-registry/-/issues/384

Edited by Suleimi Ahmed

Merge request reports

Loading
Loading