Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .rbtrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .tests/serve_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 3 additions & 2 deletions backend/tests/hello_servicer_test.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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!")
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[project]
requires-python = ">= 3.10"
dependencies = [
"reboot==0.38.4",
"reboot==0.39.0",
]

[tool.rye]
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
Expand Down
31 changes: 18 additions & 13 deletions reboot-non-react-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion reboot-non-react-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
80 changes: 43 additions & 37 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down