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

Escape SLA status text for compatibility with notification services s… #472

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

samanhappy
Copy link
Collaborator

As mentioned in issue #468 , when sending SLA notifications, the Lark notification service will generate the following response:

code [9499] - msg [Bad Request])

This is because the SLAStatusText content contains \t which is not compatible with Lark.

This PR is a quick fix, the best way is to define content struct as demonstrated in PR #469, which needs a complete refactor and testing work.

@codecov-commenter
Copy link

codecov-commenter commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dcd5dd5) 98.99% compared to head (db43344) 99.09%.
Report is 1 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #472      +/-   ##
==========================================
+ Coverage   98.99%   99.09%   +0.09%     
==========================================
  Files          85       83       -2     
  Lines        5844     5825      -19     
==========================================
- Hits         5785     5772      -13     
+ Misses         44       40       -4     
+ Partials       15       13       -2     

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

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