Problem
Ad-hoc web builds appear to serve stale artifacts across successive builds on the same PR.
Steps that reproduce it on Expensify/App#95631:
- Trigger an ad-hoc build (v1).
- Push a few more commits to the PR.
- Trigger another ad-hoc build (v2).
Expected: v2 reflects the newest commits.
Actual: v2 still shows the code/changes from v1 — the new commits are not visible. Something appears to be cached where it shouldn't be.
Using the "Force a full native build, bypassing Rock remote cache" option does not help — the stale output persists.
Notes
- This looks related to the ad-hoc build / Rock caching behavior previously seen in Expensify/App#81466 ("Ad-hoc builds sometimes have the completely wrong code"), where the workflow relied on Rock's fingerprint to identify build artifacts and hit cache collisions. That issue was closed, but the symptom here (v2 serving v1's code, and the force-full-build toggle not helping) suggests the web ad-hoc path may still have a caching problem.
Reported in Slack by mjasikowski.
Problem
Ad-hoc web builds appear to serve stale artifacts across successive builds on the same PR.
Steps that reproduce it on Expensify/App#95631:
Expected: v2 reflects the newest commits.
Actual: v2 still shows the code/changes from v1 — the new commits are not visible. Something appears to be cached where it shouldn't be.
Using the "Force a full native build, bypassing Rock remote cache" option does not help — the stale output persists.
Notes
Reported in Slack by
mjasikowski.