Skip to content

pit promo configure --config; 1m body limit for snapshot imports - #27

Merged
ralyodio merged 1 commit into
mainfrom
fix/promo-config-flag-body-limit
Oct 17, 2026
Merged

ralyodio merged 1 commit into
mainfrom
fix/promo-config-flag-body-limit

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Found on the first live run:

  • pit promo configure --json never reached the command, because the top-level CLI strips --json (its output switch). The flag is now --config '{...}' or --config @file.json. A test drives the real main() argument handling.
  • The Los Gatos snapshot is 166 KB and nginx capped pit.world bodies at 64 KB (HTTP 413). MAX_BODY is now 1m. Public forms stay small and rate-limited in the app.

🤖 Generated with Claude Code

… nginx body limit 1m for campaign snapshot imports

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit c1d1fc6 into main Oct 17, 2026
4 checks passed
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