Skip to content
Open
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM composer:2.8@sha256:5248900ab8b5f7f880c2d62180e40960cd87f60149ec9a1abfd62ac72a02577c AS composer
FROM composer:2.10@sha256:2cf275428757e5435a667bfc0d038b14520ca02be2b1b70d44a05c8c19e2de48 AS composer

WORKDIR /usr/local/src/

Expand All @@ -13,7 +13,7 @@ RUN composer install \
--prefer-dist


FROM php:8.5.8-cli-alpine@sha256:8d7090ce03736b6ecfd739d87a46ab59b5d1d0d837f1ac7c5d2702f1d312f5a0 AS compile
FROM php:8.6.0-cli-alpine@sha256:7cadc021ea2464b01da1e546c51e3d5ffe924a07ce75d169c1608457ad56879f AS compile

ENV PHP_REDIS_VERSION="6.3.0" \
PHP_SWOOLE_VERSION="v6.2.2" \
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"ext-mbstring": "*",
"ext-redis": "*",
"utopia-php/validators": "^1.0 || ^2.0",
"utopia-php/console": "^0.1 || ^0.2",
"utopia-php/console": "^0.1 || ^0.2 || ^0.3",
"utopia-php/cache": "^8.0",
"utopia-php/pools": "^2.0",
"utopia-php/mongo": "^1.5.4",
Expand All @@ -61,7 +61,7 @@
"fakerphp/faker": "^1.23",
"phpunit/phpunit": "^12.5",
"brianium/paratest": "^7.20",
"swoole/ide-helper": "5.1.3",
"swoole/ide-helper": "5.1.8",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] Update the lockfile with the new Swoole version

composer.lock still locks swoole/ide-helper at 5.1.3, which does not satisfy this exact 5.1.8 requirement. As a result, composer install fails in the Docker build and other CI jobs that install dependencies; update the lockfile along with this constraint.

Prompt To Fix With AI
This is a comment left during a code review.
Path: composer.json
Line: 64

Comment:
**[major] Update the lockfile with the new Swoole version**

`composer.lock` still locks `swoole/ide-helper` at 5.1.3, which does not satisfy this exact 5.1.8 requirement. As a result, `composer install` fails in the Docker build and other CI jobs that install dependencies; update the lockfile along with this constraint.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

🟠 Major · bug · Reply if this doesn't apply.

"utopia-php/cli": "^0.24.4",
"laravel/pint": "^1.29",
"phpstan/phpstan": "^2.1",
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ services:
retries: 3

mongo:
image: mongo:8.0.14
image: mongo:8.3.17
container_name: utopia-mongo
profiles: [mongo]
entrypoint: ["/entrypoint.sh"]
Expand Down Expand Up @@ -164,7 +164,7 @@ services:
ME_CONFIG_BASICAUTH_PASSWORD: admin

mysql:
image: mysql:8.0.43
image: mysql:8.4.13
container_name: utopia-mysql
profiles: [mysql]
networks:
Expand All @@ -187,7 +187,7 @@ services:
start_period: 30s

mysql-mirror:
image: mysql:8.0.43
image: mysql:8.4.13
container_name: utopia-mysql-mirror
profiles: [mysql-mirror]
networks:
Expand All @@ -210,7 +210,7 @@ services:
start_period: 30s

redis:
image: redis:8.2.1-alpine3.22
image: redis:8.4.8-alpine3.22
container_name: utopia-redis
restart: always
ports:
Expand All @@ -225,7 +225,7 @@ services:
start_period: 5s

redis-mirror:
image: redis:8.2.1-alpine3.22
image: redis:8.4.8-alpine3.22
container_name: utopia-redis-mirror
profiles: [redis-mirror]
restart: always
Expand Down
Loading