Skip to content

fix: add mandatory agent check for agent actions#3151

Draft
aerodeval wants to merge 3 commits intofrappe:developfrom
aerodeval:fix/agent-assign-bug
Draft

fix: add mandatory agent check for agent actions#3151
aerodeval wants to merge 3 commits intofrappe:developfrom
aerodeval:fix/agent-assign-bug

Conversation

@aerodeval
Copy link
Copy Markdown
Contributor

Add check to assign agent function when an agent is being assigned to a ticket

@aerodeval aerodeval marked this pull request as ready for review March 29, 2026 20:41
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.09%. Comparing base (16abb01) to head (afcd46a).
⚠️ Report is 115 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3151      +/-   ##
===========================================
- Coverage    57.11%   57.09%   -0.02%     
===========================================
  Files          128      128              
  Lines         6102     6109       +7     
===========================================
+ Hits          3485     3488       +3     
- Misses        2617     2621       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aerodeval aerodeval changed the title fix: add agent check while assigning fix: add mandatory agent check for agent actions Mar 29, 2026

def set_raised_by(self):
self.raised_by = self.raised_by or frappe.session.user
self.raised_by = self.raised_by if is_agent() else frappe.session.user
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why?

@aerodeval aerodeval marked this pull request as draft April 10, 2026 12:59
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