Commit 8e6b796
deployment: prewarm Cairo 1 compile cache in node_setup image (#14221)
sequencer_node_setup compiles its feature contracts on demand (the committed
Cairo 1 artifacts were removed), but the slim runtime image had neither the
compiler inputs nor a compiler, so it panicked on a missing allowed_libfuncs.json.
Pre-warm the compilation cache in the builder stage (where the full source tree
and toolchain exist) and copy target/blockifier_test_artifacts plus
allowed_libfuncs.json into the final image, so the runtime hits the cache and
needs no compiler.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2a24e6b commit 8e6b796
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
23 | 36 | | |
24 | 37 | | |
25 | 38 | | |
26 | 39 | | |
27 | 40 | | |
28 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
29 | 47 | | |
30 | 48 | | |
31 | 49 | | |
| |||
0 commit comments