Skip to content

chore(deps): require utopia-php/queue ^2.2.3 - #13624

Merged
ChiragAgg5k merged 1 commit into
mainfrom
chore/queue-2-2-3
Sep 11, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
chore/queue-2-2-3

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

What does this PR do?

Bumps utopia-php/queue from 2.2.1 to 2.2.3. 2.2.3 (utopia-php/monorepo#260) makes Connection\Redis call auth() after connect(), using the ACL [user, password] pair when a user is set. #13622 already passes the DSN credentials into that constructor, so with this bump the queue publisher and the worker consumers authenticate against a password-protected or ACL-secured Redis. This closes the last gap behind #13554.

Test Plan

Dev image rebuilt with this lock, then appwrite, appwrite-worker, appwrite-realtime and appwrite-task-scheduler recreated with _APP_REDIS_HOST=redis-acl _APP_REDIS_USER=appwrite _APP_REDIS_PASS=userpw, where the Redis has requirepass, an ACL user appwrite, and the default user disabled.

Before this bump (with #13622 merged), the queue paths were the only ones still failing:

appwrite-task-scheduler   [StatsResources] Failed to publish stats resources message: NOAUTH Authentication required.
redis CLIENT LIST         15 × user=default cmd=brpop   (worker consumers, unauthenticated)

After this bump, console account creation succeeds, the worker picks up the resulting jobs, and every Redis client is the ACL user:

redis CLIENT LIST
  26 user=appwrite
  15 cmd=brpop      (worker consumers)
   4 cmd=hget
   1 cmd=lpush      (publisher)
   1 cmd=subscribe  (realtime)
   1 cmd=evalsha    (lock)

NOAUTH / WRONGPASS in the last 3 minutes of logs:
  appwrite 0, appwrite-worker 0, appwrite-realtime 0, appwrite-task-scheduler 0

appwrite-worker
  webhooks  v1-webhooks  8
  jobs      v1-jobs      8
  mails     v1-mails     1

composer validate passes; the lock diff is the utopia-php/queue entry only.

Related PRs and Issues

Checklist

2.2.3 authenticates the queue Redis connection with the user and password Appwrite now passes from the DSN (#13622), so publishers and consumers work against a password-protected or ACL-secured Redis.
@ChiragAgg5k
ChiragAgg5k merged commit a099835 into main Sep 11, 2026
10 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the chore/queue-2-2-3 branch September 11, 2026 10:11
@greptile-apps

greptile-apps Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The dependency bump appears safe to merge, with consistent manifest and lockfile updates and no identified regressions.

Summary

  • Raises the Composer constraint to ^2.2.3.
  • Refreshes the lockfile package reference and content hash.
  • Introduces no transitive dependency requirement changes.

Reviews (1) · Last reviewed commit: "chore(deps): require utopia-php/queue ^2..."

@ChiragAgg5k ChiragAgg5k mentioned this pull request Sep 11, 2026
2 of 4 tasks
@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → chore/queue-2-2-3 (after).

Metric Before After Change
🚀 Requests/sec 180.66 172.18 ⚪ -4.7%
⏱️ Latency P50 95.95 ms 98.84 ms ⚪ +3%
⏱️ Latency P95 229.52 ms 242.49 ms 🔴 +5.7%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 98.84 242.49 10,887 172.18 +12.98
Account 203.32 387.6 573 9.48 +6.57
TablesDB 95.53 175.49 5,921 96.43 +4.01
Storage 92.91 209.57 2,865 48.45 +20.35
Functions 143.92 288.11 1,528 26.58 +11.87

Top API waits (after)

API request Max wait (ms)
account.name.update 633.02
account.prefs.update 580.44
functions.variables.create 511.4
functions.delete 498.68
account.get 475.84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants