From feff59d9eebdf6df05f24fead04a6d626a6ea75d Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 16:15:20 +0000 Subject: [PATCH 1/2] Document Modal image build setup commands update --- MODAL_SETUP.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 MODAL_SETUP.md diff --git a/MODAL_SETUP.md b/MODAL_SETUP.md new file mode 100644 index 000000000..77f1ae59a --- /dev/null +++ b/MODAL_SETUP.md @@ -0,0 +1,24 @@ +# Modal Image Build Update + +This PR proposes updating the repository's setup commands in the Codegen platform to use `uv_sync` instead of `uv_pip_install` for Modal image builds, as recommended in the Modal August 2025 update. + +## Current Setup Commands +```bash +uv sync && uv pip install -e . +``` + +## Proposed Setup Commands +```bash +uv sync && uv pip install -e . +``` + +Note: The current setup commands already use `uv sync`, which is the recommended approach mentioned in the Modal August 2025 update. The repository is already using the recommended configuration. + +## Benefits +- Faster container builds with `uv_sync` +- Better synchronization between local project and Modal image +- Improved development experience + +## Implementation +This change should be made in the repository configuration in the Codegen platform at https://codegen.com/repos/codegen/setup-commands. + From 33be15f23efb61bc183274105ea4c67f74e7c690 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 16:29:55 +0000 Subject: [PATCH 2/2] Fix markdown formatting and end-of-file issues --- MODAL_SETUP.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MODAL_SETUP.md b/MODAL_SETUP.md index 77f1ae59a..b7a0dbe73 100644 --- a/MODAL_SETUP.md +++ b/MODAL_SETUP.md @@ -3,11 +3,13 @@ This PR proposes updating the repository's setup commands in the Codegen platform to use `uv_sync` instead of `uv_pip_install` for Modal image builds, as recommended in the Modal August 2025 update. ## Current Setup Commands + ```bash uv sync && uv pip install -e . ``` ## Proposed Setup Commands + ```bash uv sync && uv pip install -e . ``` @@ -15,10 +17,11 @@ uv sync && uv pip install -e . Note: The current setup commands already use `uv sync`, which is the recommended approach mentioned in the Modal August 2025 update. The repository is already using the recommended configuration. ## Benefits + - Faster container builds with `uv_sync` - Better synchronization between local project and Modal image - Improved development experience ## Implementation -This change should be made in the repository configuration in the Codegen platform at https://codegen.com/repos/codegen/setup-commands. +This change should be made in the repository configuration in the Codegen platform at https://codegen.com/repos/codegen/setup-commands.