-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
chore: add skew-version support in Cloudflare open-next worker #7980
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
chore: add skew-version support in Cloudflare open-next worker #7980
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #7980 +/- ##
==========================================
+ Coverage 72.95% 73.01% +0.06%
==========================================
Files 95 95
Lines 8317 8317
Branches 215 214 -1
==========================================
+ Hits 6068 6073 +5
+ Misses 2248 2243 -5
Partials 1 1 ☔ View full report in Codecov by Sentry. |
https://github.com/nodejs/nodejs.org/actions/runs/16280236085/job/45968187377?pr=7980#step:11:74 👀 again! is this something that is happening quite often? 😓 |
Yea, it happens pretty often now that I think about it. |
oof... and do you know if it is just happening on the open-next build? |
ok, so sorry for the inconvenience 🙇 I'll look into addressing the issue then 🙇 |
No problem! It's not a required check so it's not breaking anything |
good! but it must be pretty annoying 😅😓 |
3f20cb6
to
9256c7a
Compare
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.
LGMT !
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.
LGTM! Buit can we document this variable for the time being somewhere? (the OPEN_NEXT_CLOUDFLARE)
Every time you write LGMT I feel like I want to eat Subway's BLT for some reason |
This comment was marked as off-topic.
This comment was marked as off-topic.
Looks good, me too! |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Yeah, no problem |
#8023 🙂 |
Lighthouse Results
|
f02327a
to
445def8
Compare
@dario-piotrowicz builds seems to be failing tho |
Thanks 🙂 Yeah I noticed, for some reason the build script is not detecting the open-next package, I don't really understand why 😕 I've fixed it in this way: 3e2e029 Not the best solution possible but I think it should be good enough for now and we can always dig deeper into the issue if/when needed? what do you think? 🙂 PS: I couldn't reproduce the issue locally 😕 |
Description
This PR adds support for skew protection in the Cloudflare open-next deployment (which has been recently added to the open-next adapter (in 1.5.0))
For more details on the feature see: https://opennext.js.org/cloudflare/howtos/skew
Validation
I've applied the changes and deployed the site: https://nodejs-org.testing.devprod.cloudflare.dev/en
And everything seems to be working as expected 🙂
I'll double check with @vicb if he has some suggestion to best test that the skew protection is actually in place and working as expected 🙂
Related Issues
Check List
pnpm format
to ensure the code follows the style guide.pnpm test
to check if all tests are passing.pnpm build
to check if the website builds without errors.