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

intercom backend refactoring: make data flow comprehensible #1251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jstucke
Copy link
Collaborator

@jstucke jstucke commented Aug 27, 2024

No description provided.

@jstucke jstucke self-assigned this Aug 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2024

Codecov Report

Attention: Patch coverage is 90.80460% with 8 lines in your changes missing coverage. Please review.

Project coverage is 91.93%. Comparing base (28035d0) to head (be061ea).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/intercom/common_redis_binding.py 75.75% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1251      +/-   ##
==========================================
- Coverage   91.94%   91.93%   -0.02%     
==========================================
  Files         377      376       -1     
  Lines       22295    21029    -1266     
==========================================
- Hits        20499    19332    -1167     
+ Misses       1796     1697      -99     

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

Copy link
Collaborator

@dorpvom dorpvom left a comment

Choose a reason for hiding this comment

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

Consider questions and give me some feedback

InterComBackEndBinarySearchTask(),
InterComBackEndUpdateTask(self.analysis_service.update_analysis_of_object_and_children),
InterComBackEndDeleteFile(
self.analysis_service.update_analysis_of_object_and_children,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do I need to update_analysis_of_object_and_children if I want to delete a firmware?

self.process.start()

def shutdown(self):
self.stop_condition.value = 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess this plays into the make data flow comprehensible goal, but this does create another dozen or so file descriptors compared to sharing one stop condition over all listeners, right?

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