Skip to content

WPB-23631: extract 13 subsystems to wire-subsystems#5356

Open
blackheaven wants to merge 1 commit into
developfrom
gdifolco/WPB-23631-migrate-brig-galley-spar-effects-0
Open

WPB-23631: extract 13 subsystems to wire-subsystems#5356
blackheaven wants to merge 1 commit into
developfrom
gdifolco/WPB-23631-migrate-brig-galley-spar-effects-0

Conversation

@blackheaven

Copy link
Copy Markdown
Contributor

https://wearezeta.atlassian.net/browse/WPB-23631

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@blackheaven
blackheaven requested review from a team as code owners July 22, 2026 06:49
@blackheaven
blackheaven force-pushed the gdifolco/WPB-23631-migrate-brig-galley-spar-effects-0 branch from f64ac6d to af7886e Compare July 22, 2026 06:51
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jul 22, 2026
@blackheaven
blackheaven force-pushed the gdifolco/WPB-23631-migrate-brig-galley-spar-effects-0 branch from af7886e to f384b9c Compare July 22, 2026 07:38
Move 13 Polysemy effects/interpreters/stores out of spar, brig, galley
into libs/wire-subsystems following the Wire.<Name> / Wire.<Name>.<Backend>
pattern:

spar (7): Reporter(+.Wai), SamlProtocolSettings(+.Servant),
DefaultSsoStore(+.Cassandra/.Mem), IdPRawMetadataStore(+.Cassandra/.Mem),
ScimUserTimesStore(+.Cassandra/.Mem), ScimExternalIdStore(+.Cassandra/.Mem),
VerdictFormatStore(+.Cassandra/.Mem).

brig (5): PublicKeyBundle, UserPendingActivationStore(+.Cassandra), SFT,
JwtTools (now also hosts CertEnrollmentError, moved out of Brig.API.Types),
BudgetStore(+.Cassandra) -- Brig.Budget converted from a MonadClient API to
a Polysemy effect, sole callsite (Brig.User.Auth login throttle) migrated.

galley (1): BoundedQueue(+.STM) -- Galley.Effects.Queue/Galley.Queue moved
and the effect renamed Queue a -> BoundedQueue a.

Carry-along: ScimUserCreationStatus moved to Wire.API.User.Scim; the
Cql ScimUserCreationStatus instance and the VerdictFormat row codec folded
into their new .Cassandra backends.

Each extraction is a clean cutover (every callsite migrated, old modules
deleted, no shims). No behavior or schema change; all target tables,
queries, and TTL/retry semantics preserved verbatim. wire-subsystems-tests,
spar, and brig unit suites stay green.
@blackheaven
blackheaven force-pushed the gdifolco/WPB-23631-migrate-brig-galley-spar-effects-0 branch from f384b9c to 79aae8b Compare July 22, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants