tools icon indicating copy to clipboard operation
tools copied to clipboard

🐛 Connection dies while running `rome check`

Open iaravindreddyp opened this issue 6 years ago • 10 comments

Environment

$ rome check

Steps To Reproduce

1.rome init in a local project 2.rome check one running lint it is trying to analyze a file in node_modules and it ends saying connection died Screenshot 2020-08-09 at 11 22 05 AM

and also the ignore pattern configuration for lint doesn't seem to work

Expected Results

iaravindreddyp avatar Aug 09 '20 05:08 iaravindreddyp

it happens even when i fork rome and run ./rome ci. Screenshot 2020-08-09 at 12 59 35 PM

iaravindreddyp avatar Aug 09 '20 07:08 iaravindreddyp

If this is happening for you even in the Rome repo it may be a system-dependent issue.

@aravind1078 Please run rome rage --summary and paste the output here.

kyle1320 avatar Aug 09 '20 15:08 kyle1320

So yeah when i closed my vscode and tried it worked and it occurred again after running few commands @kyle1320 it is occurring intermittently so am not sure i will try to get rage output if it occurs again

iaravindreddyp avatar Aug 10 '20 01:08 iaravindreddyp

Is there anything above where you've taken the screenshots? If you're running the VSCode extension then the CLI could be connecting to the server that's attached there.

sebmck avatar Aug 11 '20 04:08 sebmck

am not sure @sebmck and I did not install the Rome vscode extension. this one seems to be occurring intermittently in my local and mostly it fails in parsing some file in node_modules and it just waits for few secs before the connection dies. I will try to get a full screenshot if possible.

iaravindreddyp avatar Aug 11 '20 08:08 iaravindreddyp

@sebmck here is complete error with latest code rome_error romeerr1 romeerr2

iaravindreddyp avatar Aug 13 '20 07:08 iaravindreddyp

I'm having exactly the same issue, Connection died after some Process unexpectedly exit on rome check. This is the output of rome rage --summary:

Environment Variables
  Object {
    COLORTERM: "truecolor"
    LANG: "en_US.UTF-8"
    TERM: "xterm-256color"
    TERM_PROGRAM: "vscode"
  }

User Config
  unset

Rome Version
  10.0.4-beta

Node Version
  12.16.3

Platform
  linux x64 5.7.9-1-MANJARO

Terminal Features
  Object {
    background: "unknown"
    colorDepth: 24
    columns: 183
    cursor: true
    hyperlinks: true
    isTTY: true
    unicode: true
  }

Client Flags
  Object {
    clientName: "cli"
    cwd: "/home/projects/pp-backend"
    realCwd: "/home/projects/pp-backend"
    silent: false
  }

Server Status
  Object {
    projects: Array [
      Object {id: 0}
      Object {id: 1}
    ]
    server: Object {
      heapTotal: 56_037_376
      pid: 75_040
      uptime: 1.10978598
    }
    workers: Array [
      Object {
        astCacheSize: 0
        heapTotal: 56_037_376
        ownedBytes: 0
        ownedFileCount: 0
        pid: 75_040
        uptime: 1.109617216
      }
    ]
  }

matiaschileno avatar Aug 13 '20 20:08 matiaschileno

I don't think this is an issue anymore after #1054 since we are no longer using separate processes for workers. I'll leave this open so we can confirm for the next release.

sebmck avatar Aug 15 '20 22:08 sebmck

@iaravindreddyp are you able to test and see if the issue is still present?

ematipico avatar Mar 15 '21 17:03 ematipico

Closing due to no responses.

ematipico avatar Jun 25 '21 11:06 ematipico