[Nitro CLI] Download latest fusion archive version if extension is not .fgp#9174
[Nitro CLI] Download latest fusion archive version if extension is not .fgp#9174tobias-tengler merged 3 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates Nitro CLI’s fusion configuration download flow to support downloading the latest fusion archive format when the requested output is not a .fgp, and removes the now-unused GraphQL operation that previously provided a downloadUrl.
Changes:
- Switch
DownloadLatestFusionArchiveAsyncfrom a StrawberryShake GraphQL lookup to a direct REST download endpoint, with anisFgpswitch to request FAR output when needed. - Update fusion commands to pass the new
isFgpargument and changefusion downloaddefault output togateway.far. - Remove the
FetchConfigurationGraphQL operation and update persisted operations accordingly.
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Nitro/CommandLine/src/CommandLine/persisted/operations.json | Removes the persisted FetchConfiguration operation entry after GraphQL removal. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Fusion/FusionValidateCommand.cs | Updates callsite to new DownloadLatestFusionArchiveAsync signature. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Fusion/FusionPublishHelpers.cs | Reworks latest configuration download to REST endpoint and adds request builder. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Fusion/FusionPublishCommand.cs | Updates callsite to new helper signature. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Fusion/FusionDownloadCommand.graphql | Removes obsolete GraphQL query used to fetch downloadUrl. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Fusion/FusionDownloadCommand.cs | Defaults to .far output and infers isFgp from output extension. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fusion Gateway Performance ResultsSimple Composite Query
Response Times & Query
query TestQuery {
topProducts(first: 5) {
inStock
name
price
shippingEstimate
upc
weight
reviews {
id
body
author {
id
username
name
}
}
}
}Deep Recursion Query
Response Times & Query
query TestQuery {
users {
id
username
name
reviews {
id
body
product {
inStock
name
price
shippingEstimate
upc
weight
reviews {
id
body
author {
id
username
name
reviews {
id
body
product {
inStock
name
price
shippingEstimate
upc
weight
}
}
}
}
}
}
}
topProducts(first: 5) {
inStock
name
price
shippingEstimate
upc
weight
reviews {
id
body
author {
id
username
name
reviews {
id
body
product {
inStock
name
price
shippingEstimate
upc
weight
}
}
}
}
}
}Variable Batching Throughput
Response Times & Query
query TestQuery($upc: ID!, $price: Long!, $weight: Long!) {
productByUpc(upc: $upc) {
inStock
shippingEstimate(weight: $weight, price: $price)
}
}Variables (5 sets batched per request) [
{ "upc": "1", "price": 899, "weight": 100 },
{ "upc": "2", "price": 1299, "weight": 1000 },
{ "upc": "3", "price": 15, "weight": 20 },
{ "upc": "4", "price": 499, "weight": 100 },
{ "upc": "5", "price": 1299, "weight": 1000 }
]Run 22387619953 • Commit 293dd4e • Wed, 25 Feb 2026 08:24:37 GMT |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9174 +/- ##
============================
============================
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.