Skip to content

Exclude dev/research scripts from Lambda zip - #107

Merged
nathan-probert merged 1 commit into
mainfrom
exclude-scripts-from-lambda-zip
Aug 29, 2026
Merged

Exclude dev/research scripts from Lambda zip#107
nathan-probert merged 1 commit into
mainfrom
exclude-scripts-from-lambda-zip

Conversation

@nathan-probert

@nathan-probert nathan-probert commented Aug 29, 2026

Copy link
Copy Markdown
Owner

#98

Summary

The smartscore/scripts/ directory contains dev/research tooling (weight tuning, accuracy calc, plots, odds, email preview, fixture recording) that is never imported by any Lambda runtime handler. Previously it was copied into every function's deployment zip via \cp -r \/*\ and never pruned, adding ~65 KB of needless bloat to each Lambda.

Change

Add
m -rf \/scripts\ alongside the existing \C/\Rust\ source-tree removals in \�uild_scripts/deploy.sh.

Testing

  • CI lint/test/deploy pipeline will validate (PR deploys to dev stack via deploy label).
  • \smartscore/scripts/\ is not referenced by any runtime module (confirmed by grep).

@nathan-probert
nathan-probert merged commit 760fb46 into main Aug 29, 2026
10 checks passed
@nathan-probert
nathan-probert deleted the exclude-scripts-from-lambda-zip branch August 29, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant