Build fail when cache enabled
- Dominant language
- Java
- Stars
- 64
- Forks
- 23
- Avg merge
- 23h 57m
- Merged PRs (30d)
- 17
Description
### Configuration:
extender-frontend (2.8.5) -> extender-macos (2.8.5)
extender-frontend:
```
extender:
cache:
enabled: true
type: LOCAL
local:
basedir: "/extender/cache/data"
file-size-threshold: 65536
```
extender-macos:
```
cache:
enabled: true
type: LOCAL
local:
basedir: "/extender/cache/data"
file-size-threshold: 65536
```
### Problem
when extender macos cache is emptied after successful build, next build fail with following error
```
2025-01-29 17:14:56.847 ERROR [extender,5ae32a7dfb910214db0c791f356408d3,73134ef7f53fe0a9] 1846 --- [job11157173485277139441] com.defold.extender.Ex
tenderController : Failed to build extension: Cache object defold-spine/commonsrc/spine/Animation.c (74d2f4691f24e636f1a2500397f78b2b57cafa70a57c2
068f71417ee113277ee) was not found
```
### steps to reproduce:
1. enable cache
2. build ios app
3. stop macos extender
4. rm -rf /extender/cache/data/*
5. start macos extender
6. run build again
7. got error
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reproducing the Java extender cache sequence: enable LOCAL caching, build, delete /extender/cache/data/*, restart the macOS extender, and build again. Done means the subsequent build succeeds instead of reporting that the cached object was not found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100