nelhage / llama

Apache License 2.0
589 stars 24 forks source link

Version the function runtime. #48

Open jpeach opened 3 years ago

jpeach commented 3 years ago

Sometimes, the client and the function runtime need to change in sync (e.g if the S3 object storage handling changes). To make it easier to debug these changes and for users to know when the function image needs to update, it would be neat to invent some versioning scheme on the invoke. This would let the function know if the client is not compatible and it could just respond with a version error.