Skip to content

Conversation

@jjppp
Copy link
Member

@jjppp jjppp commented Nov 4, 2025

This PR aims to resolve #186 by

  1. Collect relevant information including classPath, appClassPath, inputClasses, and outputDir. By default, the options.yml and tai-e.log are included in the outputDir.
  2. Zip them into a zip file package.zip under four different subdirectories.

There's a few things left to be discussed, making this PR a draft that is not ready for merge, including (but not limited to):

  1. The package.zip is created at the working directory by default, should we provide options to change its location?
  2. If -pp is used, should we also pack jvm classes from the system jvm class path?
  3. The classes in the packed file package.zip might not reflect the original directory structure in the reproter's device, maybe tests should be made to check the reproducibility of the produced package.

…enient issue reporting. Currently we consider `classPath`, `appClassPath`, `inputClasses`, and `outputDir`.
@codecov
Copy link

codecov bot commented Nov 4, 2025

Codecov Report

❌ Patch coverage is 2.22222% with 44 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.60%. Comparing base (e7489dc) to head (d5241fb).

Files with missing lines Patch % Lines
src/main/java/pascal/taie/util/IssuePackager.java 0.00% 42 Missing ⚠️
src/main/java/pascal/taie/Main.java 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #210      +/-   ##
============================================
- Coverage     75.81%   75.60%   -0.22%     
  Complexity     4657     4657              
============================================
  Files           481      482       +1     
  Lines         16070    16115      +45     
  Branches       2199     2203       +4     
============================================
  Hits          12184    12184              
- Misses         3019     3062      +43     
- Partials        867      869       +2     
Files with missing lines Coverage Δ
src/main/java/pascal/taie/config/Options.java 73.07% <100.00%> (+0.26%) ⬆️
src/main/java/pascal/taie/Main.java 76.71% <0.00%> (-2.17%) ⬇️
src/main/java/pascal/taie/util/IssuePackager.java 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Diagnostic Package Generation for Issue Reporting

1 participant