Skip to content

viur cloud deploy app sometimes fails on first call [viur-cli 3.0.0.beta1] #203

@phorward

Description

@phorward

With the first day's run of viur cloud deploy app on my project, I get this error:

$ uv run viur cloud deploy app 
ERROR: Error parsing uv-secure output: Extra data: line 309 column 1 (char 48240)
ERROR: Raw output: b'{\n  "scan_time": "2026-01-14T11:11:18.376116332+00:00",\n  "total_packages": 113,\n  "vulnerable_packages": 4,\n  "total_vulnerabilities": 10,\n  "vulnerabilities": [\n    {\n      "id": "GHSA-w853-jp5j-5j7f",\n      "package_name": "filelock",\n      "installed_version": "3.20.0",\n      "severity": "Medium",\n      "summary": "### Impact\\n\\nA Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulnerability exi'

============================================================
No npm builds found in config - skipping npm audit
============================================================
✔ No vulnerabilities found.
Would you like to regenerate deploy/requirements.txt? [y/N]: 

After then, I imediatelly call the same command again, and it works as expected:

$ uv run viur cloud deploy app 

============================================================
Python Security Scan Results
============================================================
Scan Time:              11:12:23
Total Packages:         113
Vulnerable Packages:    4
Total Vulnerabilities:  10
============================================================

Found Python Vulnerabilities:

1. Package: filelock
   Installed Version: 3.20.0
   Severity: Medium
   Fixed in: 3.20.1

.
.
.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions