Skip to content

Staging - #248

Merged
mottych merged 2 commits into
masterfrom
staging
Feb 23, 2026
Merged

Staging#248
mottych merged 2 commits into
masterfrom
staging

Conversation

@mottych

@mottych mottych commented Feb 23, 2026

Copy link
Copy Markdown
Owner

Pull Request

Summary

Fix CORS issue - move CORS to code only

Checklist

  • I reviewed ENGINEERING_GUIDE.md
  • API changes match docs/frontend-integration-guide.md (or I updated it)
  • Responses use ApiResponse[...] with snake_case keys
  • Tests added/updated and pass locally (pytest -q)
  • Updated/Created docs/frontend-alignment-plan.md if scope affects alignment

Testing

How did you test this change? Include commands, test cases, and results.

$env:PYTHONPATH="c:\\Projects\\XBS\\PurposePath\\PurposePath_Api;account;coaching;traction"; pytest -q

Screenshots/Logs (optional)

mottych and others added 2 commits February 23, 2026 09:59
Remove API Gateway-level wildcard CORS to avoid preflight/header drift from FastAPI credentialed CORS, and add explicit CORS preflight smoke tests to dev/staging/prod deploy workflows to catch regressions immediately.

Co-authored-by: Cursor <cursoragent@cursor.com>
…-checks

fix(cors): prevent cross-layer regressions across environments
@mottych
mottych merged commit ba5369e into master Feb 23, 2026
6 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