Title: test(e2e): stop requiring Content-Length on streamed Route Handler downloads by waleedlatif1 · Pull Request #9824 · simstudioai/sim · GitHub
Open Graph Title: test(e2e): stop requiring Content-Length on streamed Route Handler downloads by waleedlatif1 · Pull Request #9824 · simstudioai/sim
X Title: test(e2e): stop requiring Content-Length on streamed Route Handler downloads by waleedlatif1 · Pull Request #9824 · simstudioai/sim
Description: Summary Since #9819 (Next.js 16.4.5), e2e (project-files) fails on staging and on every PR based on it: the history suite's large-download check expects Content-Length: 104857601 and gets none. Next.js 16.4.5 strips Content-Length and Content-Encoding from every Route Handler response for GHSA-pc58-hwjq-p385. A Response proxied from fetch() can't be told apart from a synthetic one. 16.4.6 keeps this, and the scoped alternative (vercel/next.js#101201) was closed, so this is the framework's behavior going forward. The suite now checks a declared length only when one is present. It still proves the download streams in more than one chunk, delivers every byte, and matches the content hash. Client impact None functional. Every client that reads Content-Length (text preview, CLI updater and OAuth reader, desktop updater) uses it only as an early size rejection and still enforces its cap while streaming. Browsers lose the progress estimate on large downloads, which is the upstream trade-off. Verification Staging head 12ca9d6cbc fails this job; 2304295bef (before #9819) passes. The failing check and its error match exactly. No other e2e suite asserts Content-Length.
Open Graph Description: Summary Since #9819 (Next.js 16.4.5), e2e (project-files) fails on staging and on every PR based on it: the history suite's large-download check expects Content-Length: 104857601 and gets none...
X Description: Summary Since #9819 (Next.js 16.4.5), e2e (project-files) fails on staging and on every PR based on it: the history suite's large-download check expects Content-Length: 104857601 and gets ...
Opengraph URL: https://github.com/simstudioai/sim/pull/9824
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:67398238-f490-8b0d-2cb5-5058f5ef879a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8A2A:65245:24F9F2:352308:6AFB22C5 |
| html-safe-nonce | 85a86e8aa5779cd03931c4530119ff82b294ed4203ae479ff36adcbb158f142a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTJBOjY1MjQ1OjI0RjlGMjozNTIzMDg6NkFGQjIyQzUiLCJ2aXNpdG9yX2lkIjoiNDk0OTgwNzA3MTQ5MTcyODA2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f9b1b9b9f7c014905b19659016468930fdba253413691c6954e1de9c55451a01 |
| hovercard-subject-tag | pull_request:5232920126 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9824/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Since #9819 (Next.js 16.4.5), e2e (project-files) fails on staging and on every PR based on it: the history suite's large-download check expects Content-Length: 104857601 and gets none... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9219899e0d0ce0b87aeba2c640c955f83631457e5baff5df7a36ce599d2635b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd3b60f1fd9c5f10a3dcde41ae35682f53e85cee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width