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

Replace fireworm with sane #1482

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mydea
Copy link

@mydea mydea commented Nov 8, 2021

This PR replaces the pretty old fireworm dependency with sane.

The actual watching behavior was not really tested that well, so I tried to add some more tests to cover if it actually picks up changing files, and if the core configuration works as expected. I think the watching used to ignore the cwd setting (if I understood everything correctly), which it now shouldn't.

To test the file watching, I had to add a timeout to the test.. doesn't feel super nice, but I wasn't sure how else to properly test this. Happy to change this if there is a better way to do this!

Closes #1481

@RuslanZavacky
Copy link

@johanneswuerbach do you think you might have time to look into that if it is good to be merged? :)

@johanneswuerbach
Copy link
Member

Hey sorry, I've retriggered CI, which would need to be green before merging this (except the browser-tests jobs).

@mydea
Copy link
Author

mydea commented Nov 24, 2021

Hmm, interesting. I am not really sure what the issue is there - it seems to be some kind of weird (?) timing issue. Not 100% sure if it is actully an introduce "failure" or some other thing.

When trying to debug it, I for example increased the timeout here:
https://github.com/testem/testem/blob/master/tests/api_tests.js#L131

which also lead to the test failing on master as well (e.g. set it to 1000, and tests will fail). Which, if I understand the test correctly, shouldn't be the case? So I could it be it actually just shows some fundamental timing issue with the test here, maybe? But not 100% sure how all of that plays together, to be honest...!

@NullVoxPopuli
Copy link

anything that I can do to help move this along?

@gnclmorais
Copy link

@NullVoxPopuli and others, I forked @mydea’s branch, tweaked the GitHub Actions configuration a bit, and I was able to surface the following errors that we have to look into: https://github.com/gnclmorais/testem/runs/5611283650

@locks
Copy link

locks commented Aug 9, 2023

Pinging the thread in case a testem contributor has time to look at the PR 😁

@johanneswuerbach
Copy link
Member

This PR (or a new version of this) would need to be updated and tests passing, afterwards I'm happy to merge this.

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.

fireworm is pollutting logs
6 participants