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
7 stars 2 forks source link

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

Open aavarghese opened 4 months ago

aavarghese commented 4 months 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 4 months ago

Can i work on this ?

starpit commented 4 months 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 3 months 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