skylos icon indicating copy to clipboard operation
skylos copied to clipboard

Worker parse failure on Vue Single File Components (.vue)

Open andreafinazziinfo opened this issue 2 months ago • 3 comments

Describe the bug When running skylos on a fullstack repository containing Vue Single File Components (.vue), the static analysis worker fails with Static analysis worker returned no result instead of either extracting and parsing the <script> block or gracefully skipping .vue files.

To Reproduce

pip install skylos
skylos . -a
# Inside a repository containing Vue 3 .vue files

Expected behavior Either:

  1. Extract and analyze the TypeScript/JavaScript within <script> or <script setup> blocks (standard SFC behavior), OR
  2. Gracefully skip .vue files without worker failures during the scan loop.

Actual behavior The worker raises an error: Static analysis worker returned no result

Environment

  • OS: Ubuntu 22.04 (WSL2 / Linux)
  • Python version: 3.12
  • Skylos version: 4.35.0

Additional context Workaround currently requires manually passing --exclude frontend or --file-filter "\.py$" when scanning multi-language repositories.

andreafinazziinfo avatar Sep 07 '26 16:09 andreafinazziinfo

Added a fix in #815 for the error when .vue files are passed. Its now skipped. Verified on Linux/Python 3.12. Couldn’t reproduce the skylos . -a directory scan failure though.. and I have not tested on WSL2.

Could you share a small repo that triggers it? Keeping this open until we confirm that part too.

duriantaco avatar Sep 08 '26 01:09 duriantaco

Hi @andreafinazziinfo, just circling back, are you able to share the small repo that triggers the error you faced?

duriantaco avatar Sep 12 '26 02:09 duriantaco

Hi will be closing this issue because its been a week .. Feel free to reopen it anytime

duriantaco avatar Sep 14 '26 00:09 duriantaco