Skip to content

relocate format_batch_with_env.sh into infrastructure/#3587

Open
davidsmejia wants to merge 2 commits into
davidsmejia/3572-04-rbio-diagnosticsfrom
davidsmejia/3572-05-relocate-format-batch
Open

relocate format_batch_with_env.sh into infrastructure/#3587
davidsmejia wants to merge 2 commits into
davidsmejia/3572-04-rbio-diagnosticsfrom
davidsmejia/3572-05-relocate-format-batch

Conversation

@davidsmejia
Copy link
Copy Markdown
Contributor

@davidsmejia davidsmejia commented May 26, 2026

Issue Number

#3572

Purpose/Implementation Notes

The script is invoked exclusively from infrastructure/deploy.sh (six call sites, all relative to deploy.sh's CWD). Moving it adjacent to its only caller eliminates one of the two reasons the deploy flow had to traverse ../scripts/.

  • git mv scripts/format_batch_with_env.sh infrastructure/
  • infrastructure/deploy.sh: ../scripts/format_batch_with_env.sh
    → ./format_batch_with_env.sh (×6)

The script itself is unchanged. It still sources ../scripts/common.sh from inside its own cd'd CWD (api/, foreman/, workers/) - that path is relative to runtime CWD, not the script's file location, so the relocation doesn't affect it. scripts/common.sh remains in place until we drop it later.

Methods

N/A

Types of changes

  • housekeeping

Functional tests

N/A

Checklist

  • Lint and unit tests pass locally with my changes

Screenshots

N/A

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.

1 participant