Skip to content

fix drain-chain hierarchy for barrier context; convert overlap counter to tracewarning - #120

Merged
ppnaik1890 merged 1 commit into
mainfrom
drain_chain
Aug 7, 2026
Merged

fix drain-chain hierarchy for barrier context; convert overlap counter to tracewarning#120
ppnaik1890 merged 1 commit into
mainfrom
drain_chain

Conversation

@lasch

@lasch lasch commented Jul 28, 2026

Copy link
Copy Markdown
Member

Overlap detection stage did still use its own 'counter' to collect info about resolved overlaps.

This PR converts that to actual TraceWarning - streamlining warnings with the rest of the code.

In the process, I noticed that the barrier drain was cutting the chain of calling super-class drain functions and fixed that issue.
Now super.drain() is called by barrier when its drain is called during application phase.

Had to update the 'disabled output capture' test and prevent it from capturing non-critical DEBUG-level logging from TraceWarning.

…r to tracewarning

Signed-off-by: Lars Schneidenbach <schneidenbach@us.ibm.com>

@ppnaik1890 ppnaik1890 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm. just a suggestion.

Comment thread src/aiu_trace_analyzer/pipeline/overlap.py
Comment thread src/aiu_trace_analyzer/pipeline/overlap.py

@ppnaik1890 ppnaik1890 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@ppnaik1890
ppnaik1890 merged commit a4c2b7b into main Aug 7, 2026
2 checks passed
@ppnaik1890
ppnaik1890 deleted the drain_chain branch August 7, 2026 11:10
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.

2 participants