microsoft / microsoft/WSL

Support for sparse files in LxFS (flow type checker fails)

Open
#1,732 13 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

  • A brief description
    I downloaded 0.40.0 version from its repository and tried to run it.

  • Expected results
    Flow checking my files.

  • Actual results (with terminal output if applicable)

Launching Flow server for /mnt/c/projects/jstraining
Spawned flow server (pid=34)
Logs will go to /tmp/flow/zSmntzSczSprojectszSjstraining.log
Error: Failed to start server. exited prematurely with code 2.
Could not start Flow server!
  • Your Windows build number
    15042
  • Steps / All commands required to reproduce the error from a brand new installation
  1. download the flow binary from github repo
  2. chmod 755 flow
  3. touch .flowconfig
  4. ./flow
  • Strace of the failing command
    strace flow.zip
  • Required packages and commands to install
    Flow 0.40.0

Edit: attached strace files. Also found flow works fine on another machine which has way more disk space available. Considering reinstalling subsystem now.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with Flow 0.40.0, an empty .flowconfig, and ./flow on Windows build 15042. Read the attached strace and compare the behavior on the machine where Flow works. Done means the Flow server starts successfully when the binary and project are on LxFS.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.