Skip to content

fix(metadata): stop specialist providers hijacking new library chains - #294

Merged
Quick104 merged 5 commits into
Silo-Server:mainfrom
fluxis:fix/metadata-default-enabled
Jul 7, 2026
Merged

Quick104 merged 5 commits into
Silo-Server:mainfrom
fluxis:fix/metadata-default-enabled

Conversation

@fluxis

@fluxis fluxis commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Problem

When creating a new TV series library, the provider chain defaulted to the Sportarr plugin at position 1 (enabled). More broadly, the chain-seeding logic had two flaws:

  1. Specialists could hijack the top slot. seedDefaultChain enabled every provider whose declared default_priority > 0 and ordered purely by that number. Sportarr declares series/season/episode = 1, which out-ranks TVDB (2) and TMDB (3), so it landed at position 1 enabled on every new series library.
  2. Single-purpose providers cluttered unrelated libraries. Providers that declare only their own level (audiobook / ebook / manga metadata) were still attached as disabled rows to series and movie libraries.

The same happened to existing libraries whenever a plugin was installed, via AppendProviderToAllChains.

Approach

  • Add a default_enabled capability-metadata flag. Defaults to true, so every existing plugin behaves exactly as before. A provider sets it false to be seeded installed-but-disabled while keeping its declared priority — so a user can opt in per-library and it slots in where the manifest intends rather than jumping to the top.
  • Seeding and append now drop providers that don't declare a content level, reusing the same providerSupportsLevel rule as the chain-less fallback (fix(metadata): exclude providers from content levels they don't declare #106). Audiobook/ebook/manga no longer appear in series/movie chains.
  • LookupSeedPlacement resolves support/priority/enabled in a single metadata fetch; buildSeededChainEntries is extracted as a pure, unit-tested helper.

Paired with a Sportarr manifest change (default_enabled: false, priority 50) in Silo-Server/silo-plugin-sportarr.

Frontend

