feat(serviceCatalog): support agentic workflow blueprints (QOV-2181) - #2898
feat(serviceCatalog): support agentic workflow blueprints (QOV-2181)#2898fabienfleureau wants to merge 1 commit into
Conversation
Agentic workflow blueprints are cloud-agnostic, so they were filtered out of the service catalog on clusters bound to a specific cloud provider. Add the AGENTIC_WORKFLOW provider to the cluster-agnostic allow-list so these blueprints are offered on any cluster, mirroring the existing EXTERNAL/HELM handling. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
View your CI Pipeline Execution ↗ for commit 0d14756
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
Pull request overview
This PR updates the service catalog blueprint compatibility filter to treat agentic workflow blueprints as cluster/cloud-agnostic, so they appear on clusters regardless of the cluster’s cloud provider (matching existing EXTERNAL / HELM behavior).
Changes:
- Add
AGENTIC_WORKFLOWto theCLUSTER_AGNOSTIC_BLUEPRINT_PROVIDERSallow-list used byisBlueprintCompatibleWithCluster. - Extend the unit test matrix to assert the new compatibility behavior.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
libs/domains/services/feature/src/lib/blueprint-utils/blueprint-utils.ts |
Adds AGENTIC_WORKFLOW to the cluster-agnostic provider allow-list used by the compatibility check. |
libs/domains/services/feature/src/lib/blueprint-utils/blueprint-utils.spec.ts |
Adds a parametrized test row ensuring AGENTIC_WORKFLOW is compatible with an AWS cluster. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## staging #2898 +/- ##
===========================================
- Coverage 49.29% 44.76% -4.53%
===========================================
Files 849 489 -360
Lines 21194 13025 -8169
Branches 6443 4017 -2426
===========================================
- Hits 10448 5831 -4617
+ Misses 8932 6164 -2768
+ Partials 1814 1030 -784
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Adds support for agentic workflow blueprints in the service catalog (Jira QOV-2181).
Agentic workflow blueprints are cloud-agnostic — they are not tied to a specific cloud provider. The catalog's
isBlueprintCompatibleWithClusterfilter only surfaces a blueprint when its provider matches the cluster's cloud provider or the provider is on the cloud-agnostic allow-list (EXTERNAL,HELM). As a result, agentic workflow blueprints were hidden on any cluster bound to a specific cloud (AWS/GCP/SCW/…).This change adds
AGENTIC_WORKFLOWtoCLUSTER_AGNOSTIC_BLUEPRINT_PROVIDERS, so these blueprints are offered on any cluster — mirroring the existingEXTERNAL/HELMhandling introduced in #2895.Files changed
libs/domains/services/feature/src/lib/blueprint-utils/blueprint-utils.ts— addAGENTIC_WORKFLOWto the cloud-agnostic provider allow-list.libs/domains/services/feature/src/lib/blueprint-utils/blueprint-utils.spec.ts— add the matchingit.eachrow.Verification
yarn test/ lint / typecheck could not be run here. The change was verified by inspection:isBlueprintCompatibleWithCluster('AGENTIC_WORKFLOW', 'AWS')now returnstruevia the allow-list; other providers are unaffected.Assumptions
providertoken for agentic workflows isAGENTIC_WORKFLOW, consistent withServiceTypeEnum.AGENTIC_WORKFLOWand theIcon name="AGENTIC_WORKFLOW"usage across the console. The comparison is case-insensitive (.toUpperCase()), so any casing ofagentic_workflowmatches. Please confirm the exact provider string used in theQovery/service-catalogcatalog.json— if it is hyphenated (agentic-workflow) the allow-list entry must be adjusted. If the token differs, this change is a safe no-op (nothing else is affected).Follow-ups
Qovery/service-catalogand, if needed, publish the actual agentic workflow blueprint entries there.BlueprintItemfrom the generatedqovery-typescript-axiosAPI — out of scope for this minimal change.Jira
https://qovery.atlassian.net/browse/QOV-2181
Summary by cubic
Shows agentic workflow blueprints on all clusters by treating
AGENTIC_WORKFLOWas cloud-agnostic. Previously these blueprints were hidden on cloud-bound clusters; now they appear regardless of provider, matchingEXTERNAL/HELM.AGENTIC_WORKFLOWtoCLUSTER_AGNOSTIC_BLUEPRINT_PROVIDERSinblueprint-utils.ts; other providers unchanged.isBlueprintCompatibleWithClustertest to coverAGENTIC_WORKFLOW.AGENTIC_WORKFLOW; adjust the allow-list entry if the token differs.Written for commit 0d14756. Summary will update on new commits.