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

Avoid printing many call graphs during testing #1294

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

liblit
Copy link
Contributor

@liblit liblit commented Jul 25, 2023

These graph dumps add hundreds of megabytes to test logs, and presumably are manually inspected approximately never. Let's turn them off. Anyone chasing a specific bug or regression can add more debug output in their local working tree, as needed, but there's no benefit to dumping all of this data on every automated test run.

Furthermore, I'm exploring an option for getting a nice test summaries after each GitHub actions workflow run. Unfortunately, the tool I am considering has some limits on the sizes CDATA sections it can read in JUnit's XML test logs. When our test logs include call graph dumps, several of them exceed these limits.

These graph dumps add hundreds of megabytes to test logs, and presumably
are manually inspected approximately never.  Let's turn them off.
Anyone chasing a specific bug or regression can add more debug output in
their local working tree, as needed, but there's no benefit to dumping
all of this data on every automated test run.

Furthermore, I'm exploring an option for getting a nice test summaries
after each GitHub actions workflow run.  Unfortunately, the tool I am
considering has some limits on the sizes `CDATA` sections it can read in
JUnit's XML test logs.  When our test logs include call graph dumps,
several of them exceed these limits.
@liblit liblit requested a review from msridhar July 25, 2023 00:46
@liblit liblit self-assigned this Jul 25, 2023
@liblit liblit marked this pull request as ready for review July 25, 2023 01:09
@liblit liblit enabled auto-merge (rebase) July 25, 2023 01:09
Copy link
Member

@msridhar msridhar left a comment

Choose a reason for hiding this comment

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

LGTM

@liblit liblit merged commit 7ac9913 into wala:master Jul 25, 2023
6 checks passed
@liblit liblit deleted the avoid-graph-dumps branch July 25, 2023 01:36
liblit added a commit to liblit/WALA that referenced this pull request Jul 25, 2023
Following up wala#1294 by removing a few more rarely examined graph dumps.
liblit added a commit that referenced this pull request Jul 25, 2023
Following up #1294 by removing a few more rarely examined graph dumps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants