From d32af7c6321ecf47f0c4851105790465daac44f5 Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Tue, 28 Jul 2026 13:25:17 +0200 Subject: [PATCH 1/3] fix: web ad-hoc builds serving stale code --- .github/workflows/buildAdHoc.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/buildAdHoc.yml b/.github/workflows/buildAdHoc.yml index 83a8da1a47ee..b31338d08efd 100644 --- a/.github/workflows/buildAdHoc.yml +++ b/.github/workflows/buildAdHoc.yml @@ -131,7 +131,21 @@ jobs: aws-region: us-east-1 - name: Deploy to S3 - run: aws s3 cp --recursive --acl public-read dist s3://ad-hoc-expensify-cash/web/${{ inputs.APP_PR_NUMBER }} + run: | + BUCKET="s3://ad-hoc-expensify-cash/web/${{ inputs.APP_PR_NUMBER }}" + + aws s3 sync dist "$BUCKET" --delete --acl public-read \ + --exclude "index.html" \ + --exclude "service-worker.js" \ + --exclude "workbox-*.js" \ + --cache-control "public,max-age=31536000,immutable" + + aws s3 sync dist "$BUCKET" --acl public-read \ + --exclude "*" \ + --include "index.html" \ + --include "service-worker.js" \ + --include "workbox-*.js" \ + --cache-control "no-cache,no-store,must-revalidate" postGithubComment: runs-on: blacksmith-4vcpu-ubuntu-2404 From a52d86d1bcf4eaa749520ac1bd3b5db242b25ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Jasikowski?= Date: Mon, 3 Aug 2026 11:54:17 +0200 Subject: [PATCH 2/3] Change success color for ad-hoc build cache test Trivial, visible UI change to verify ad-hoc builds pick up new commits. Related to #97110. --- src/styles/theme/themes/light.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/theme/themes/light.ts b/src/styles/theme/themes/light.ts index f9685e8898b5..519cff0a98a6 100644 --- a/src/styles/theme/themes/light.ts +++ b/src/styles/theme/themes/light.ts @@ -39,7 +39,7 @@ const lightTheme = { dangerHover: colors.redHover, dangerPressed: colors.redHover, warning: colors.yellow400, - success: colors.green400, + success: colors.blue400, successHover: colors.greenHover, successPressed: colors.greenPressed, transparent: colors.transparent, From f57181acaf721982c550a54849f8b4e7caa99df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Jasikowski?= Date: Mon, 3 Aug 2026 13:09:57 +0200 Subject: [PATCH 3/3] v2: swap success color to pink for cache test --- src/styles/theme/themes/light.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/theme/themes/light.ts b/src/styles/theme/themes/light.ts index 519cff0a98a6..4235ce0322cd 100644 --- a/src/styles/theme/themes/light.ts +++ b/src/styles/theme/themes/light.ts @@ -39,7 +39,7 @@ const lightTheme = { dangerHover: colors.redHover, dangerPressed: colors.redHover, warning: colors.yellow400, - success: colors.blue400, + success: colors.pink400, successHover: colors.greenHover, successPressed: colors.greenPressed, transparent: colors.transparent,