Worker parse failure on Vue Single File Components (.vue)
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:
- Extract and analyze the TypeScript/JavaScript within
<script>or<script setup>blocks (standard SFC behavior), OR - Gracefully skip
.vuefiles 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.
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.
Hi @andreafinazziinfo, just circling back, are you able to share the small repo that triggers the error you faced?
Hi will be closing this issue because its been a week .. Feel free to reopen it anytime