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
graceful shutdown #60059
graceful shutdown #60059
Commits on Dec 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5b004f2 - Browse repository at this point
Copy the full SHA 5b004f2View commit details -
fix: better support for graceful shutdown
- remove immediate process.exit from `next start` - have handleSessionStop wait for the child to exit - add a test that verifies long-running api routes are not killed - send proper signal (e.g. SIGTERM or SIGINT) to child process from dev server - wait for app to shut down in tests, with a short default timeout
Configuration menu - View commit details
-
Copy full SHA for 57f880a - Browse repository at this point
Copy the full SHA 57f880aView commit details -
fix: shutdown next dev immediately
- when a SIGINT or SIGTERM is sent to next dev, shutdown the server immediately - create new test app for graceful-shutdown features - add some more tests
Configuration menu - View commit details
-
Copy full SHA for e3b0427 - Browse repository at this point
Copy the full SHA e3b0427View commit details -
tests: add another test for graceful shutdown
- shouldn't accept requests while server is shutting down and there's no activity - refactor some tests to use process.kill since it's faster and we aren't looking to kill the whole tree. makes killApp simpler too
Configuration menu - View commit details
-
Copy full SHA for 7d94719 - Browse repository at this point
Copy the full SHA 7d94719View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c8ff12 - Browse repository at this point
Copy the full SHA 7c8ff12View commit details -
fix: standalone server graceful-shudown
- moved some js files to ts and fixed types - fixed standalone server graceful-shutdown - added new tests for production standalone mode
Configuration menu - View commit details
-
Copy full SHA for c739e11 - Browse repository at this point
Copy the full SHA c739e11View commit details -
refactor: combine graceful-shutdown tests
rather than having an integration test with dev and production modes, and then a separate test for standalone-mode that copies all the same tests, we can just follow the same pattern we had in integration but include the standalone-mode tests in the same file.
Configuration menu - View commit details
-
Copy full SHA for 4f74aee - Browse repository at this point
Copy the full SHA 4f74aeeView commit details -
refactor: move graceful-shutdown test-app to src folder
the tsconfig.json file was causing typescript issues when looking for e2e-utils and next-test-utils
Configuration menu - View commit details
-
Copy full SHA for 90af3bb - Browse repository at this point
Copy the full SHA 90af3bbView commit details
Commits on Jan 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f3c875d - Browse repository at this point
Copy the full SHA f3c875dView commit details
Commits on Jan 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8de8407 - Browse repository at this point
Copy the full SHA 8de8407View commit details
Commits on Jan 4, 2024
-
fix: remove check for !this.isStopping
keeping code refactor to use "once", but adding that extra check broke a lot of tests
Configuration menu - View commit details
-
Copy full SHA for b173496 - Browse repository at this point
Copy the full SHA b173496View commit details -
Configuration menu - View commit details
-
Copy full SHA for df3a4e5 - Browse repository at this point
Copy the full SHA df3a4e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40330a - Browse repository at this point
Copy the full SHA c40330aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 778b5dc - Browse repository at this point
Copy the full SHA 778b5dcView commit details
Commits on Jan 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 49af857 - Browse repository at this point
Copy the full SHA 49af857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2140702 - Browse repository at this point
Copy the full SHA 2140702View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5622b51 - Browse repository at this point
Copy the full SHA 5622b51View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2a7700 - Browse repository at this point
Copy the full SHA e2a7700View commit details
Commits on Jan 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 44fe46a - Browse repository at this point
Copy the full SHA 44fe46aView commit details
Commits on Jan 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8111659 - Browse repository at this point
Copy the full SHA 8111659View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e273b8 - Browse repository at this point
Copy the full SHA 8e273b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e340c41 - Browse repository at this point
Copy the full SHA e340c41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f65ded - Browse repository at this point
Copy the full SHA 3f65dedView commit details -
Configuration menu - View commit details
-
Copy full SHA for e49fb6d - Browse repository at this point
Copy the full SHA e49fb6dView commit details
Commits on Jan 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c43fc86 - Browse repository at this point
Copy the full SHA c43fc86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c0c73e - Browse repository at this point
Copy the full SHA 0c0c73eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 712643c - Browse repository at this point
Copy the full SHA 712643cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77bed79 - Browse repository at this point
Copy the full SHA 77bed79View commit details
Commits on Jan 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aacc91c - Browse repository at this point
Copy the full SHA aacc91cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4af87d - Browse repository at this point
Copy the full SHA c4af87dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7faf58 - Browse repository at this point
Copy the full SHA f7faf58View commit details -
Configuration menu - View commit details
-
Copy full SHA for e88a95b - Browse repository at this point
Copy the full SHA e88a95bView commit details
Commits on Jan 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fd84659 - Browse repository at this point
Copy the full SHA fd84659View commit details -
Configuration menu - View commit details
-
Copy full SHA for b14eab2 - Browse repository at this point
Copy the full SHA b14eab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec24f76 - Browse repository at this point
Copy the full SHA ec24f76View commit details