Repository navigation
feat(marketplace): runs per function (functionId) and run details - #49
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>
…function_runs The regenerated GetMarketplaceFunctionRuns reference carries function_id (one of functionId / triggerId / taskId) and the run row carries status, correlation_id, has_details, trigger_id and task_id. New sync and async tests pin the exact query (functionId, limit) and no body. docs/hub/code.md: the query row names functionId; "Marketplace function runs and their details" shows the two-call pattern (hub.logs.get_logs_by_correlation_id, targetCorrelationId). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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/hub/test_code.py).**requestkeywords, not a typed request; docs/hub/code.md shows the two-call pattern (hub.logs.get_logs_by_correlation_id(targetCorrelationId=…)).Tests
uv run pytest1103 passed (+2, sync + async); ruff check and mypy clean.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