pytest-dev / pytest-dev/pytest-xdist
Make looponfail support `listen` to forward inotify over virtualbox
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 287
- Avg merge
- 9h 30m
- Merged PRs (30d)
- 2
Description
When using virtualbox (using vboxsf filesystem, or NFS, or ...) there's no way to forward filesystem events from the host to the guest. So filesystem events like inotify don't work, and hence xdist looponfail doesn't work.
A clever solution is to run listen on the host and forward the events to the guest over TCP. The caveat is that the application needs to know how to interpret the events. Guard does this for rails development:
http://jamie.ideasasylum.com/2014/02/efficiently-using-guard-vagrant-rails-development/
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the xdist looponfail implementation and the listen tool's event-forwarding behavior described in the issue. Determine how host-side filesystem events could travel over TCP and how looponfail would interpret them in a VirtualBox guest. Done means looponfail responds correctly to forwarded events, with coverage for the supported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100