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
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
fetch-depth: 2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
fetch-depth: 2

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

- name: Load Cache
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

- name: Load Cache
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM composer:2.8 AS composer
FROM composer:2.10@sha256:2cf275428757e5435a667bfc0d038b14520ca02be2b1b70d44a05c8c19e2de48 AS composer

WORKDIR /usr/local/src/

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": "^6.1.3 || ^7.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
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
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 Down
Loading