Second commit standardizes the provider slug casing in the library chain editor: defaulted chains showed the display name (TMDB) while server-loaded chains showed the capability id (tmdb). Now the capability id is used everywhere (matches the API's provider_slug and the mono styling).

Testing

  • go test ./internal/metadata/ ./internal/api/handlers/ — pass (new TestExtractDefaultEnabled, TestBuildSeededChainEntries_*).
  • pnpm vitest run on LibraryForm.test.tsx — pass (new metadataProvidersFromInstallations tests).
  • pnpm run lint (0 errors), pnpm run format:check, tsc --noEmit clean.

Behavior change affects new library creation and new plugin installs; existing seeded chains are unchanged (operator DB cleanup can follow separately).

AI use

Implemented with Claude Code (Opus 4.8), test-driven. Reviewed by the author.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Library provider seeding now considers per-level support, default priority, and default enabled state, with deterministic ordering.
    • Admin library form now uses a standardized provider identifier when building provider entries.
  • Bug Fixes
    • Providers that don’t support a selected content level are excluded.
    • Opted-out providers (default_enabled:false) are added but kept disabled; legacy providers are parked last and disabled.
    • Default enablement now reliably “fails open” when metadata is missing or malformed.
  • Tests
    • Added unit tests covering default enabled/priority seeding and admin form provider mapping.

fluxis and others added 2 commits July 3, 2026 18:26
…ared levels

New library provider chains were seeded from every enabled metadata provider,
ordered purely by each plugin's declared default_priority and enabled whenever
that priority was > 0. Two consequences:

- A specialist provider (e.g. silo.sportarr, which declares series/season/
  episode) could out-rank the general providers and land at position 1,
  enabled, on every new TV series library.
- Single-purpose providers that declare only their own level (audiobook /
  ebook / manga metadata) were still attached as disabled rows to series and
  movie libraries, cluttering the chain editor with providers that cannot
  serve that content.

Introduce a `default_enabled` capability-metadata flag (defaults to true, so
every existing plugin is unaffected). A provider sets it false to be seeded
installed-but-disabled while keeping its declared priority, so a user can opt
in per-library and it slots in where the manifest intends instead of jumping
to the top. At the same time, seedDefaultChain and AppendProviderToAllChains
now drop providers that do not declare a content level, reusing the same
providerSupportsLevel rule as the chain-less fallback (issue Silo-Server#106).

LookupSeedPlacement resolves support/priority/enabled with a single metadata
fetch. buildSeededChainEntries is extracted as a pure, unit-tested helper.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…editor

The library provider-chain editor showed the same provider differently
depending on where the chain came from: a freshly defaulted chain used the
capability display name ("TMDB"), while a chain loaded from the server used
the capability id ("tmdb", which the API returns as provider_slug). So a
provider read one way before saving and another after, and differed between
library types depending on which levels already had a saved chain.

Standardize on the capability id everywhere (matches the server's
provider_slug and the mono/slug styling). Extract the provider mapping into a
pure, unit-tested metadataProvidersFromInstallations helper.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@Quick104, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 36 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 49ebe064-695d-4a97-a8ac-632f7b7dac62

📥 Commits

Reviewing files that changed from the base of the PR and between 15756f0 and 3a564b2.

📒 Files selected for processing (8)
  • internal/api/handlers/libraries.go
  • internal/api/handlers/libraries_provider_defaults_test.go
  • internal/api/router.go
  • web/src/components/admin/libraries/LibraryForm.test.tsx
  • web/src/components/admin/libraries/LibraryFormSections.tsx
  • web/src/components/admin/libraries/useLibraryForm.ts
  • web/src/hooks/queries/admin/libraries.ts
  • web/src/hooks/queries/keys.ts
📝 Walkthrough

Walkthrough

Backend seeding now uses SeedPlacement metadata with support, priority, and default-enabled state. The frontend library form also derives metadata providers from installations using capability ids and updated default chain rules.

Changes

Seed placement metadata and library defaults

Layer / File(s) Summary
SeedPlacement lookup and parsing
internal/metadata/chain.go, internal/metadata/chain_test.go
Adds default_enabled parsing, the SeedPlacement struct, and LookupSeedPlacement; tests cover extraction edge cases.
Backend chain seeding updates
internal/metadata/chain.go, internal/api/handlers/libraries.go, internal/api/handlers/plugins.go, internal/api/handlers/libraries_seed_chain_test.go
Updates AppendProviderToAllChains, syncMetadataProviders, and seedDefaultChain to use SeedPlacement; new tests cover opt-out, supported-level filtering, default-enabled behavior, and legacy placement.
Frontend metadata provider seeding
web/src/components/admin/libraries/useLibraryForm.ts, web/src/components/admin/libraries/LibraryForm.test.tsx
Exports metadataProvidersFromInstallations and MetadataProvider, derives slugs from capability ids, and updates default chain construction tests for opt-out and legacy cases.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant PluginsHandler as syncMetadataProviders
  participant LibrariesHandler as seedDefaultChain
  participant Metadata as LookupSeedPlacement
  participant ChainRepo as AppendProviderToAllChains

  PluginsHandler->>Metadata: LookupSeedPlacement(pluginID, capabilityID, contentLevel)
  Metadata-->>PluginsHandler: SeedPlacement
  PluginsHandler->>ChainRepo: AppendProviderToAllChains(placement)
  ChainRepo->>ChainRepo: skip if !SupportsLevel
  ChainRepo->>ChainRepo: enabled = DefaultPriority > 0 && DefaultEnabled

  LibrariesHandler->>Metadata: LookupSeedPlacement per content level
  Metadata-->>LibrariesHandler: SeedPlacement
  LibrariesHandler->>LibrariesHandler: buildSeededChainEntries(candidates)
Loading
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly reflects the main metadata chain seeding fix and the issue with specialist providers taking over new library chains.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9225c5c1c8

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +47 to +51
result.push({
plugin_installation_id: inst.id,
capability_id: cap.id,
slug: cap.id,
defaultPriority: dp,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve placement flags for client-seeded chains

When a new library's type is changed in the admin form, handleTypeChange marks the chain dirty and submit sends this client-built chain instead of relying on the server seed. This new mapper only carries defaultPriority, so buildDefaultLevelChains still enables every provider with a priority and keeps providers that do not support the level; with a Sportarr capability that has default_enabled:false, creating a TV library through the UI submits Sportarr enabled again, bypassing the backend fix.

Useful? React with 👍 / 👎.

CapabilityType: "metadata_provider.v1",
ContentLevel: level,
Priority: i,
Enabled: c.declaredPriority > 0 && c.defaultEnabled,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep all-disabled seeded chains from falling back

If an opted-out provider is the only candidate for a content level, this writes an explicit disabled row, but ResolveChain later filters disabled rows and treats the resulting empty list as no configured chain, falling back to all enabled plugin providers by priority. Since that fallback ignores default_enabled, the provider that was seeded installed-but-off still runs for that level instead of remaining disabled.

Useful? React with 👍 / 👎.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (2)
internal/api/handlers/libraries.go (1)

2067-2079: 🚀 Performance & Scalability | 🔵 Trivial | 💤 Low value

Metadata is refetched per content level for each capability.

LookupSeedPlacement fetches capability metadata (lookupCapabilityMetadata) on every call, but the underlying metadata is level-invariant — only providerSupportsLevel/extractDefaultPriority vary by level. Iterating levels × caps re-fetches the same capability's metadata once per level (e.g. ~4× for movie/series/season/episode). You could fetch metadata once per capability outside the levels loop and derive per-level placement in memory.

Library creation is infrequent, so this is optional.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@internal/api/handlers/libraries.go` around lines 2067 - 2079, The seeded
chain assembly in the levels loop is repeatedly calling LookupSeedPlacement for
the same capability metadata, even though lookupCapabilityMetadata is
level-invariant. Refactor the logic around buildSeededChainEntries so metadata
is fetched once per capability outside the levels loop, then compute the
per-level supportsLevel/defaultPriority/defaultEnabled values in memory for each
level using the already-fetched metadata.
internal/metadata/chain.go (1)

182-206: 🚀 Performance & Scalability | 🔵 Trivial | 💤 Low value

Move placement() after the membership check to avoid a redundant metadata fetch.

placement(g.contentLevel) runs LookupSeedPlacement, which performs a DB fetch, for every (folder, level) group — including groups where the provider already exists and will be continued out. Evaluating the cheap exists check first skips the metadata round-trip for already-seeded chains.

Since appends only happen on plugin install this is low-frequency, so treat as optional.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@internal/metadata/chain.go` around lines 182 - 206, The chain-building loop
in the metadata logic is doing an unnecessary `placement(g.contentLevel)` lookup
before confirming whether the provider already exists in the chain. Reorder the
checks in the `groups` loop so the `library_provider_chains` membership query
runs first, then call `placement()` only for entries that are not already
present. Keep the existing `SupportsLevel` guard and use the `placement`,
`LookupSeedPlacement`, and membership-check block in `chain.go` as the main
points to update.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@internal/api/handlers/libraries.go`:
- Around line 2067-2079: The seeded chain assembly in the levels loop is
repeatedly calling LookupSeedPlacement for the same capability metadata, even
though lookupCapabilityMetadata is level-invariant. Refactor the logic around
buildSeededChainEntries so metadata is fetched once per capability outside the
levels loop, then compute the per-level
supportsLevel/defaultPriority/defaultEnabled values in memory for each level
using the already-fetched metadata.

In `@internal/metadata/chain.go`:
- Around line 182-206: The chain-building loop in the metadata logic is doing an
unnecessary `placement(g.contentLevel)` lookup before confirming whether the
provider already exists in the chain. Reorder the checks in the `groups` loop so
the `library_provider_chains` membership query runs first, then call
`placement()` only for entries that are not already present. Keep the existing
`SupportsLevel` guard and use the `placement`, `LookupSeedPlacement`, and
membership-check block in `chain.go` as the main points to update.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 40a1edd6-5314-48e1-b364-993443a4ef82

📥 Commits

Reviewing files that changed from the base of the PR and between 3d82aa5 and 9225c5c.

📒 Files selected for processing (7)
  • internal/api/handlers/libraries.go
  • internal/api/handlers/libraries_seed_chain_test.go
  • internal/api/handlers/plugins.go
  • internal/metadata/chain.go
  • internal/metadata/chain_test.go
  • web/src/components/admin/libraries/LibraryForm.test.tsx
  • web/src/components/admin/libraries/useLibraryForm.ts

…hain

The form builds its own default chain client-side, and any touch (including
changing the library type on create, the normal path for a series library)
marks it dirty and POSTs it after create — replacing the server-seeded chain.
That chain still enabled every provider with a declared priority and listed
unsupported providers as disabled rows, so the server-side fix evaporated on
the UI create path.

buildDefaultLevelChains now applies the same rules as buildSeededChainEntries:
providers that don't declare the level are dropped, a declaring provider is
enabled only if it doesn't opt out via default_enabled, and a legacy catch-all
(no declared levels) is parked last, disabled.

Co-Authored-By: Claude Fable 5 <[email protected]>
@Quick104

Quick104 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Pushed 15756f08 extending the fix to the web UI create path: the form's client-built default chain (buildDefaultLevelChains) replaces the server-seeded chain whenever the chain is dirty — and changing the library type on create (the normal path for a series library) marks it dirty. It now mirrors buildSeededChainEntries: providers that don't declare the level are dropped, default_enabled: false providers are seeded disabled at their declared priority, and legacy catch-alls are parked last, disabled. Covered by new buildDefaultLevelChains / default_enabled-parsing vitest cases mirroring the server's TestBuildSeededChainEntries_*.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@web/src/components/admin/libraries/useLibraryForm.ts`:
- Around line 51-53: The `useLibraryForm` default-enabled resolution is treating
a nested `default_enabled` as a fallback when the top-level value is `null`, but
the fail-open rule requires top-level precedence unless it is exactly `false`.
Update the `rawEnabled` logic in `useLibraryForm` so a present top-level
`cap.metadata.default_enabled` always wins over the nested
`metadata.default_enabled`, and only consult the nested field when the top-level
value is truly absent. Keep the behavior in `useLibraryForm` consistent with the
literal-false check used for enabling.
- Around line 107-142: The priority ordering in buildDefaultLevelChains uses
LEGACY_CATCH_ALL_PRIORITY as a fixed sentinel, which can sort legacy providers
ahead of declared providers with very high priorities. Update the ranking logic
in buildDefaultLevelChains (and the LEGACY_CATCH_ALL_PRIORITY handling) so
legacy catch-all providers are always ordered after every provider that declares
a positive priority, regardless of how large that priority is, while keeping
declaredPriority and providerSupportsLevel behavior unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 911e44ca-80e0-43e1-91b5-bc31a0bffb34

📥 Commits

Reviewing files that changed from the base of the PR and between 9225c5c and 15756f0.

📒 Files selected for processing (2)
  • web/src/components/admin/libraries/LibraryForm.test.tsx
  • web/src/components/admin/libraries/useLibraryForm.ts

Replace the form's client-side reimplementation of the seeding rules with a
new additive endpoint, GET /api/v1/libraries/provider-defaults?library_type=X,
which returns the exact chain seedDefaultChain would write for that type.
The create form now renders those server-computed defaults, changing the
library type just refetches them (no longer marking the chain dirty), and a
create with an untouched chain lets the server-seeded chain stand instead of
writing one back. Editing an existing library uses the same defaults to fill
levels its saved chain doesn't cover.

Types the server seeds no metadata levels for (e.g. podcasts) return an empty
levels map rather than an error.

This removes buildDefaultLevelChains / metadataProvidersFromInstallations and
the default_priority/default_enabled manifest parsing from the frontend — one
source of truth for default ordering and enablement.

Co-Authored-By: Claude Fable 5 <[email protected]>
@Quick104

Quick104 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Follow-up push 87832ddc: replaced the client-side mirror from 15756f08 with the server-driven approach. New additive endpoint GET /api/v1/libraries/provider-defaults?library_type=X returns exactly what seedDefaultChain would write; the create form renders that instead of re-deriving defaults from plugin manifests. Changing the library type now just refetches defaults (no longer dirties the chain), so an untouched create lets the server-seeded chain stand — no chain PUT at all. buildDefaultLevelChains / metadataProvidersFromInstallations and all frontend default_priority/default_enabled parsing are gone; one source of truth for ordering and enablement. Types without metadata levels (podcasts) get an empty levels map, matching the fact the server never seeds or resolves chains for them.

While the server chain (for an existing library) or the type's defaults are
still in flight, the editor rendered empty provider lists for a moment. Show
a spinner row instead; local edits always render immediately.

Co-Authored-By: Claude Fable 5 <[email protected]>
@Quick104
Quick104 merged commit fd7df8b into Silo-Server:main Jul 7, 2026
1 check passed
Quick104 added a commit that referenced this pull request Jul 10, 2026
…#294)

* fix(metadata): seed specialist providers off and scope chains to declared levels

New library provider chains were seeded from every enabled metadata provider,
ordered purely by each plugin's declared default_priority and enabled whenever
that priority was > 0. Two consequences:

- A specialist provider (e.g. silo.sportarr, which declares series/season/
  episode) could out-rank the general providers and land at position 1,
  enabled, on every new TV series library.
- Single-purpose providers that declare only their own level (audiobook /
  ebook / manga metadata) were still attached as disabled rows to series and
  movie libraries, cluttering the chain editor with providers that cannot
  serve that content.

Introduce a `default_enabled` capability-metadata flag (defaults to true, so
every existing plugin is unaffected). A provider sets it false to be seeded
installed-but-disabled while keeping its declared priority, so a user can opt
in per-library and it slots in where the manifest intends instead of jumping
to the top. At the same time, seedDefaultChain and AppendProviderToAllChains
now drop providers that do not declare a content level, reusing the same
providerSupportsLevel rule as the chain-less fallback (issue #106).

LookupSeedPlacement resolves support/priority/enabled with a single metadata
fetch. buildSeededChainEntries is extracted as a pure, unit-tested helper.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(web): standardize metadata provider slug casing in library chain editor

The library provider-chain editor showed the same provider differently
depending on where the chain came from: a freshly defaulted chain used the
capability display name ("TMDB"), while a chain loaded from the server used
the capability id ("tmdb", which the API returns as provider_slug). So a
provider read one way before saving and another after, and differed between
library types depending on which levels already had a saved chain.

Standardize on the capability id everywhere (matches the server's
provider_slug and the mono/slug styling). Extract the provider mapping into a
pure, unit-tested metadataProvidersFromInstallations helper.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(web): mirror server seeding rules in the library form's default chain

The form builds its own default chain client-side, and any touch (including
changing the library type on create, the normal path for a series library)
marks it dirty and POSTs it after create — replacing the server-seeded chain.
That chain still enabled every provider with a declared priority and listed
unsupported providers as disabled rows, so the server-side fix evaporated on
the UI create path.

buildDefaultLevelChains now applies the same rules as buildSeededChainEntries:
providers that don't declare the level are dropped, a declaring provider is
enabled only if it doesn't opt out via default_enabled, and a legacy catch-all
(no declared levels) is parked last, disabled.

Co-Authored-By: Claude Fable 5 <[email protected]>

* refactor(web,api): serve default provider chains from the server

Replace the form's client-side reimplementation of the seeding rules with a
new additive endpoint, GET /api/v1/libraries/provider-defaults?library_type=X,
which returns the exact chain seedDefaultChain would write for that type.
The create form now renders those server-computed defaults, changing the
library type just refetches them (no longer marking the chain dirty), and a
create with an untouched chain lets the server-seeded chain stand instead of
writing one back. Editing an existing library uses the same defaults to fill
levels its saved chain doesn't cover.

Types the server seeds no metadata levels for (e.g. podcasts) return an empty
levels map rather than an error.

This removes buildDefaultLevelChains / metadataProvidersFromInstallations and
the default_priority/default_enabled manifest parsing from the frontend — one
source of truth for default ordering and enablement.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(web): show a loading state in the provider chain editor

While the server chain (for an existing library) or the type's defaults are
still in flight, the editor rendered empty provider lists for a moment. Show
a spinner row instead; local edits always render immediately.

Co-Authored-By: Claude Fable 5 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Co-authored-by: Quick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants