Commit 9f7ccfa
fix(e2e): use --active to skip per-project venv sync in provisioner (#329)
* fix(e2e): use --active to skip per-project venv sync in provisioner
uv run without --active creates a project-specific venv from the temp
dir's pyproject.toml, which contains runpod-flash @ git+https://...
The private repo fetch fails on CI runners that have no git credentials.
The outer CI venv (uv sync --all-groups) already has the correct flash
version installed, so --active uses it directly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(e2e): use --no-project to skip pyproject.toml sync in provisioner
--active was not sufficient: uv still reads the pyproject.toml and tries
to sync the git dep into the active env, hitting the same auth wall.
--no-project skips project discovery entirely so uv uses the outer CI
venv (which already has the correct flash installed) without touching
the private git dep.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(e2e): apply --no-project to all uv run flash calls in test files
Same fix as provisioner.py: all deploy/undeploy calls in test files run
in temp dirs with a pyproject.toml that references the private git dep,
causing uv to attempt an authenticated fetch before executing the command.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* style: ruff format test_cpu_smoke and test_gpu_smoke
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(e2e): inject extra_deps via --with and fix LOG_LEVEL for rolling release
provisioner.py: --no-project skips the temp project venv, so extra_deps
(numpy, pandas) aren't installed when flash validates the worker import.
Pass each extra dep as --with <dep> so uv injects them into the run env.
test_rolling_release.py: the "updating endpoint" check reads from
log.debug() in serverless.py. LOG_LEVEL=INFO silences it; switch to DEBUG.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 81f66df commit 9f7ccfa
5 files changed
Lines changed: 33 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | | - | |
| 109 | + | |
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
75 | 83 | | |
76 | 84 | | |
77 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments