DPS-76 - allow teams to configure multiple manifests#46
Merged
dantheuber merged 4 commits intoMar 14, 2026
Merged
Conversation
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
Allow teams to configure multiple manifest URLs (up to 20) instead of being limited to one. This transitions every layer — database, stores, API, sync engine, and client UI — from single-config to multi-config architecture, enabling teams to manage different service groups, environments, or organizational boundaries with separate manifests.
Closes DPS-76.
Changes
Database
033_multi_manifest: removesUNIQUE(team_id)constraint onteam_manifest_config, addsnamecolumn withUNIQUE(team_id, name), addsmanifest_config_idFK columns tomanifest_sync_history,drift_flags, andservicestables with backfillServer
ManifestConfigStorereturns arrays fromfindByTeamId(), addsfindById(), enforces 20-config limit per team with name uniqueness.ManifestSyncHistoryStoreaddsfindByConfigId().DriftFlagStoresupports optionalmanifest_config_idfilteringsyncManifest(configId)method for per-config sync with per-config locking and cooldowns.syncTeam()iterates all enabled configs sequentially. Services scoped bymanifest_config_idduring diff/applyGET/POST /:id/manifests,GET/PUT/DELETE /:id/manifests/:configId, per-config sync and sync-history routesconfig_id/config_name, sync-all iterates individual configsClient
getManifestConfigs,createManifestConfig,updateManifestConfig,removeManifestConfig,triggerConfigSync,getConfigSyncHistory), legacy aliases preserved for transitionuseManifestConfigs(teamId)for list view.useManifestConfig(teamId, configId)refactored for single-config operations.useSyncHistory(teamId, configId)scoped to configDocumentation
docs/spec/15-manifest-sync.mdupdated for multi-config architecture (routes, hooks, components, concurrency)README.mdupdated for multiple manifests per teamTesting
npm test)npm run lint)60 files changed, 2301 insertions, 1095 deletions across:
findByConfigIduseManifestConfigs, updateduseManifestConfig/useSyncHistoryResults: 1495 client tests, 3002 server tests — all passing
Checklist