IBM / lunchpail

Lunchpail compiles your job code into an all-in-one executable. Others download that binary, and "up" it to run your code in the Cloud or an existing Kubernetes cluster.
Apache License 2.0
4 stars 2 forks source link

[frontend] add user, context, and namespace to taskqueue file structure #22

Open aavarghese opened 1 month ago

aavarghese commented 1 month ago

right now, the taskqueue file structure distinguishes runs, but not users, contexts, or namespaces. this allows two runs to share a taskqueue, but can lead to name collisions if runs across namespaces or contexts share a taskqueue.

proposal:

/users/nickm/contexts/kind-jaas/namespaces/jaas-user/runs/my-cerebrus-run/inbox...
yashathwani commented 1 month ago

Can i work on this ?

starpit commented 1 month ago

hello @yashathwani, yes, thanks for the offer to help. give us a day or so more to clean things up? then i'll give you the heads up. thanks again!

starpit commented 1 month ago

@yashathwani if you are still interested, check out this function: https://github.com/IBM/lunchpail/blob/main/pkg/fe/transformer/api/queue.go#L9-L12

developer docs are here