Stale build cache serves outdated bot code after redeploy: Discloud build cache
0 reputation · 21 Jan 2021, 12:06 UTC
Goal
Confirm whether Discloud reuses a previously built image or dependency cache when a connected git repository is redeployed, and identify the cache-invalidation behavior that determines when the running bot executes the latest commit.
Constraints and uncertainty
Available research indicates redeploy may reuse cached artifacts instead of rebuilding from the latest commit, but the exact invalidation rule, TTL, or manual-clear procedure is not confirmed. Behavior may vary by runtime, plan tier, or region, and no specific error string has been verified.
Questions
- Does a standard redeploy after a new git push force a clean rebuild, or can it reuse a stale cache?
- What invalidates the Discloud build cache, and is there a supported manual-clear option?
- Can a deployment be confirmed to use the latest commit rather than cached artifacts?