Skip to content

add callback methods for task updates/decomposition#1127

Merged
LuoPengcheng12138 merged 3 commits intomainfrom
feat/add-callback-for-task-update/decomposition
Feb 3, 2026
Merged

add callback methods for task updates/decomposition#1127
LuoPengcheng12138 merged 3 commits intomainfrom
feat/add-callback-for-task-update/decomposition

Conversation

@LuoPengcheng12138
Copy link
Copy Markdown
Contributor

@LuoPengcheng12138 LuoPengcheng12138 commented Feb 2, 2026

Description

Implement log_task_updated and log_task_decomposed in backend/app/utils/telemetry/workforce_metrics.py to mirror existing event handlers. These methods should be no‑ops when telemetry is disabled and otherwise create spans with task/project metadata. Add unit tests to cover both methods and ensure they don’t regress.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Copy link
Copy Markdown
Collaborator

@bytecii bytecii left a comment

Choose a reason for hiding this comment

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

Thanks!

Comment thread backend/app/utils/telemetry/workforce_metrics.py Outdated
@LuoPengcheng12138 LuoPengcheng12138 merged commit 649bdc6 into main Feb 3, 2026
6 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.

[Feature Request] Add missing WorkforceMetricsCallback methods for task updates/decomposition

2 participants