Compare commits

...
Author SHA1 Message Date
fogelito 10fd004424 Bump db version 2025-08-13 15:39:03 +03:00
fogelito e9ef16bb13 Run tests 2025-08-13 14:03:20 +03:00
fogelito 919fc357f3 Merge branch '1.8.x' of https://github.com/appwrite/appwrite into get-sequence-null 2025-08-13 13:52:26 +03:00
fogelito 4bdc0c21f7 Run tests 2025-08-13 13:45:59 +03:00
fogelito 43303cb62d Run tests 2025-08-13 13:43:28 +03:00
fogelito 259f7eff30 Merge branch '1.8.x' of https://github.com/appwrite/appwrite into get-sequence-null
# Conflicts:
#	composer.json
#	composer.lock
2025-08-13 13:41:50 +03:00
fogelito fa69be5cd5 Run tests 2025-08-13 13:40:19 +03:00
fogelito f284d0510a Update lock 2025-08-11 13:31:28 +03:00
fogelito 349b505d80 Merge branch '1.8.x' of https://github.com/appwrite/appwrite into get-sequence-null
# Conflicts:
#	composer.json
#	composer.lock
2025-08-11 13:31:02 +03:00
fogelito d6ff61446f Update lock 2025-08-11 13:26:39 +03:00
fogelito b12192fc3e Update database lib 2025-08-11 13:24:50 +03:00
fogelito ddf76ef81e Comments 2025-08-06 19:46:56 +03:00
fogelito 627fd11b73 Merge branch '1.8.x' of https://github.com/appwrite/appwrite into get-sequence-null 2025-08-06 16:41:48 +03:00
fogelito 3adf8d826d Run tests 2025-08-06 16:34:49 +03:00
fogelito 62ec4f9aca Run tests 2025-08-06 13:18:59 +03:00
fogelito 80f37ef1e4 Move $executionId 2025-08-06 09:47:11 +03:00
fogelito d7a5b413c9 Run tests 2025-08-06 09:34:17 +03:00
3 changed files with 16 additions and 14 deletions
Generated
+12 -12
View File
@@ -1228,16 +1228,16 @@
},
{
"name": "open-telemetry/context",
"version": "1.3.0",
"version": "1.3.1",
"source": {
"type": "git",
"url": "https://github.com/opentelemetry-php/context.git",
"reference": "4d5d98f1d4311a55b8d07e3d4c06d2430b4e6efc"
"reference": "438f71812242db3f196fb4c717c6f92cbc819be6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/opentelemetry-php/context/zipball/4d5d98f1d4311a55b8d07e3d4c06d2430b4e6efc",
"reference": "4d5d98f1d4311a55b8d07e3d4c06d2430b4e6efc",
"url": "https://api.github.com/repos/opentelemetry-php/context/zipball/438f71812242db3f196fb4c717c6f92cbc819be6",
"reference": "438f71812242db3f196fb4c717c6f92cbc819be6",
"shasum": ""
},
"require": {
@@ -1283,7 +1283,7 @@
"issues": "https://github.com/open-telemetry/opentelemetry-php/issues",
"source": "https://github.com/open-telemetry/opentelemetry-php"
},
"time": "2025-08-04T03:25:06+00:00"
"time": "2025-08-13T01:12:00+00:00"
},
{
"name": "open-telemetry/exporter-otlp",
@@ -3545,16 +3545,16 @@
},
{
"name": "utopia-php/database",
"version": "1.0.0",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/database.git",
"reference": "eaa4e275cefdeeb90bcece2f056e05b59f5b1473"
"reference": "33f35f5daeebd587f79abf362cfb512b9df3cd50"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/eaa4e275cefdeeb90bcece2f056e05b59f5b1473",
"reference": "eaa4e275cefdeeb90bcece2f056e05b59f5b1473",
"url": "https://api.github.com/repos/utopia-php/database/zipball/33f35f5daeebd587f79abf362cfb512b9df3cd50",
"reference": "33f35f5daeebd587f79abf362cfb512b9df3cd50",
"shasum": ""
},
"require": {
@@ -3595,9 +3595,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/1.0.0"
"source": "https://github.com/utopia-php/database/tree/1.0.1"
},
"time": "2025-08-11T13:56:31+00:00"
"time": "2025-08-13T12:28:06+00:00"
},
{
"name": "utopia-php/detector",
@@ -8399,7 +8399,7 @@
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {},
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
@@ -285,6 +285,7 @@ class Create extends Base
if ($async) {
if (is_null($scheduledAt)) {
$execution = Authorization::skip(fn () => $dbForProject->createDocument('executions', $execution));
$queueForFunctions
->setType('http')
->setExecution($execution)
@@ -320,7 +321,7 @@ class Create extends Base
'active' => true,
]));
$execution = $execution
$execution
->setAttribute('scheduleId', $schedule->getId())
->setAttribute('scheduleInternalId', $schedule->getSequence())
->setAttribute('scheduledAt', $scheduledAt);
@@ -112,7 +112,6 @@ class FunctionsScheduleTest extends Scope
]
]
);
$executionId = $execution['body']['$id'];
$this->assertEquals(202, $execution['headers']['status-code']);
$this->assertEquals('scheduled', $execution['body']['status']);
@@ -120,6 +119,8 @@ class FunctionsScheduleTest extends Scope
$this->assertEquals('/custom-path', $execution['body']['requestPath']);
$this->assertCount(0, $execution['body']['requestHeaders']);
$executionId = $execution['body']['$id'];
\sleep(120);
$this->assertEventually(function () use ($functionId, $executionId) {