Back

Are we using latest OpenRuntime versions?

  • 0
  • Self Hosted
  • Functions
grav
9 Jul, 2024, 00:10

I see in OpenRuntimes repo https://github.com/open-runtimes/open-runtimes/blob/main/runtimes/node-21.0/src/server.js there's support for context.res.binary , but when I try to access it in AppWrite, there's no context.res.binary.

I've tried adding and removing the runtime, is there a way to specify exact runtime image versions?

TL;DR
Developers wonder if the latest OpenRuntime versions are being used, specifically for streaming support. The current version being used does not support `res.binary`. The context object can be found here: <https://appwrite.io/docs/products/functions/develop#context-object>. While the OpenRuntimes repo does support `context.res.binary`, it is not accessible in AppWrite. The developers have tested adding and removing the runtime, and are looking for a way to specify exact runtime image versions.
Binyamin
9 Jul, 2024, 00:33

Yes, the current version doesn't support the res.binary You can see the current context here https://appwrite.io/docs/products/functions/develop#context-object

grav
9 Jul, 2024, 00:47

I feel like maybe not now, but in the future it should be updated when openruntime adds streaming support: https://github.com/open-runtimes/open-runtimes/pull/252

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more