Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPDNPQ-2439 Update Sinatra #2176

Merged
merged 4 commits into from
Feb 5, 2025
Merged

CPDNPQ-2439 Update Sinatra #2176

merged 4 commits into from
Feb 5, 2025

Conversation

jebw
Copy link
Contributor

@jebw jebw commented Feb 4, 2025

Context

Ticket: 2439

Currently our flipper UI area is held back because of the Rack 2 -> 3 changes needed in other areas of the codebase

This upgrades those other components and updates the flipper UI

Changes proposed in this pull request

  1. Upgraded the flipper gems, and sinatra with them, and Rack from 2->3
  2. Fix the CSP reports controller to handle Rack 3 style request bodies
  3. Fix the API Request middleware to work with Rack3 style request bodies
  4. Avoid mocking the Rails.env var in specs
  5. Include API requests middleware in test environment, but mock out delivery to BQ - this ensures all API endpoints get tested for compatibility with the middleware

@jebw jebw requested a review from a team as a code owner February 4, 2025 12:22
Copy link
Contributor

github-actions bot commented Feb 4, 2025

More accurately reflects how code will run in production and more
thoroughly tests middleware
@jebw jebw added this pull request to the merge queue Feb 5, 2025
Merged via the queue into main with commit c56745b Feb 5, 2025
18 checks passed
@jebw jebw deleted the CPDNPQ-2439-update-sinatra branch February 5, 2025 17:00
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