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

fix: JUnit processing for large files #5879

Merged
merged 15 commits into from
Oct 3, 2024

Conversation

devcatalin
Copy link
Member

@devcatalin devcatalin commented Sep 30, 2024

Pull request description

Checklist (choose whats happened)

  • breaking change! (describe)
  • tested locally
  • tested on cluster
  • added new dependencies
  • updated the docs
  • added a test

Breaking changes

Changes

Fixes

@devcatalin devcatalin requested a review from a team as a code owner September 30, 2024 09:47
Copy link
Member

@rangoo94 rangoo94 left a comment

Choose a reason for hiding this comment

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

Seems like there are some debugging logs for removal, unnecessary memory storage for (big) files check

cmd/testworkflow-toolkit/artifacts/walker.go Outdated Show resolved Hide resolved
cmd/testworkflow-toolkit/artifacts/walker.go Outdated Show resolved Hide resolved
cmd/testworkflow-toolkit/commands/artifacts.go Outdated Show resolved Hide resolved
@devcatalin devcatalin requested a review from rangoo94 October 2, 2024 13:07
Comment on lines -82 to -85
// Apply path prefix correctly
if p.pathPrefix != "" {
path = filepath.Join(p.pathPrefix, path)
}
Copy link
Member Author

Choose a reason for hiding this comment

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

This is not needed because in the above Add we already to the same:

uploadPath := path
if p.pathPrefix != "" {
    uploadPath = filepath.Join(p.pathPrefix, uploadPath)
}

@devcatalin devcatalin merged commit bdd483a into main Oct 3, 2024
35 checks passed
@devcatalin devcatalin deleted the sandbox/fix-processing-large-junit-files branch October 3, 2024 08: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.

3 participants