Jake Barnby
c5b8535a7f
Merge pull request #12233 from appwrite/feat-dedicated-db
...
feat: dedicated database
2026-05-19 19:44:13 +12:00
Jake Barnby
c28f476462
Potential fix for pull request finding
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-19 18:24:06 +12:00
Jake Barnby
52b8e1b94d
chore: sync 1.9.x into feat-dedicated-db
2026-05-19 13:32:46 +12:00
ArnabChatterjee20k
4d3c60b36c
updated
2026-05-18 21:53:06 +05:30
ArnabChatterjee20k
349db8d370
fix: improve error handling for Utopia DB exceptions in realtime API
2026-05-18 21:49:13 +05:30
ArnabChatterjee20k
ff298cb206
updated clousure scope
2026-05-18 11:48:52 +05:30
ArnabChatterjee20k
8aa09cfcc1
fix: update checkForProjectUsage function to return void instead of Document
2026-05-18 11:32:37 +05:30
ArnabChatterjee20k
664c24173e
feat: update checkForProjectUsage function to return the project document
2026-05-18 11:06:33 +05:30
ArnabChatterjee20k
b2809c911d
fix: improve presence log deletion handling and ensure accurate event triggering
2026-05-18 11:02:21 +05:30
ArnabChatterjee20k
d18de7d1e8
feat: add checkForProjectUsage function and integrate it into message handling
2026-05-18 10:42:11 +05:30
ArnabChatterjee20k
a8670ee8fb
fix: update authorization handling in message processing to prevent state leakage
2026-05-15 13:17:14 +05:30
ArnabChatterjee20k
3703da188e
refactor: enhance presence management to prevent cross-user overwrites
2026-05-14 17:17:27 +05:30
ArnabChatterjee20k
faf13c502b
reordered set in the realtime
2026-05-14 12:46:58 +05:30
ArnabChatterjee20k
43da03ef63
removed redundant container set
2026-05-14 12:38:11 +05:30
ArnabChatterjee20k
a3542ed7fa
feat: enhance presence handling by refactoring usage and event triggering logic
2026-05-14 11:48:41 +05:30
ArnabChatterjee20k
0aa8d402ae
feat: streamline presence cleanup logic and enhance stale presence deletion
2026-05-14 11:36:55 +05:30
ArnabChatterjee20k
18a26809af
feat: improve user resolution during disconnect event for accurate actor context
2026-05-13 19:13:59 +05:30
ArnabChatterjee20k
42d3240d05
feat: refactor presence state usage and telemetry span naming for consistency
2026-05-13 19:12:11 +05:30
ArnabChatterjee20k
52c072489b
Merge remote-tracking branch 'origin/1.9.x' into presence-api
2026-05-13 18:58:44 +05:30
ArnabChatterjee20k
602ceb55ef
feat: refactor presence state usage across multiple files for consistency
2026-05-13 18:57:09 +05:30
ArnabChatterjee20k
f09aec7651
feat: update presence handling and refactor related attributes for consistency
2026-05-13 18:52:14 +05:30
loks0n
24e108fdbf
fix: use canonical project.id/user.id so trace sampler matches realtime and VCS spans
...
The sampler reads project.id from the span; realtime and VCS were storing it
under namespaced keys (realtime.project.id, vcs.github.event.repo.{id}.project.id),
causing all those spans to be dropped when _APP_TRACE_PROJECT_ID was set.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-13 11:03:28 +01:00
loks0n
a0c4b7695e
chore: normalize Span keys and centralize span lifecycle
...
Span attribute keys are now snake_case with dots only for child
relationships. Worker span lifecycle moved to app/worker.php; selective
trace filtering moved to the exporter sampler in app/init/span.php so
handlers only call Span::add.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-13 10:29:42 +01:00
ArnabChatterjee20k
f1e0ef2991
feat: refactor queue handling for events and realtime to use coroutine context
2026-05-13 14:04:41 +05:30
ArnabChatterjee20k
e799589d11
feat: implement deduplication for presence delete events and enhance presence management
2026-05-13 12:20:12 +05:30
ArnabChatterjee20k
efadf1d74b
removed redundant
2026-05-13 11:18:09 +05:30
ArnabChatterjee20k
5827f2ece6
fix: correct presence usage decrement in triggerPresenceUsage calls
2026-05-12 18:05:51 +05:30
ArnabChatterjee20k
cad35c7d5c
refactor: enhance presence deletion logic and add expiration check in Get action
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-11 16:47:36 +05:30
ArnabChatterjee20k
5767ab8ac7
refactor: update triggerPresenceUsage to accept Document and streamline presence cleanup logic
2026-05-08 12:09:12 +05:30
Jake Barnby
917ce627bb
chore: merge 1.9.x into feat-dedicated-db
2026-05-07 20:30:08 +12:00
ArnabChatterjee20k
6679d02a35
refactor: rename connection to connectionId for consistency across handlers
2026-05-07 11:48:45 +05:30
ArnabChatterjee20k
d2ea6ef2ca
removed redundant dumps
2026-05-06 12:33:42 +05:30
ArnabChatterjee20k
1946ee86b2
feat: add realtime message handlers for authentication, ping, presence, subscribe, and unsubscribe
2026-05-06 12:20:06 +05:30
ArnabChatterjee20k
6eb84c8235
Merge remote-tracking branch 'origin/presence-api' into realtime-messsage-dispatchers
2026-05-05 18:48:05 +05:30
ArnabChatterjee20k
f455bb7a58
refactor: add checks for queueForEvents and queueForRealtime in container setup; enhance presence resolution in tests
2026-05-05 17:11:49 +05:30
ArnabChatterjee20k
b0a2ef271a
updated the queue for event propagation
2026-05-05 11:35:49 +05:30
ArnabChatterjee20k
4822164e32
Inject global helpers into PresenceHandler for improved testability and maintainability.
2026-05-04 17:14:09 +05:30
ArnabChatterjee20k
42542aec61
Enhance error handling and validation in Realtime message dispatchers. Update error messages for clarity and enforce required parameters in AuthenticationHandler.
2026-05-04 17:11:35 +05:30
ArnabChatterjee20k
ced5b88b57
Refactor message dispatching and handler parameters for improved clarity and consistency. Update AuthenticationHandler and PresenceHandler to enforce required parameters.
2026-05-04 16:37:35 +05:30
ArnabChatterjee20k
0e0e40f991
fixed the container inheritance bug
2026-05-04 15:59:25 +05:30
ArnabChatterjee20k
429454ca0e
added handlers
2026-05-04 11:18:22 +05:30
ArnabChatterjee20k
8cef822e8f
Refactor presence management to use userInternalId instead of userId for improved consistency and clarity. Updated relevant methods in PresenceState and Upsert classes to reflect this change, ensuring proper handling of user identifiers across the application.
2026-04-30 18:50:46 +05:30
ArnabChatterjee20k
88bbb965f8
Merge remote-tracking branch 'origin/1.9.x' into presence-api
2026-04-30 16:41:48 +05:30
ArnabChatterjee20k
32dc870eaf
Refactor presence API functions and update expiry test to improve clarity and maintainability. Renamed 'triggerPresenceEvent' to 'getQueueForEventsForProject' and adjusted expiry handling in tests for better validation.
2026-04-30 15:56:31 +05:30
fogelito
7a9a2899ff
setGlobalCollections
2026-04-29 15:41:56 +03:00
ArnabChatterjee20k
06a05311a4
Merge remote-tracking branch 'origin/1.9.x' into presence-api
2026-04-29 15:04:20 +05:30
Jake Barnby
57b8305144
Merge pull request #12134 from appwrite/fix-realtime-span-exporter
...
added a guard to skip double import
2026-04-29 20:02:04 +12:00
ArnabChatterjee20k
b08f3bdc52
Merge remote-tracking branch 'origin/1.9.x' into presence-api
2026-04-29 11:29:59 +05:30
Jake Barnby
77942af4ea
Merge remote-tracking branch 'origin/1.9.x' into feat-dedicated-db
2026-04-29 13:53:52 +12:00
ArnabChatterjee20k
25ae2e7314
Implement triggerStats function, add GraphQL source header, and enhance presence upsert logic with source detection. Also, introduce PresenceTest for GraphQL presence upsert validation.
2026-04-28 17:48:23 +05:30