Repository navigation
feat(marketplace): runs per function (functionId) and run details - #93
Merged
Merged
Conversation
…46 (runs per function) GetMarketplaceFunctionRuns gains functionId (one of functionId / triggerId / taskId); MarketplaceFunctionRunDto gains status, correlationId, hasDetails, triggerId and taskId. Additive only; Api types unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…unctionRunDetailsAsync
Code.GetMarketplaceFunctionRunsAsync sends FunctionId from the regenerated
request (one of FunctionId / TriggerId / TaskId); rows carry Status,
CorrelationId, HasDetails, TriggerId and TaskId. NorbixHubClient gains
GetMarketplaceFunctionRunDetailsAsync(correlationId), a wrapper over
Logs.GetLogsByCorrelationIdAsync (GET /{version}/logs/audit?targetCorrelationId=…).
MarketplaceRunsTests pins both queries; the Code coverage snapshot is accepted
(functionId on the query, HasDetails on the row). README section added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
…like the other Hub tests The three cases (functionId query, details by targetCorrelationId, empty id refused before any request) now snapshot the sent request and the decoded rows into test_results/, as PushEndpointTests and SchedulerBodyVariantTests do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 3.20.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
What changed
81f87e446, item gw-runs, owner decision D10 "runs per function"):GetMarketplaceFunctionRunsgainsfunctionId(exactly one of functionId / triggerId / taskId);MarketplaceFunctionRunDtogainsstatus,correlationId,hasDetails,triggerId,taskId. Additive only; Api types untouched.GET /{version}/code/marketplace/functions/runswith exactlyfunctionId+limiton the query and no body (tests/Norbix.Hub.Tests/MarketplaceRunsTests.cs).NorbixHubClient.GetMarketplaceFunctionRunDetailsAsync(correlationId)(next toEchoAsyncin NorbixHubClient.Convenience.cs) over the generatedLogs.GetLogsByCorrelationIdAsync; README section "Marketplace function runs".Tests
dotnet build0 warnings;dotnet test Norbix.Sdk.sln— Hub.Tests 248 (+3), Sdk.Tests 84, Coexistence 2, 0 failed. Code coverage snapshot accepted (query gains functionId, row gains HasDetails).Notes
feat→ minor). No!, no breaking change.targetCorrelationId(the gateway DTO property), notcorrelationId—?correlationId=binds to the request's own correlation id and the gateway answers 400.audit/marketplace-runs,docs/tasks/marketplace-runs-sdks.md.🤖 Generated with Claude Code