-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
fix(gatsby): Adapter header rules #38644
Conversation
packages/gatsby/src/utils/adapter/__tests__/__snapshots__/manager.ts.snap
Outdated
Show resolved
Hide resolved
Tests were passing, but a new test is failing after merging in master https://app.circleci.com/pipelines/github/gatsbyjs/gatsby/91772/workflows/deb2a349-7db6-4970-965d-01578ec83ea5/jobs/1111499/tests |
Ran again and it passed 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
did you want to add an integration test with a dummy adapter maybe?
As discussed in the sync, I'll update the E2E tests in the follow-up PR with the adapter changes. |
Description
Adjustment to reduce the header file size.
Based off of work done by #38561. The primary difference is the equality checks for filtering the headers.
includes
doesn't work since JS checks for reference equality.Documentation
Tests
Unit tests
Related Issues
Fixes https://linear.app/netlify/issue/FRA-17/reduce-headers-file-size