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

Ane 1425 maven analysis hanging #1381

Merged
merged 13 commits into from
Feb 15, 2024
Merged

Conversation

JeffreyHuynh1
Copy link
Contributor

@JeffreyHuynh1 JeffreyHuynh1 commented Feb 15, 2024

Overview

Maven analysis continues to run without ever stopping

Acceptance criteria

Ensure that maven analysis does not run forever.

Testing plan

Added a test case to include a cyclic graph in GraphingSpec.hs

Risks

Metrics

References

Checklist

  • I added tests for this PR's change (or explained in the PR description why tests don't make sense).
  • If this PR introduced a user-visible change, I added documentation into docs/.
  • If this PR added docs, I added links as appropriate to the user manual's ToC in docs/README.ms and gave consideration to how discoverable or not my documentation is.
  • If this change is externally visible, I updated Changelog.md. If this PR did not mark a release, I added my changes into an # Unreleased section at the top.
  • If I made changes to .fossa.yml or fossa-deps.{json.yml}, I updated docs/references/files/*.schema.json AND I have updated example files used by fossa init command. You may also need to update these if you have added/removed new dependency type (e.g. pip) or analysis target type (e.g. poetry).
  • If I made changes to a subcommand's options, I updated docs/references/subcommands/<subcommand>.md.

@JeffreyHuynh1 JeffreyHuynh1 marked this pull request as ready for review February 15, 2024 01:11
@JeffreyHuynh1 JeffreyHuynh1 requested a review from a team as a code owner February 15, 2024 01:11
Copy link
Contributor

@csasarak csasarak left a comment

Choose a reason for hiding this comment

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

This is a great improvement. If you address my questions I can approve.

Copy link
Contributor

@csasarak csasarak left a comment

Choose a reason for hiding this comment

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

Looks good!

@@ -28,6 +28,75 @@ data MavenDependency = MavenDependency
mavenDependencyToDependency :: MavenDependency -> Dependency
mavenDependencyToDependency MavenDependency{..} = dependency

-- | Filter all submodules (including their dependencies) that are not in `includedSubmoduleSet`.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is really well written and makes the why and how really clear!

@JeffreyHuynh1 JeffreyHuynh1 merged commit 11f575b into master Feb 15, 2024
16 checks passed
@JeffreyHuynh1 JeffreyHuynh1 deleted the ANE-1425-Maven-Analysis-Hanging branch February 15, 2024 21:34
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