Skip to content

Added a flag isActive to tasks api response to show wether a task is …#2005

Merged
s3inlc merged 5 commits intodevfrom
task-isActive-backend
Mar 20, 2026
Merged

Added a flag isActive to tasks api response to show wether a task is …#2005
s3inlc merged 5 commits intodevfrom
task-isActive-backend

Conversation

@jessevz
Copy link
Contributor

@jessevz jessevz commented Mar 18, 2026

…active

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the API v2 Task resource aggregation output by adding an isActive flag to indicate whether a task currently has any active (recently dispatched/solved and incomplete) chunks.

Changes:

  • Add aggregated isActive attribute to the Task API response.
  • Attempt to reuse previously fetched task chunks to avoid duplicate chunk queries when computing other aggregated fields.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@s3inlc s3inlc merged commit b29286d into dev Mar 20, 2026
4 checks passed
@s3inlc s3inlc deleted the task-isActive-backend branch March 20, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants