-
Notifications
You must be signed in to change notification settings - Fork 511
feat: highlight unexpected state in AD dashboard #8738
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
feat: highlight unexpected state in AD dashboard #8738
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8738 +/- ##
==========================================
- Coverage 88.88% 88.81% -0.07%
==========================================
Files 312 314 +2
Lines 40891 41252 +361
==========================================
+ Hits 36345 36637 +292
- Misses 4546 4615 +69 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good - a couple of minor changes suggested
return not ( | ||
(draft_iesg_state and draft_iesg_state.slug == "idexists") | ||
or (draft_stream_state and draft_stream_state.slug == "sub-pub") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still a bit of a logic puzzle for future readers. I suggest this as a clearer way to state it:
return draft_iesg_state.slug != "idexists" and draft_stream_state is not None and draft_stream_state.slug != "sub-pub"
+/- black formatting
@@ -14,12 +14,15 @@ | |||
ConflictReviewFactory, | |||
BofreqFactory, | |||
StatementFactory, | |||
DocumentFactory, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should use WgDraftFactory rather than the bare DocumentFactory - it doesn't make sense to test this against non-ietf-stream documents.
Fixes #8550