appwrite/tests/unit
Jake Barnby 304b0dab35
(fix): address greptile P1 review comments
- Add skipFilters to Reports/Get.php (was the only endpoint still
  triggering the full N+1 subquery cascade)
- Scale CTA batch limit dynamically (insightCount * MAX_CTA_COUNT)
  instead of fixed APP_LIMIT_SUBQUERY to prevent silent truncation
- Revert deleteReport to callback-based pagination so CTAs are not
  orphaned when a report has more than APP_LIMIT_SUBQUERY insights
- Add explicit prefix lengths (700) to _key_project_resource and
  _key_project_parent_resource indexes to stay under InnoDB 3072-byte limit
- Validate CTA service/method against ADVISOR_CTA_SERVICES and
  ADVISOR_CTA_METHODS enums in the CTAs validator

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-13 01:42:59 +12:00
..
Advisor/Validator (fix): address greptile P1 review comments 2026-05-13 01:42:59 +12:00
Auth Rename from dynamic key to ephemeral key (api keys) 2026-04-28 17:18:06 +02:00
Detector tests: fix unit tests 2022-08-01 12:22:04 +02:00
Docker feat: worker executions 2026-02-09 20:20:44 +00:00
Event fix unit tests 2026-04-15 17:49:33 +05:30
Filter Sync 1.8.x 2026-02-26 18:50:29 +13:00
Functions/Validator chore: remove phpstan baseline 2026-04-01 23:01:11 +05:30
General Remove opcache test 2024-02-24 01:06:53 +13:00
GraphQL Fix GraphQL 15 static analysis 2026-04-14 10:26:59 +05:30
Messaging test(Messaging): validate that bare functions channel is not emitted in published channels 2026-04-27 18:46:04 +05:30
Migration Fix otp user 2026-01-11 02:49:28 +13:00
Network chore: bump PHPStan to level 4 and fix all new errors 2026-04-19 17:31:20 +05:30
OpenSSL tests: fix unit tests 2022-08-01 12:22:04 +02:00
Platform/Modules chore: bump PHPStan to level 4 and fix all new errors 2026-04-19 17:31:20 +05:30
SDK/Specification Remove scopes spec override, now fixed at source in #11839 2026-04-13 10:33:46 +05:30
Task/Validator Review updates for role helper usage 2022-08-19 16:04:33 +12:00
Template tests: fix unit tests 2022-08-01 12:22:04 +02:00
Transformation Update transformation lib structure 2025-02-14 10:01:27 +01:00
URL chore: bump PHPStan to level 4 and fix all new errors 2026-04-19 17:31:20 +05:30
Utopia Fix more tests 2026-05-11 17:01:00 +02:00
Vcs PR review fixes 2026-05-09 12:53:11 +02:00