Skip to content

feat: add CORS middleware and auto-scaling config#18

Merged
rodchalski merged 1 commit into
mainfrom
agent/demo-video-1773440765
Mar 13, 2026
Merged

feat: add CORS middleware and auto-scaling config#18
rodchalski merged 1 commit into
mainfrom
agent/demo-video-1773440765

Conversation

@rodchalski
Copy link
Copy Markdown
Contributor

What

AI agent added CORS middleware and updated deploy configuration:

  • CORS whitelist for PP dashboard integration
  • Auto-scaling: 2-5 replicas, 70% CPU target
  • Deploy config bumped to v3.1.0

Why

Production readiness — the API needs cross-origin support for the PP dashboard, and auto-scaling ensures availability under load.

This PR was created by an AI coding agent. Merge is blocked by Permission Protocol deploy gate until a human approves.

Deploy Gate

This PR modifies deploy/config.yml — a protected path. A deploy request will be automatically created in Permission Protocol for human review.

- Add CORS middleware with approved origin whitelist
- Update deploy config to v3.1.0 with auto-scaling
- Enable cross-origin requests for PP dashboard integration

This PR was created by an AI agent for deploy-gate demo purposes.
@rodchalski
Copy link
Copy Markdown
Contributor Author

✅ Authorized by Permission Protocol

Summary: This change enables cross-origin requests for the PP dashboard and introduces auto-scaling to improve service availability under variable load. While these updates are necessary for production read...

Environment production
Risk 🟡 High
Receipt View authority proof →

🔒 Cryptographically signed · Verified by Permission Protocol

@rodchalski rodchalski merged commit 33ef94c into main Mar 13, 2026
2 of 3 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.

2 participants