Skip to content

Extract apps_build_trigger_paths to deployment.rb#73339

Merged
davidsbailey merged 1 commit into
stagingfrom
extract-apps-build-deps
Jun 18, 2026
Merged

Extract apps_build_trigger_paths to deployment.rb#73339
davidsbailey merged 1 commit into
stagingfrom
extract-apps-build-deps

Conversation

@davidsbailey

Copy link
Copy Markdown
Member

Move apps_build_trigger_paths out of lib/rake/build.rake into deployment.rb so it can be shared. The apps S3Packaging source_locations in lib/rake/package.rake now references this single list instead of its own hard-coded [apps_dir, frontend_dir], so the paths that trigger an apps build and the paths that determine the package commit hash stay in sync.

Testing story

  • drone ensures there are no issues accessing the extracted var from lib/rake/build.rake
  • package.rake not explicitly validated, since it only runs in staging / test. however, it was previously referencing apps_dir and frontend_dir, which are also defined in deployment.rb, so it seems reasonable to assume it can now reference apps_build_trigger_paths

Deployment notes

  • keep an eye out for build failures or Generated different package for same contents warnings on staging / test

Move apps_build_trigger_paths out of lib/rake/build.rake into deployment.rb
so it can be shared. The apps S3Packaging source_locations in
lib/rake/package.rake now references this single list instead of its own
hard-coded [apps_dir, frontend_dir], so the paths that trigger an apps
build and the paths that determine the package commit hash stay in sync.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@davidsbailey davidsbailey marked this pull request as ready for review June 18, 2026 17:23
@davidsbailey davidsbailey merged commit 52aeaf0 into staging Jun 18, 2026
7 of 8 checks passed
@davidsbailey davidsbailey deleted the extract-apps-build-deps branch June 18, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants