Commit graph

709 commits

Author SHA1 Message Date
Khushboo Verma
6cf53bbb81 Add E2E variable test for functions 2025-02-10 19:05:27 +05:30
Khushboo Verma
f96291af88 Add tests for function variables 2025-02-10 16:24:14 +05:30
Matej Bačo
124cff7bf2 temporary disable test 2025-02-03 11:49:20 +01:00
Matej Bačo
f9430d4d20 Merge branch '1.6.x' into fix-site-tests 2025-02-03 10:05:30 +01:00
Matej Bačo
1946df83a7 Merge remote-tracking branch 'origin/1.6.x' into 1.7.x 2025-02-03 09:03:04 +00:00
Christy Jacob
8bdafb46d6 chore: review comments & refactoring 2025-01-17 10:38:39 +05:30
Khushboo Verma
dd87cdbebf Fix remaining vars 2024-10-27 18:04:40 +01:00
Khushboo Verma
a503803725 Add secret attribute to variables 2024-10-21 16:33:57 +02:00
Matej Bačo
408dcbc263 Add async exec doc test 2024-10-14 13:06:08 +00:00
loks0n
3b4fea655a chore: revert logs 2024-10-09 14:27:38 +01:00
loks0n
8f4594babb debug: ci docker logs 2024-10-09 14:12:46 +01:00
loks0n
e90df389dd debug: non override 2024-10-09 14:02:55 +01:00
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines" 2024-10-08 20:54:40 +13:00
Binyamin Yawitz
d1729404c1
fix: adjusting test 2024-10-07 13:29:35 -04:00
Binyamin Yawitz
c06948b266
fixes: phpstan 2024-10-07 12:57:07 -04:00
Binyamin Yawitz
16835f96bf
chore: merge 2024-10-07 11:02:18 -04:00
Khushboo Verma
34527efc79 Use helper functions 2024-10-03 16:07:01 +05:30
Khushboo Verma
ef6ed675b3 Fix request response filter tests 2024-10-03 15:26:31 +05:30
Khushboo Verma
b96bd3bff6 Resolve merge conflicts 2024-10-03 15:03:05 +05:30
loks0n
886687ed34 fix: reorder assertions 2024-10-02 15:19:15 +01:00
loks0n
a45db60313 fix: falsy values 2024-10-02 14:16:25 +01:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head 2024-10-01 10:30:47 -04:00
Khushboo Verma
fdf73f8a7a Add test for request filters 2024-09-25 23:36:00 +05:30
Khushboo Verma
5f97aafe46 More asserts 2024-09-25 17:38:30 +05:30
Matej Bačo
0753163066 PR review changes 2024-09-25 13:32:09 +02:00
loks0n
f6e3759f6b chore: add async 2024-09-22 20:14:58 +01:00
loks0n
097b342869 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-flaky-tests 2024-09-22 20:14:37 +01:00
loks0n
f0485ca870 fix: use boolean false 2024-09-20 18:30:26 +01:00
Binyamin Yawitz
5512340cdd
Revert "Feat eldad4 coroutines" 2024-09-20 12:30:05 -04:00
loks0n
42ae429153 chore: remove test 2024-09-20 13:49:29 +01:00
loks0n
cefc7a1d4b chore: fmt 2024-09-20 13:44:34 +01:00
loks0n
2d102a122c fix: tests 2024-09-20 13:42:08 +01:00
loks0n
41490602f7 fix: template 2024-09-20 10:38:43 +01:00
loks0n
8e13aafbc8 fixes 2024-09-20 10:29:49 +01:00
loks0n
1509aa544d debug: output fail deployment 2024-09-20 09:43:41 +01:00
loks0n
f24863349e fixes 2024-09-20 09:41:34 +01:00
loks0n
72ddef855e chore: fmt 2024-09-20 09:16:18 +01:00
loks0n
321227db15 fix: seperate tests 2024-09-20 09:15:05 +01:00
Khushboo Verma
b621ec2e8b test for response and request filters 2024-09-20 12:50:30 +05:30
loks0n
f04e47b3d4 chore: fmt 2024-09-19 22:11:44 +01:00
loks0n
92ce8d711d feat: split scheduled tests 2024-09-19 22:10:04 +01:00
loks0n
19ea682a52 chore: timeouts 2024-09-19 21:54:25 +01:00
loks0n
906ef59d95 chore: fmt 2024-09-19 21:36:19 +01:00
loks0n
410a35deb5 fix: spacing 2024-09-19 21:29:18 +01:00
loks0n
cb0416be7b chore: fmt 2024-09-19 21:08:04 +01:00
loks0n
65c0db3285 fix: package function 2024-09-19 20:58:09 +01:00
loks0n
504711845a fix: stdout 2024-09-19 20:46:05 +01:00
loks0n
32657e22cc fix: conflicts 2024-09-19 20:34:38 +01:00
loks0n
cb66c9073c Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-flaky-tests 2024-09-19 20:31:00 +01:00
loks0n
964b616e05 fix: refactor custom server test 2024-09-19 20:21:00 +01:00
loks0n
af509f3479 fix: flakyness 2024-09-19 14:17:38 +01:00
loks0n
979fcacd6c fix: abstract requests 2024-09-19 12:35:52 +01:00
loks0n
121b9f32b8 fix: allowFailure 2024-09-18 14:50:36 +01:00
loks0n
20fa8b3017 fix: flaky functions shot 1 2024-09-18 14:29:44 +01:00
Binyamin Yawitz
1581a8c654
chore: merge 2024-09-18 09:28:55 -04:00
Binyamin Yawitz
e246005c51
chore: merge 2024-09-16 11:17:40 -04:00
Matej Bačo
c4991b9941 Merge remote-tracking branch 'origin/1.6.x' into fix-scheduled-executions 2024-09-14 10:28:30 +00:00
Matej Bačo
056a646c26 Fix failing tests 2024-09-14 10:28:14 +00:00
Christy Jacob
ca9af0510a
Merge pull request #8627 from appwrite/fix-functions-logging
Fix: logging behaviour for Functions
2024-09-10 14:49:06 +04:00
Matej Bačo
b1769ed5ca Fix scheduled executions data 2024-09-07 12:20:23 +02:00
Binyamin Yawitz
9e525366cb
Merge branch '1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/controllers/api/functions.php
#	app/init.php
#	composer.lock
#	src/Appwrite/Specification/Format/Swagger2.php
2024-09-05 18:09:16 -04:00
Matej Bačo
4ae5e82d6f Fix logging behaviour; new tests 2024-09-05 13:23:24 +00:00
Matej Bačo
30a69641cb
Merge branch '1.6.x' into fix-function-template-async-test 2024-09-05 10:40:04 +02:00
Jake Barnby
c58fa78962
Remove tenant in filter 2024-09-05 14:25:11 +12:00
Binyamin Yawitz
74a8c7da12
fix: fixes 2024-09-04 16:41:45 -04:00
Binyamin Yawitz
feb775d2c4
chore: merge, lint, stan 2024-09-04 14:52:01 -04:00
Matej Bačo
0fcaaf99da Add async dynamic key template test 2024-09-04 18:12:11 +00:00
Binyamin Yawitz
7d6eac4ddb
Merge branch '1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/cli.php
#	app/controllers/api/account.php
#	app/controllers/api/functions.php
#	app/controllers/api/projects.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/http.php
#	app/init.php
#	app/realtime.php
#	app/worker.php
#	composer.json
#	composer.lock
#	src/Appwrite/Migration/Migration.php
#	src/Appwrite/Platform/Tasks/Migrate.php
#	src/Appwrite/Platform/Tasks/ScheduleExecutions.php
#	src/Appwrite/Platform/Workers/Builds.php
#	src/Appwrite/Platform/Workers/Deletes.php
#	src/Appwrite/Specification/Format/Swagger2.php
#	src/Appwrite/Utopia/Response.php
2024-09-03 19:06:48 -04:00
Bradley Schofield
e17f391f25 Improve Test Reliabiltiy 2024-09-02 18:57:02 +09:00
Bradley Schofield
c4d64a52d6 Fix Bandwidth and other metrics not being tracked for custom domain executions 2024-08-30 12:55:25 +09:00
Matej Bačo
2a6873b756 Fix test 2024-08-22 10:51:08 +00:00
Matej Bačo
695844faa1 Merge remote-tracking branch 'origin/1.6.x' into feat-separate-function-sizes 2024-08-21 07:17:46 +00:00
Matej Bačo
35b954c335 Fix empty size, cancelled builds 2024-08-20 11:38:42 +00:00
Matej Bačo
d87f47ee3c Improve tests 2024-08-19 14:18:57 +00:00
Bradley Schofield
8780c378e6
Merge branch '1.6.x' into feat-runtime-controls-1.5.x 2024-08-19 20:54:48 +09:00
Matej Bačo
7c35464f73 Fix tests 2024-08-19 09:00:56 +00:00
Matej Bačo
ef8075f86b Fix missing function variables 2024-08-19 08:50:30 +00:00
Bradley Schofield
f4bf57efcb Merge remote-tracking branch 'origin/1.6.x' into feat-runtime-controls-1.5.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
2024-08-19 14:05:56 +09:00
Khushboo Verma
73819ced1b
Merge branch '1.6.x' into fix-templateBranch-in-request-filter 2024-08-16 22:17:30 +05:30
Khushboo Verma
0960a0cd3c Update tests 2024-08-16 18:01:15 +05:30
Khushboo Verma
e36c8786ea Add test for response format 2024-08-16 17:50:19 +05:30
Matej Bačo
8999c2d3f2 Fix failing tests 2024-08-16 10:17:35 +00:00
Matej Bačo
894a2bb646 Add seconds precision to scheduledAt 2024-08-16 09:11:13 +00:00
Bradley Schofield
4128d4f221 Merge 1.6.x into feat-runtime-controls 2024-08-16 04:39:21 +00:00
Matej Bačo
bc83b3e5ed Merge remote-tracking branch 'origin/1.6.x' into fix-16x-qa 2024-08-15 09:02:09 +00:00
Bradley Schofield
6b9b1286a4
Merge branch '1.6.x' into feat-runtime-controls-1.5.x 2024-08-15 11:17:50 +09:00
Matej Bačo
d6676c2e4d Fix tests 2024-08-14 16:35:24 +00:00
Matej Bačo
f45f2f127b Merge remote-tracking branch 'origin/1.6.x' into fix-manual-templates 2024-08-14 16:00:34 +00:00
Matej Bačo
9d8c0d37f6 PR review changes 2024-08-14 16:00:13 +00:00
Matej Bačo
e7b9218db8 Fix test 2024-08-14 14:52:00 +00:00
Matej Bačo
a7df513d33 Faster test 2024-08-14 14:38:41 +00:00
Matej Bačo
dae977acd7 Improve test 2024-08-14 14:38:15 +00:00
Matej Bačo
839ed27158 Improve failure test logs 2024-08-14 14:19:08 +00:00
Matej Bačo
c91bfebbe7 Flaky test improvement 2024-08-14 13:32:15 +00:00
Matej Bačo
a7e68836e9 Make flaky test consistent 2024-08-14 13:32:05 +00:00
Matej Bačo
71840c1f93 Fix tests 2024-08-14 12:58:28 +00:00
Matej Bačo
af9acf9f70 Fix tests 2024-08-14 12:50:25 +00:00
Matej Bačo
c8e9f2e913 Add template deployment test 2024-08-14 12:14:07 +00:00
Bradley Schofield
5285ef9939 Merge remote-tracking branch 'origin/1.6.x' into feat-runtime-controls-1.5.x 2024-08-14 19:36:15 +09:00
Matej Bačo
365edae7a9 Fix failing test 2024-08-14 10:12:57 +00:00
Matej Bačo
9964631bb7 Apply new terminology for template branch 2024-08-14 10:01:04 +00:00
Khushboo Verma
59aa5fb7ce Add test for boundary 2024-08-14 15:23:07 +05:30
Christy Jacob
bfa253297b Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6-main 2024-08-13 15:36:13 +00:00
Khushboo Verma
e4cfcd00fd Updated composer.json 2024-08-12 23:17:22 +05:30
Christy Jacob
ad43e1c419
Merge pull request #8412 from appwrite/feat-schedule-execution-improvements
feat: schedule execution improvements
2024-08-12 19:59:56 +04:00
Khushboo Verma
468a97bcd2 Merge branch '1.6.x' into feat-add-multipart-support 2024-08-12 15:39:46 +05:30
Khushboo Verma
70c0c7707a Add tests for negative size and invalid-string 2024-08-12 15:27:50 +05:30
Khushboo Verma
1a5b5f15b0 Merge branch '1.6.x' into chore-allow-more-deployment-attributes 2024-08-12 15:21:21 +05:30
Khushboo Verma
6f1655a420 Add tests for querying deployments with size and type 2024-08-12 15:20:24 +05:30
Luke B. Silver
4b5d8b4102
Merge branch '1.6.x' into feat-schedule-execution-improvements 2024-08-12 10:42:52 +01:00
Christy Jacob
4f0a265520
Merge pull request #8503 from appwrite/feat-base-runtimes
feat: base runtimes key
2024-08-12 13:41:54 +04:00
Christy Jacob
70c933f8d8
Merge pull request #8492 from appwrite/feat-dynamic-keys-build
Feat: Dynamic keys in builds
2024-08-12 13:24:30 +04:00
Matej Bačo
47a0998211
Merge branch '1.6.x' into fix-4xx-executions-status 2024-08-12 09:54:55 +02:00
Matej Bačo
1334cf116b Speed up new test 2024-08-12 07:26:20 +00:00
Matej Bačo
e6664fde7a
Merge branch '1.6.x' into feat-dynamic-keys-build 2024-08-12 09:20:30 +02:00
Khushboo Verma
c8d04c11eb Added more tests to headers validator 2024-08-11 02:25:03 +05:30
Khushboo Verma
deeffa2a6b Updated test 2024-08-09 20:38:50 +05:30
Khushboo Verma
f3e4987f6c
Merge branch '1.6.x' into feat-add-multipart-support 2024-08-09 19:38:26 +05:30
loks0n
0e773fefdf feat: improve test 2024-08-09 13:10:07 +01:00
loks0n
f6dec62c50 feat: add base/key runtime 2024-08-09 12:56:55 +01:00
loks0n
1024c98bb2 Merge branch 'feat-schedule-execution-improvements' of https://github.com/appwrite/appwrite into feat-schedule-execution-improvements 2024-08-09 11:30:16 +01:00
loks0n
464e1e247c test: fix expect 400 2024-08-09 11:30:01 +01:00
Luke B. Silver
a1df29d5f6
Merge branch '1.6.x' into feat-schedule-execution-improvements 2024-08-09 10:44:38 +01:00
loks0n
30132e7e93 test: fix body check, not possible 2024-08-09 10:43:08 +01:00
Khushboo Verma
7cfdf40b47 Fix tests 2024-08-08 19:38:59 +05:30
Khushboo Verma
caa234f140 Add scopes to function template 2024-08-08 19:15:00 +05:30
Matej Bačo
f561311d76 Fix failing test 2024-08-08 08:50:01 +00:00
Matej Bačo
25f5c83594 Fix 4XX execution status 2024-08-08 08:38:15 +00:00
Matej Bačo
5b184236c1 Dynamic keys in builds 2024-08-08 09:38:37 +02:00
Bradley Schofield
81efc4aff9 Update test 2024-08-08 11:28:57 +09:00
loks0n
b87cabfc49 test: fix unused var 2024-08-07 17:49:03 +01:00
Khushboo Verma
dcf1684c8c Update dynamic response method 2024-08-07 18:45:53 +05:30
Binyamin Yawitz
9ed43ebbc2
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/controllers/api/functions.php
#	app/controllers/general.php
#	app/init.php
#	composer.lock
#	dev/xdebug.ini
#	src/Appwrite/Utopia/Response.php
2024-08-06 14:57:05 -04:00
Khushboo Verma
d4cb90c608 Addressed PR comments 2024-08-06 23:01:09 +05:30
Bradley Schofield
e51f912ab1 Address Jake's comments and add 0.5 cpu spec 2024-08-06 18:54:46 +09:00
Khushboo Verma
6c6ef78238 Resolve conflict 2024-08-05 18:41:35 +05:30
Khushboo Verma
3190384d24 Add multipart support 2024-08-05 18:38:41 +05:30
Bradley Schofield
19e7769d8c Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-08-05 17:38:14 +09:00
Bradley Schofield
3a91fee41b Run Linter 2024-08-05 12:24:27 +09:00
Bradley Schofield
4801fb816a Fix Tests 2024-08-05 12:21:10 +09:00
Bradley Schofield
f5571b4caa Add Metric Tests to Domain Executions 2024-08-02 16:24:54 +09:00
Bradley Schofield
dcbf8356c0 Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-08-01 19:23:56 +09:00
Christy Jacob
cf4030095f chore: linter 2024-07-31 20:48:59 +00:00
Christy Jacob
de1d205341 chore: update changes from merge 2024-07-31 20:43:28 +00:00
Christy Jacob
654b73c966 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-schedule-execution-improvements 2024-07-31 20:41:42 +00:00
Christy Jacob
c70f3476e2
Merge pull request #8444 from appwrite/tests-functions-refactoring
tests: Refactor deployment check in function tests
2024-08-01 00:16:00 +04:00
Bradley Schofield
2060d3f09c Rename everything to use specification instead of size 2024-07-31 20:27:32 +09:00
Khushboo Verma
395f431718 Add endpoint to get template by ID 2024-07-30 17:16:45 +05:30
Khushboo Verma
939adfd09b Improve tests 2024-07-30 16:11:04 +05:30
Bradley Schofield
f46e210000 Move mbSeconds into 1.5.x 2024-07-30 17:53:28 +09:00