Skip to content

feat(#4259): pivot boost plugins to AiResource/agent and AiModelServerAPI - #4260

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/4259-pivot-entity-kinds
Open

feat(#4259): pivot boost plugins to AiResource/agent and AiModelServerAPI#4260
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/4259-pivot-entity-kinds

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Migrate the boost workspace from legacy entity kinds (Component/ai-agent, Resource/ai-model) to the upstream-aligned kinds introduced by the ai-integrations workspace:

  • Agents: Component/ai-agent → AiResource/agent across OGX agent
    provider, Kagenti agent provider, and all frontend code
  • Models: per-model Resource/ai-model → single AiModelServerAPI entity
    with spec.serverType, spec.serverUrl, and spec.models.available[]
  • Update AI_ASSET_SPEC_TYPES mapping in isAiAsset.ts as the single
    source of truth for kind/type pairs
  • Rename categoryMeta entries: ai-agent→agent, ai-model→ai-model-server
    with updated label ('Model Servers') and icon (RiServerLine)
  • Add Available Models display to SummaryCard for AiModelServerAPI
    entities with scrollable list of spec.models.available
  • Update fixture YAML: agent uses AiResource/agent, model server entry
    is commented out (kind not yet registered in dev backend), remove
    ai-tool and vector-store fixture entries
  • Update dependsOn refs from component:default/ to airesource:default/
  • Update all 10 test files with new kind/type assertions

Closes #4259

Post-script verification

  • Branch is not main/master (agent/4259-pivot-entity-kinds)
  • Secret scan passed (gitleaks — 9ff73957b1e59ceca89032ba15af079e17c47087..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

…rAPI

Migrate the boost workspace from legacy entity kinds (Component/ai-agent,
Resource/ai-model) to the upstream-aligned kinds introduced by the
ai-integrations workspace:

- Agents: Component/ai-agent → AiResource/agent across OGX agent
  provider, Kagenti agent provider, and all frontend code
- Models: per-model Resource/ai-model → single AiModelServerAPI entity
  with spec.serverType, spec.serverUrl, and spec.models.available[]
- Update AI_ASSET_SPEC_TYPES mapping in isAiAsset.ts as the single
  source of truth for kind/type pairs
- Rename categoryMeta entries: ai-agent→agent, ai-model→ai-model-server
  with updated label ('Model Servers') and icon (RiServerLine)
- Add Available Models display to SummaryCard for AiModelServerAPI
  entities with scrollable list of spec.models.available
- Update fixture YAML: agent uses AiResource/agent, model server entry
  is commented out (kind not yet registered in dev backend), remove
  ai-tool and vector-store fixture entries
- Update dependsOn refs from component:default/ to airesource:default/
- Update all 10 test files with new kind/type assertions

Closes #4259
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from durandom as a code owner August 11, 2026 22:06
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Aug 11, 2026
@rhdh-gh-app

rhdh-gh-app Bot commented Aug 11, 2026

Copy link
Copy Markdown

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @red-hat-developer-hub/backstage-plugin-boost
  • @red-hat-developer-hub/backstage-plugin-kagenti-entity-provider
  • @red-hat-developer-hub/backstage-plugin-ogx-entity-provider

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-boost workspaces/boost/plugins/boost none v0.4.0
@red-hat-developer-hub/backstage-plugin-kagenti-entity-provider workspaces/boost/plugins/kagenti-entity-provider none v0.1.1
@red-hat-developer-hub/backstage-plugin-ogx-entity-provider workspaces/boost/plugins/ogx-entity-provider none v0.2.0

@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 52.63158% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.08%. Comparing base (9ff7395) to head (1512006).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4260      +/-   ##
==========================================
- Coverage   59.08%   59.08%   -0.01%     
==========================================
  Files        2452     2452              
  Lines       98005    98017      +12     
  Branches    27294    27290       -4     
==========================================
+ Hits        57908    57912       +4     
- Misses      38543    38551       +8     
  Partials     1554     1554              
Flag Coverage Δ *Carryforward flag
adoption-insights 84.55% <ø> (ø) Carriedforward from 9ff7395
ai-integrations 69.76% <ø> (ø) Carriedforward from 9ff7395
app-defaults 69.79% <ø> (ø) Carriedforward from 9ff7395
augment 46.67% <ø> (ø) Carriedforward from 9ff7395
boost 77.47% <52.63%> (-0.17%) ⬇️
bulk-import 72.79% <ø> (ø) Carriedforward from 9ff7395
cost-management 13.55% <ø> (ø) Carriedforward from 9ff7395
dcm 67.21% <ø> (ø) Carriedforward from 9ff7395
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from 9ff7395
e2e-intelligent-assistant 46.74% <ø> (ø) Carriedforward from 9ff7395
extensions 56.59% <ø> (ø) Carriedforward from 9ff7395
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 9ff7395
global-header 66.50% <ø> (ø) Carriedforward from 9ff7395
homepage 47.59% <ø> (ø) Carriedforward from 9ff7395
install-dynamic-plugins 59.95% <ø> (ø) Carriedforward from 9ff7395
intelligent-assistant 75.42% <ø> (ø) Carriedforward from 9ff7395
konflux 91.98% <ø> (ø) Carriedforward from 9ff7395
lightspeed 69.02% <ø> (ø) Carriedforward from 9ff7395
mcp-integrations 83.40% <ø> (ø) Carriedforward from 9ff7395
orchestrator 71.31% <ø> (ø) Carriedforward from 9ff7395
quickstart 63.74% <ø> (ø) Carriedforward from 9ff7395
sandbox 79.56% <ø> (ø) Carriedforward from 9ff7395
scorecard 86.23% <ø> (ø) Carriedforward from 9ff7395
theme 88.14% <ø> (ø) Carriedforward from 9ff7395
translations 5.12% <ø> (ø) Carriedforward from 9ff7395
x2a 79.20% <ø> (ø) Carriedforward from 9ff7395

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ff7395...1512006. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Agent PR ready for human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: pivot boost plugins to new entity kinds (AiResource/agent, AiModelServerAPI)

0 participants