You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Surface Flow task report on Task API (#2288)
## Description
- Adds the structured execution `report` (already produced by Flow) to
the rack Task endpoints.
- Single-task `GET /rack/task/{id}` and `POST /rack/task/{id}/cancel`
always include the report. The two list endpoints (`/rack/{id}/task`,
`/tray/{id}/task`) take a new `withReport=true` opt-in.
- `IncludeReport` is plumbed all the way down to
`flow.ListTasksRequest`, so Flow drops the multi-KB blob server-side
when the caller hasn't asked for it; the savings cover the full Temporal
workflow / activity payload chain, not just the wire response.
## Type of Change
<!-- Check one that best describes this PR -->
- [x] **Add** - New feature or capability
- [ ] **Change** - Changes in existing functionality
- [ ] **Fix** - Bug fixes
- [ ] **Remove** - Removed features or deprecated functionality
- [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.)
## Related Issues (Optional)
<!-- If applicable, provide GitHub Issue. -->
## Breaking Changes
- [ ] This PR contains breaking changes
<!-- If checked above, describe the breaking changes and migration steps
-->
## Testing
<!-- How was this tested? Check all that apply -->
- [x] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing performed
- [ ] No testing required (docs, internal refactor, etc.)
## Additional Notes
<!-- Any additional context, deployment notes, or reviewer guidance -->
---------
Signed-off-by: Kun Zhao <kunzhao@nvidia.com>
0 commit comments