Skip to content

Commit

Permalink
reset partial flow counters across flows-to-mark
Browse files Browse the repository at this point in the history
Summary: Noticed that we weren't resetting these properly.

Reviewed By: marat-turaev

Differential Revision: D63333668

fbshipit-source-id: 2a89b247d5e6cc4409ff2c7285730e6cdaa633e7
  • Loading branch information
Sinan Cepel authored and facebook-github-bot committed Sep 25, 2024
1 parent 44a118f commit ad04a19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sapp/pipeline/mark_partial_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ def run(self, input: TraceGraph, summary: Summary) -> tuple[TraceGraph, Summary]
graph, full_issues, partial_flow_to_mark
)
log.info(f"Built full flow context for {len(full_issues)} issues.")
self.partial_flow_features_added = 0
self.partial_flow_frames = 0
self._mark_partial_flows(
graph, partial_issues, partial_flow_to_mark.feature, context
)
Expand Down

0 comments on commit ad04a19

Please sign in to comment.