aws / aws/chalice

Deployment Delays (>10 mins) with Chalice 1.32.0

Open
#2,145 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

**Description**
While deploying AWS Lambda functions using Chalice (`chalice 1.32.0`, `python 3.12.2`, `darwin 24.6.0`), deployments are taking an unusually long time (over 10 minutes). This issue was not present earlier and seems to have degraded recently.

**Steps to Reproduce**
1. Use Chalice `1.32.0` with Python `3.12.2` on `darwin 24.6.0`.
2. Run `chalice deploy` for a moderately sized Lambda project.
3. Observe deployment time – consistently longer than 10 minutes.

**Environment**
- Chalice: `1.32.0`
- Python: `3.12.2`
- OS: `Darwin 24.6.0`

**Additional Notes**
- This delay did not occur with earlier deployments.
- Unsure if this is related to Chalice version, Python version, or a packaging change.
- Logs show normal progress but take much longer before completion.
- It gets stuck with `Creating deployment package`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `chalice deploy` with Chalice 1.32.0, Python 3.12.2, and Darwin 24.6.0 for a moderately sized Lambda project. Observe the `Creating deployment package` phase and compare its duration with earlier deployments; done means identifying the cause of the delay and confirming normal deployment completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.