Skip to content

Conversation

giordano
Copy link
Collaborator

@giordano giordano commented Oct 8, 2025

Mainly written by Cursor, with a revision by me.

@giordano giordano requested a review from vchuravy October 8, 2025 20:00
@giordano giordano added the documentation Improvements or additions to documentation label Oct 8, 2025
Comment on lines 223 to 231
## Behavior
- Automatically discovers all `.jl` files in the test directory (excluding `setup.jl` and `runtests.jl`)
- Sorts tests by file size (largest first) for optimal load balancing
- Launches worker processes with appropriate Julia flags for testing
- Monitors memory usage and recycles workers that exceed memory limits
- Provides real-time progress output with timing and memory statistics
- Handles interruptions gracefully (Ctrl+C)
- Returns nothing, but throws `Test.FallbackTestSetException` if any tests fail
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't know if this is too much information, but I think it's cool to know what it does.

- Automatically discovers all `.jl` files in the test directory (excluding `setup.jl` and `runtests.jl`)
- Sorts tests by file size (largest first) for optimal load balancing
- Launches worker processes with appropriate Julia flags for testing
- Monitors memory usage and recycles workers that exceed memory limits
Copy link
Member

Choose a reason for hiding this comment

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

We should use the environment flag from Julia Base here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Uhm, this is a suggestion about the implementation, not the docstring, right?

@vchuravy vchuravy merged commit 9106148 into main Oct 9, 2025
@vchuravy vchuravy deleted the mg/runtests-docs branch October 9, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants