Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复 notify 的bug #2405

Merged
merged 4 commits into from
Nov 23, 2023
Merged

修复 notify 的bug #2405

merged 4 commits into from
Nov 23, 2023

Conversation

LeoQuote
Copy link
Collaborator

  • notify_for_execute 之前没有正确设置 event type, 导致逻辑错误
  • 有些推送的 send 方法会需要 audit 对象, 所以在初始化对象时尝试获取一下 audit 对象
  • 把根据 workflow 取 audit 对象的方法挪到 model 层

* notify_for_execute 之前没有正确设置 event type, 导致逻辑错误
* 有些推送的 send 方法会需要 audit 对象, 所以在初始化对象时尝试获取一下 audit 对象
* 把根据 workflow 取 audit 对象的方法挪到 model 层
Copy link

codecov bot commented Nov 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (64e5dbe) 76.32% compared to head (66b6e5a) 76.34%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2405      +/-   ##
==========================================
+ Coverage   76.32%   76.34%   +0.02%     
==========================================
  Files         115      115              
  Lines       15837    15852      +15     
==========================================
+ Hits        12087    12103      +16     
+ Misses       3750     3749       -1     

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

@LeoQuote LeoQuote merged commit 5fd57db into hhyo:master Nov 23, 2023
10 checks passed
@LeoQuote LeoQuote deleted the fix_notify_error branch November 23, 2023 10:45
finovy pushed a commit to finovy/Archery that referenced this pull request Dec 1, 2023
* 修复 notify 的bug

* notify_for_execute 之前没有正确设置 event type, 导致逻辑错误
* 有些推送的 send 方法会需要 audit 对象, 所以在初始化对象时尝试获取一下 audit 对象
* 把根据 workflow 取 audit 对象的方法挪到 model 层

* 增加一行覆盖

* f

* f
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.

1 participant