You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Global cache.tasks enabled? (default: true, or true via --cache)
148
+
│ ├─ NO → NOT CACHED
149
+
│ └─ YES
150
+
│ │
151
+
│ Per-task cache set to false?
152
+
│ ├─ YES → NOT CACHED (--cache does NOT override this)
153
+
│ └─ NO or not set → CACHED <----- this is the default for tasks
154
+
│
155
+
└─ NO (script) ─────────────────────────────────────────
154
156
│
155
-
└─ NO (script) ─────────────────────────────────────────
156
-
│
157
-
Global cache.scripts enabled? (default: false, or true via --cache)
158
-
├─ YES → CACHED
159
-
└─ NO → NOT CACHED <----- this is the default for scripts
157
+
Global cache.scripts enabled? (default: false, or true via --cache)
158
+
├─ YES → CACHED
159
+
└─ NO → NOT CACHED <----- this is the default for scripts
160
160
```
161
161
162
162
In short: **tasks are cached by default, scripts are not.**`--no-cache` turns off caching for everything. `--cache` is equivalent to `cache: true` — it enables both `cache.tasks` and `cache.scripts`, but cannot override a task's per-task `cache: false`.
0 commit comments