Commit f90efac
authored
The warmer computed its cache key with hashFiles('**/poetry.lock') AFTER
setup-poetry ran `poetry lock`, which rewrites poetry.lock in place. The PR
jobs' restore-deps hashes the PRISTINE committed poetry.lock (it runs before
setup-poetry). The two hashes therefore never matched — a fork PR looked up
e.g. forkvenv-...-46e4852b... while the warmer had saved forkvenv-...-143cf261...
so every fork restore missed and fell back to the JFrog path (which forks
can't auth to), failing all jobs.
Capture the pristine lock hash in a step BEFORE setup-poetry and use that for
the cache key, matching what restore-deps computes. Found via the fork
verification PR #849 (all Unit Tests legs missed the cache).
Refs #831
Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
1 parent 54e479c commit f90efac
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
132 | 144 | | |
133 | 145 | | |
134 | 146 | | |
| |||
186 | 198 | | |
187 | 199 | | |
188 | 200 | | |
189 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
190 | 204 | | |
191 | 205 | | |
192 | 206 | | |
| |||
0 commit comments