aws / aws/chalice

Chalice local and test can use files not packaged by deploy

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

Description

Some files had been added to the project directory (not in chalicelib), and been imported in app.py. The app passed tests and worked on local, but then failed when deployed (since the required files were not packaged). Not sure if there's a way to flag when we're importing files that aren't going to be packaged on deployment?

Contributor guide

Open the contributing guide

Research direction

Start with app.py and compare how local, test, and deploy handle files outside chalicelib that are imported by the app. Trace which project files deployment packages, then define completion as a warning or test that identifies imports of files omitted from the deployment package.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, devops
Issue type
Feature
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.