Skip to content

Conversation

@kriszyp
Copy link
Member

@kriszyp kriszyp commented Jan 2, 2026

Previously the integration tests were running 4 processes to run Harper:

  1. harper install (which was failing for me, install with a rootpath is not working #68)
  2. harper start
  3. the actual harper process (launched by start)
  4. harper stop

This PR greatly simplifies the process and speeds things up by simply starting the actual harper process. And directly killing it when it is done. And it also waits for the process to start and then continues, instead of using an arbitrary delay that is likely either too fast or too slow. This also preserves the process reference in the context (in case you want to check the PID or send a signal or something).

Copy link
Member

@cap10morgan cap10morgan 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 fantastic!

@kriszyp kriszyp marked this pull request as ready for review January 5, 2026 13:10
@kriszyp kriszyp requested a review from a team as a code owner January 5, 2026 13:10
@kriszyp kriszyp merged commit 9704ad2 into main Jan 8, 2026
22 checks passed
@kriszyp kriszyp deleted the integration-tests-improvements branch January 8, 2026 04:18
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.

5 participants