Skip to content

Commit 240b957

Browse files
authored
Merge branch 'main' into fix/start-transaction-desynced-rollback
2 parents 0913c18 + cfba533 commit 240b957

50 files changed

Lines changed: 13976 additions & 763 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/claude.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# name: Claude
2+
3+
# on:
4+
# pull_request:
5+
# types: [opened, synchronize, ready_for_review, reopened]
6+
# pull_request_review:
7+
# types: [submitted]
8+
# issue_comment:
9+
# types: [created]
10+
# pull_request_review_comment:
11+
# types: [created]
12+
# issues:
13+
# types: [opened, assigned]
14+
# workflow_run:
15+
# workflows: [Tests]
16+
# types: [completed]
17+
18+
# jobs:
19+
# claude:
20+
# # Caller must grant the union of every permission the callee's jobs ask
21+
# # for; reusable workflows can't exceed the caller's ceiling.
22+
# permissions:
23+
# contents: write
24+
# pull-requests: write
25+
# issues: write
26+
# actions: read
27+
# id-token: write
28+
# uses: abnegate/claude-pr-owner/.github/workflows/orchestrator.yml@7138fd26ee7317ac1f05001eafeb41d371ba58a6 # v0.6.0
29+
# secrets:
30+
# oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
31+
# # PAT with `contents: write` on this repo. Without this, commits pushed
32+
# # by the consolidator (authenticated with GITHUB_TOKEN) do not trigger
33+
# # workflow_run/synchronize events, so Tests/CodeQL/Linter stay dormant
34+
# # on Claude's fixes.
35+
# push_token: ${{ secrets.CLAUDE_PUSH_TOKEN }}
36+
# with:
37+
# # improvement: true
38+
# # healing: true
39+
# bots: true
40+
# comments: true

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212
with:
1313
fetch-depth: 2
1414

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212
with:
1313
fetch-depth: 2
1414

.github/workflows/tests.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020

2121
- name: Set up Docker Buildx
22-
uses: docker/setup-buildx-action@v3
22+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
2323

2424
- name: Build Docker Image
25-
uses: docker/build-push-action@v3
25+
uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1
2626
with:
2727
context: .
2828
push: false
@@ -33,7 +33,7 @@ jobs:
3333
outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar
3434

3535
- name: Cache Docker Image
36-
uses: actions/cache@v3
36+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
3737
with:
3838
key: ${{ env.CACHE_KEY }}
3939
path: /tmp/${{ env.IMAGE }}.tar
@@ -45,10 +45,10 @@ jobs:
4545

4646
steps:
4747
- name: checkout
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4949

5050
- name: Load Cache
51-
uses: actions/cache@v3
51+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
5252
with:
5353
key: ${{ env.CACHE_KEY }}
5454
path: /tmp/${{ env.IMAGE }}.tar
@@ -76,22 +76,25 @@ jobs:
7676
MySQL,
7777
Postgres,
7878
SQLite,
79+
Memory,
7980
Mirror,
8081
Pool,
82+
Redis,
8183
SharedTables/MongoDB,
8284
SharedTables/MariaDB,
8385
SharedTables/MySQL,
8486
SharedTables/Postgres,
8587
SharedTables/SQLite,
88+
SharedTables/Redis,
8689
Schemaless/MongoDB,
8790
]
8891

8992
steps:
9093
- name: checkout
91-
uses: actions/checkout@v4
94+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9295

9396
- name: Load Cache
94-
uses: actions/cache@v3
97+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
9598
with:
9699
key: ${{ env.CACHE_KEY }}
97100
path: /tmp/${{ env.IMAGE }}.tar

bin/cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_once '/usr/src/code/vendor/autoload.php';
44

55
use Utopia\CLI\CLI;
6-
use Utopia\CLI\Console;
6+
use Utopia\Console;
77

88
ini_set('memory_limit', '-1');
99

bin/tasks/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Utopia\Cache\Adapter\None as NoCache;
99
use Utopia\Cache\Cache;
1010
use Utopia\CLI\CLI;
11-
use Utopia\CLI\Console;
11+
use Utopia\Console;
1212
use Utopia\Database\Adapter\MariaDB;
1313
use Utopia\Database\Adapter\MySQL;
1414
use Utopia\Database\Adapter\Postgres;

bin/tasks/load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Swoole\Database\PDOPool;
77
use Utopia\Cache\Adapter\None as NoCache;
88
use Utopia\Cache\Cache;
9-
use Utopia\CLI\Console;
9+
use Utopia\Console;
1010
use Utopia\Database\Adapter\MariaDB;
1111
use Utopia\Database\Adapter\MySQL;
1212
use Utopia\Database\Adapter\Postgres;

bin/tasks/operators.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
use Utopia\Cache\Adapter\None as NoCache;
2121
use Utopia\Cache\Cache;
22-
use Utopia\CLI\Console;
22+
use Utopia\Console;
2323
use Utopia\Database\Adapter\MariaDB;
2424
use Utopia\Database\Adapter\MySQL;
2525
use Utopia\Database\Adapter\Postgres;

bin/tasks/query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Utopia\Cache\Adapter\None as NoCache;
1010
use Utopia\Cache\Cache;
1111
use Utopia\CLI\CLI;
12-
use Utopia\CLI\Console;
12+
use Utopia\Console;
1313
use Utopia\Database\Adapter\MariaDB;
1414
use Utopia\Database\Adapter\MySQL;
1515
use Utopia\Database\Adapter\Postgres;

bin/tasks/relationships.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Swoole\Database\PDOPool;
1010
use Utopia\Cache\Adapter\None as NoCache;
1111
use Utopia\Cache\Cache;
12-
use Utopia\CLI\Console;
12+
use Utopia\Console;
1313
use Utopia\Database\Adapter\MariaDB;
1414
use Utopia\Database\Adapter\MySQL;
1515
use Utopia\Database\Adapter\Postgres;

0 commit comments

Comments
 (0)