update-chrome-binaries-test-region
Installation
SKILL.md
Update Chrome Binaries Test Region
AWS setup
- Confirm the AWS CLI is logged into account
678892195805by runningaws sts get-caller-identity. If not, ask the user to log in. - Export AWS credentials into the shell by running
eval "$(aws configure export-credentials --format env)". The Lambda client checks forAWS_ACCESS_KEY_IDand does not pick up SSO or Identity Center credentials on its own. - From
packages/lambda, runbun src/admin/make-layer-public.ts --region=eu-central-1to publish all 5 layers: fonts, chromium, emoji-apple, emoji-google, cjk. - The
evaland thebuncommand must run in the same shell invocation because the env vars do not persist across shell calls. - Verify the output prints a
LayerArnandVersionfor each of the 5 layers and a final JSON dump with the published regions populated.
Update hosted layers
Update packages/lambda/src/shared/hosted-layers.ts by copying the JSON dump from the script's stdout. Do not manually bump version numbers.
The script prints, after several blank lines, a complete HostedLayers object showing the exact layerArn and version AWS returned for every layer it just published. Replace the corresponding region entries in hosted-layers.ts with those values.
For the test phase (--region=eu-central-1), only eu-central-1 is updated; other regions intentionally stay on their old versions until rollout. If the script was invoked with --skip=<region>, leave skipped regions untouched.