Skip to content

Web ad-hoc builds serve stale code (v2 shows v1's changes) #97110

Description

@melvin-bot

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:

  1. Trigger an ad-hoc build (v1).
  2. Push a few more commits to the PR.
  3. 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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions