feat(BA-6626): app_config_fragment bulk repository layer#12426
Draft
jopemachine wants to merge 1 commit into
Draft
feat(BA-6626): app_config_fragment bulk repository layer#12426jopemachine wants to merge 1 commit into
jopemachine wants to merge 1 commit into
Conversation
cf41d87 to
ffa35db
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 26, 2026
jopemachine
commented
Jun 26, 2026
ffa35db to
bcc97bb
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jopemachine
commented
Jun 26, 2026
bcc97bb to
846bc64
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
87bcc0c to
c83c084
Compare
846bc64 to
ef67230
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
c83c084 to
7cda3f9
Compare
ef67230 to
f2316f2
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
7cda3f9 to
614eaf0
Compare
f2316f2 to
3462f91
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
614eaf0 to
6d69904
Compare
3462f91 to
14f10a1
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6d69904 to
47fa255
Compare
14f10a1 to
542e10e
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Build the app_config_fragment bulk repository on the conditional-bulk primitives (#12429): - AppConfigFragmentCreatorSpec as a plain CreatorSpec with scope-based rank (public < domain < user). - bulk_create / bulk_update / bulk_purge in db_source + repository, returning the AppConfigFragmentBulkWriteResult data type (succeeded + failed[index, message]) — partial success via the WriteOps.bulk_conditional_*_partial primitives. - Single create rewritten to gate + plain create (no next-value); GatedWrite removed. - Repository unit tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
47fa255 to
0b72350
Compare
542e10e to
1166463
Compare
jopemachine
added a commit
that referenced
this pull request
Jun 26, 2026
Bulk create/update/purge for app_config_fragment at the service layer, on top of the repository primitives in #12426 (BA-6626): - Bulk actions carrying BulkConditional{Creator,Updater,Purger} payloads, service methods, and BulkActionProcessor wiring (per-entity RBAC extension point; no validator yet). - Partial-success results (succeeded + failed[index, message]). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repository-layer foundation for
app_config_fragmentbulk operations, split out of #12401 (BA-6618) to keep that PR reviewable. No API/service surface here — the service layer stacks on top.repositories/base:ConditionalCreator/ConditionalUpdater/ConditionalPurgerandBulkConditionalCreator/BulkConditionalUpdater/BulkConditionalPurger— a write spec paired with anonly_ifexistence gate.WriteOps.bulk_conditional_create_partial/_update_partial/_purge_partial— each item runs in its own savepoint for partial success: a rejected gate, a missing target, or a failed write is reported per-item (with its batch index) while the rest proceed.ConditionalWriteNotAllowed/ConditionalWriteTargetNotFound.app_config_fragmentrepository:AppConfigFragmentCreatorSpecbecomes a plainCreatorSpecwith scope-based rank (public<domain<user);bulk_create/bulk_update/bulk_purgeindb_source+repository; theAppConfigFragmentBulkWriteResultdata type (succeeded+failed[index, message]).📚 Stacked PRs
Part of the AppConfigFragment / AppConfig stack under BEP-1052 (epic BA-5781). Merge in order:
feat(BA-6552): app_config_fragments DB model and Alembic migrationfeat(BA-6553): repository layerrefactor(BA-6619): consolidate AppConfigScopeType into common.datarefactor(BA-6620): ExistsQuerier + AppConfigAllowList.existsfeat(BA-6554): AppConfigFragment service layerfeat(BA-6628): conditional-bulk repository primitivesfeat(BA-6626): app_config_fragment bulk repository layer← you are herefeat(BA-6618): AppConfigFragment bulk CRUD service layerfeat(BA-6555): app_config service layerfeat(BA-6556): AppConfig REST v2 API