From 809e395032c90cc52e44923b2112159b49f14a31 Mon Sep 17 00:00:00 2001 From: Rebot <96078724+reboot-dev-bot@users.noreply.github.com> Date: Sat, 1 Nov 2025 00:21:31 +0000 Subject: [PATCH] [Release] Synchronize for release --- .rbtrc | 5 -- .tests/serve_test.sh | 1 + Dockerfile | 2 +- backend/tests/hello_servicer_test.py | 5 +- pyproject.toml | 4 +- reboot-non-react-web/package-lock.json | 31 +++++----- reboot-non-react-web/package.json | 3 +- requirements-dev.lock | 2 +- requirements.lock | 2 +- web/package-lock.json | 80 ++++++++++++++------------ web/package.json | 3 +- 11 files changed, 74 insertions(+), 64 deletions(-) diff --git a/.rbtrc b/.rbtrc index 5a64a89..8e50ac3 100644 --- a/.rbtrc +++ b/.rbtrc @@ -53,11 +53,6 @@ dev run --application=backend/src/main.py # Tell `rbt serve` that this is a Python application. serve run --python -# The number of partitions of our data to create. Each partition runs as a -# separate process, and so increasing the partition count requires more cores, -# but also increases the number of concurrent requests that can be served. -serve run --partitions=4 - # Leave TLS termination to the external load balancer; expose a non-SSL port to # that loadbalancer. serve run --tls=external diff --git a/.tests/serve_test.sh b/.tests/serve_test.sh index fb27071..fde8332 100755 --- a/.tests/serve_test.sh +++ b/.tests/serve_test.sh @@ -90,6 +90,7 @@ if command -v docker &> /dev/null; then docker run \ --env=PORT=8787 \ --env=RBT_STATE_DIRECTORY=/app/state/ \ + --env=RBT_SERVERS=2 \ -p8787:8787 \ --detach \ $image_name \ diff --git a/Dockerfile b/Dockerfile index 822ca09..5c69e5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/reboot-dev/reboot-base:0.38.4 +FROM ghcr.io/reboot-dev/reboot-base:0.39.0 WORKDIR /app diff --git a/backend/tests/hello_servicer_test.py b/backend/tests/hello_servicer_test.py index 7dc3f48..62ba79c 100644 --- a/backend/tests/hello_servicer_test.py +++ b/backend/tests/hello_servicer_test.py @@ -1,5 +1,5 @@ import unittest -from hello.v1.hello_rbt import Hello, MessagesResponse +from hello.v1.hello_rbt import Hello from hello_servicer import HelloServicer from reboot.aio.applications import Application from reboot.aio.tests import Reboot @@ -23,7 +23,8 @@ async def test_hello(self) -> None: await hello.send(context, message="Hello, World") - response: MessagesResponse = await hello.messages(context) + response: Hello.MessagesResponse = await hello.messages(context) + self.assertEqual(response.messages, ["Hello, World"]) await hello.send(context, message="Hello, Reboot!") diff --git a/pyproject.toml b/pyproject.toml index ed6ce15..4aed989 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] requires-python = ">= 3.10" dependencies = [ - "reboot==0.38.4", + "reboot==0.39.0", ] [tool.rye] @@ -9,7 +9,7 @@ dev-dependencies = [ "mypy==1.18.1", "pytest>=7.4.2", "types-protobuf>=4.24.0.20240129", - "reboot==0.38.4", + "reboot==0.39.0", ] # This project only uses `rye` to provide `python` and its dependencies, so diff --git a/reboot-non-react-web/package-lock.json b/reboot-non-react-web/package-lock.json index 2e3e579..7f1ae69 100644 --- a/reboot-non-react-web/package-lock.json +++ b/reboot-non-react-web/package-lock.json @@ -8,7 +8,8 @@ "name": "reboot-vanilla-web", "version": "0.0.0", "dependencies": { - "@reboot-dev/reboot-web": "^0.38.4", + "@bufbuild/protobuf": "1.10.1", + "@reboot-dev/reboot-web": "^0.39.0", "@testing-library/jest-dom": "^5.17.0", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.5.2", @@ -51,9 +52,9 @@ } }, "node_modules/@bufbuild/protobuf": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.3.2.tgz", - "integrity": "sha512-Hw8ZzJEaT3JkMqeWCUfTJwB6H05b8q/xsw2k/BsXBiUCaTpDKd3pxXR3Vss2R1b+OEzRHXDeiO35M0BvVk2Sgg==" + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.1.tgz", + "integrity": "sha512-wJ8ReQbHxsAfXhrf9ixl0aYbZorRuOWpBNzm8pL8ftmSxQx/wnJD5Eg861NwJU/czy2VXFIebCeZnZrI9rktIQ==" }, "node_modules/@esbuild/linux-x64": { "version": "0.25.5", @@ -70,14 +71,16 @@ } }, "node_modules/@reboot-dev/reboot-api": { - "version": "0.38.4", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.38.4.tgz", - "integrity": "sha512-35kOfGpykSKO2B+c2A6PJrN83mUWktcI9jTun0Cm91MsduyP58L+HZpY7vmLurROBvlPP9x9hlUqSGlOWfbnJw==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.39.0.tgz", + "integrity": "sha512-RmcYf0wvqDfK3yWcZHUXcWi2pJdHXziSAcXMIIpqrU14GEkUq2+abqYVb5vXyZL4oegdeASdFBzYiA3SuV31Xw==", "dependencies": { - "@bufbuild/protobuf": "1.3.2", "@scarf/scarf": "1.4.0", "typescript": "5.4.5", "zod": "^3.25.51" + }, + "peerDependencies": { + "@bufbuild/protobuf": "1.10.1" } }, "node_modules/@reboot-dev/reboot-api/node_modules/typescript": { @@ -93,18 +96,20 @@ } }, "node_modules/@reboot-dev/reboot-web": { - "version": "0.38.4", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-web/-/reboot-web-0.38.4.tgz", - "integrity": "sha512-rtfvpY2xbOsnJkgEuuxU7DVkfOepzzCwJxVFrjUPMPhYqZpudxoiSO+33p6pkd1GrgKrV6X9ep9LfUylU+2BAw==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-web/-/reboot-web-0.39.0.tgz", + "integrity": "sha512-kSYxL0jl7yoQD3Y78jvHCsIEIGPjI1bWehVW5Oa0kBRE5NsCMg4ZSMA7nvRnTTYXjEafE1w1g0biMhyiYhhTkw==", "dependencies": { - "@bufbuild/protobuf": "1.3.2", - "@reboot-dev/reboot-api": "0.38.4", + "@reboot-dev/reboot-api": "0.39.0", "@scarf/scarf": "1.4.0", "@types/uuid": "^9.0.4", "js-sha1": "0.7.0", "tslib": "^2.6.2", "typescript": "4.8.4", "uuid": "^9.0.1" + }, + "peerDependencies": { + "@bufbuild/protobuf": "1.10.1" } }, "node_modules/@reboot-dev/reboot-web/node_modules/typescript": { diff --git a/reboot-non-react-web/package.json b/reboot-non-react-web/package.json index ec9a7bb..e28e6e9 100644 --- a/reboot-non-react-web/package.json +++ b/reboot-non-react-web/package.json @@ -9,7 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "@reboot-dev/reboot-web": "^0.38.4", + "@bufbuild/protobuf": "1.10.1", + "@reboot-dev/reboot-web": "^0.39.0", "@testing-library/jest-dom": "^5.17.0", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.5.2", diff --git a/requirements-dev.lock b/requirements-dev.lock index 028abb7..beba9b6 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -163,7 +163,7 @@ python-dateutil==2.9.0.post0 pyyaml==6.0.2 # via kubernetes-asyncio # via reboot -reboot==0.38.4 +reboot==0.39.0 setuptools==75.1.0 # via grpcio-tools six==1.16.0 diff --git a/requirements.lock b/requirements.lock index 320a0fe..e8cdbfc 100644 --- a/requirements.lock +++ b/requirements.lock @@ -152,7 +152,7 @@ python-dateutil==2.9.0.post0 pyyaml==6.0.2 # via kubernetes-asyncio # via reboot -reboot==0.38.4 +reboot==0.39.0 setuptools==75.1.0 # via grpcio-tools six==1.16.0 diff --git a/web/package-lock.json b/web/package-lock.json index 8e0d643..4a0101d 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -8,8 +8,9 @@ "name": "web", "version": "0.1.0", "dependencies": { + "@bufbuild/protobuf": "1.10.1", "@eslint/js": "^9.34.0", - "@reboot-dev/reboot-react": "^0.38.4", + "@reboot-dev/reboot-react": "^0.39.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "@types/eslint__js": "^8.42.3", @@ -332,9 +333,9 @@ } }, "node_modules/@bufbuild/protobuf": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.3.2.tgz", - "integrity": "sha512-Hw8ZzJEaT3JkMqeWCUfTJwB6H05b8q/xsw2k/BsXBiUCaTpDKd3pxXR3Vss2R1b+OEzRHXDeiO35M0BvVk2Sgg==" + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.1.tgz", + "integrity": "sha512-wJ8ReQbHxsAfXhrf9ixl0aYbZorRuOWpBNzm8pL8ftmSxQx/wnJD5Eg861NwJU/czy2VXFIebCeZnZrI9rktIQ==" }, "node_modules/@csstools/color-helpers": { "version": "5.1.0", @@ -1125,14 +1126,16 @@ } }, "node_modules/@reboot-dev/reboot-api": { - "version": "0.38.4", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.38.4.tgz", - "integrity": "sha512-35kOfGpykSKO2B+c2A6PJrN83mUWktcI9jTun0Cm91MsduyP58L+HZpY7vmLurROBvlPP9x9hlUqSGlOWfbnJw==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.39.0.tgz", + "integrity": "sha512-RmcYf0wvqDfK3yWcZHUXcWi2pJdHXziSAcXMIIpqrU14GEkUq2+abqYVb5vXyZL4oegdeASdFBzYiA3SuV31Xw==", "dependencies": { - "@bufbuild/protobuf": "1.3.2", "@scarf/scarf": "1.4.0", "typescript": "5.4.5", "zod": "^3.25.51" + }, + "peerDependencies": { + "@bufbuild/protobuf": "1.10.1" } }, "node_modules/@reboot-dev/reboot-api/node_modules/typescript": { @@ -1148,19 +1151,23 @@ } }, "node_modules/@reboot-dev/reboot-react": { - "version": "0.38.4", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-react/-/reboot-react-0.38.4.tgz", - "integrity": "sha512-5RXpCQf3dEXQ5jRiy23IadCRizCRe8q1Iydpw+aDtppQlFzzxu0S8YS1TP4m5pizykxfVvv1iYA6wS50h/xsLg==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-react/-/reboot-react-0.39.0.tgz", + "integrity": "sha512-z/JEsIQYfZ+h9aOS6KNET2ltx+TbsegsLBPUFQvrxE2VvoLwmQu5fv+JGKHhUKzpGr3vzYpL54CSGoq2VBdavw==", "dependencies": { - "@bufbuild/protobuf": "1.3.2", - "@reboot-dev/reboot-api": "0.38.4", - "@reboot-dev/reboot-web": "0.38.4", + "@reboot-dev/reboot-api": "0.39.0", + "@reboot-dev/reboot-web": "0.39.0", "@scarf/scarf": "1.4.0", "@types/uuid": "^9.0.4", "js-sha1": "0.7.0", "tslib": "^2.6.2", "typescript": "4.8.4", "uuid": "^9.0.1" + }, + "peerDependencies": { + "@bufbuild/protobuf": "1.10.1", + "react": ">=18.0.0", + "react-dom": ">=18.0.0" } }, "node_modules/@reboot-dev/reboot-react/node_modules/typescript": { @@ -1175,18 +1182,20 @@ } }, "node_modules/@reboot-dev/reboot-web": { - "version": "0.38.4", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-web/-/reboot-web-0.38.4.tgz", - "integrity": "sha512-rtfvpY2xbOsnJkgEuuxU7DVkfOepzzCwJxVFrjUPMPhYqZpudxoiSO+33p6pkd1GrgKrV6X9ep9LfUylU+2BAw==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-web/-/reboot-web-0.39.0.tgz", + "integrity": "sha512-kSYxL0jl7yoQD3Y78jvHCsIEIGPjI1bWehVW5Oa0kBRE5NsCMg4ZSMA7nvRnTTYXjEafE1w1g0biMhyiYhhTkw==", "dependencies": { - "@bufbuild/protobuf": "1.3.2", - "@reboot-dev/reboot-api": "0.38.4", + "@reboot-dev/reboot-api": "0.39.0", "@scarf/scarf": "1.4.0", "@types/uuid": "^9.0.4", "js-sha1": "0.7.0", "tslib": "^2.6.2", "typescript": "4.8.4", "uuid": "^9.0.1" + }, + "peerDependencies": { + "@bufbuild/protobuf": "1.10.1" } }, "node_modules/@reboot-dev/reboot-web/node_modules/typescript": { @@ -5057,9 +5066,9 @@ } }, "@bufbuild/protobuf": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.3.2.tgz", - "integrity": "sha512-Hw8ZzJEaT3JkMqeWCUfTJwB6H05b8q/xsw2k/BsXBiUCaTpDKd3pxXR3Vss2R1b+OEzRHXDeiO35M0BvVk2Sgg==" + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.1.tgz", + "integrity": "sha512-wJ8ReQbHxsAfXhrf9ixl0aYbZorRuOWpBNzm8pL8ftmSxQx/wnJD5Eg861NwJU/czy2VXFIebCeZnZrI9rktIQ==" }, "@csstools/color-helpers": { "version": "5.1.0", @@ -5409,11 +5418,10 @@ } }, "@reboot-dev/reboot-api": { - "version": "0.38.4", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.38.4.tgz", - "integrity": "sha512-35kOfGpykSKO2B+c2A6PJrN83mUWktcI9jTun0Cm91MsduyP58L+HZpY7vmLurROBvlPP9x9hlUqSGlOWfbnJw==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.39.0.tgz", + "integrity": "sha512-RmcYf0wvqDfK3yWcZHUXcWi2pJdHXziSAcXMIIpqrU14GEkUq2+abqYVb5vXyZL4oegdeASdFBzYiA3SuV31Xw==", "requires": { - "@bufbuild/protobuf": "1.3.2", "@scarf/scarf": "1.4.0", "typescript": "5.4.5", "zod": "^3.25.51" @@ -5427,13 +5435,12 @@ } }, "@reboot-dev/reboot-react": { - "version": "0.38.4", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-react/-/reboot-react-0.38.4.tgz", - "integrity": "sha512-5RXpCQf3dEXQ5jRiy23IadCRizCRe8q1Iydpw+aDtppQlFzzxu0S8YS1TP4m5pizykxfVvv1iYA6wS50h/xsLg==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-react/-/reboot-react-0.39.0.tgz", + "integrity": "sha512-z/JEsIQYfZ+h9aOS6KNET2ltx+TbsegsLBPUFQvrxE2VvoLwmQu5fv+JGKHhUKzpGr3vzYpL54CSGoq2VBdavw==", "requires": { - "@bufbuild/protobuf": "1.3.2", - "@reboot-dev/reboot-api": "0.38.4", - "@reboot-dev/reboot-web": "0.38.4", + "@reboot-dev/reboot-api": "0.39.0", + "@reboot-dev/reboot-web": "0.39.0", "@scarf/scarf": "1.4.0", "@types/uuid": "^9.0.4", "js-sha1": "0.7.0", @@ -5448,12 +5455,11 @@ } }, "@reboot-dev/reboot-web": { - "version": "0.38.4", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-web/-/reboot-web-0.38.4.tgz", - "integrity": "sha512-rtfvpY2xbOsnJkgEuuxU7DVkfOepzzCwJxVFrjUPMPhYqZpudxoiSO+33p6pkd1GrgKrV6X9ep9LfUylU+2BAw==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-web/-/reboot-web-0.39.0.tgz", + "integrity": "sha512-kSYxL0jl7yoQD3Y78jvHCsIEIGPjI1bWehVW5Oa0kBRE5NsCMg4ZSMA7nvRnTTYXjEafE1w1g0biMhyiYhhTkw==", "requires": { - "@bufbuild/protobuf": "1.3.2", - "@reboot-dev/reboot-api": "0.38.4", + "@reboot-dev/reboot-api": "0.39.0", "@scarf/scarf": "1.4.0", "@types/uuid": "^9.0.4", "js-sha1": "0.7.0", diff --git a/web/package.json b/web/package.json index 675e62f..de85a02 100644 --- a/web/package.json +++ b/web/package.json @@ -4,8 +4,9 @@ "private": true, "type": "module", "dependencies": { + "@bufbuild/protobuf": "1.10.1", "@eslint/js": "^9.34.0", - "@reboot-dev/reboot-react": "^0.38.4", + "@reboot-dev/reboot-react": "^0.39.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "@types/eslint__js": "^8.42.3",