Skip to content

Add TaskFeedbackResponse model and integrate feedback retrieval - #70

Merged
iamrajeshk merged 4 commits into
developfrom
bugfix-4084-add_feedback
Aug 5, 2026
Merged

Add TaskFeedbackResponse model and integrate feedback retrieval#70
iamrajeshk merged 4 commits into
developfrom
bugfix-4084-add_feedback

Conversation

@iamrajeshk

Copy link
Copy Markdown
Contributor

This pull request adds support for including task feedback details in the TaskResponse API response. The main changes introduce a new TaskFeedbackResponse model, update the data transfer objects (DTOs) and repository logic to fetch and return feedback for each task, and ensure user display names are included with feedback entries.

Task feedback integration:

  • Added a new TaskFeedbackResponse model to represent individual feedback entries, including fields for reason category, notes, creation time, and author information. (api/src/tasking/tasks/dtos.py)
  • Updated the TaskResponse DTO to include an optional list of TaskFeedbackResponse objects under the new feedback field. (api/src/tasking/tasks/dtos.py)
  • In the repository layer, updated the _to_task_response method to query for related feedback entries for each task, populate the feedback field, and include the display name of the feedback author. (api/src/tasking/tasks/repository.py) [1] [2]

Type and import updates:

  • Updated type hints and imports to support the new feedback model and list typing. (api/src/tasking/tasks/repository.py) [1] [2]

@iamrajeshk
iamrajeshk requested review from MashB and susrisha August 5, 2026 10:20
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 83582bba-ed6e-4870-909d-13107b4f2723

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@iamrajeshk
iamrajeshk merged commit 86bdf71 into develop Aug 5, 2026
2 checks passed
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.

2 participants