woodpecker/server/queue
Anbraten f13ffc2c8f
Save agent-id for tasks and add endpoint to get agent tasks (#1631)
Save which agent is running a task. This is now visible in the admin UI
in the queue and in the agent details screen.

# changes
- [x] save id of agent executing a task
- [x] add endpoint to get tasks of an agent for #999 
- [x] show assigned agent-id in queue
- [x] (offtopic) use same colors for queue stats and icons (similar to
the ones used by pipelines)
- [x] (offtopic) use badges for queue labels & dependencies


![image](https://user-images.githubusercontent.com/6918444/226541271-23f3b7b2-7a08-45c2-a2e6-1c7fc31b6f1d.png)
2023-03-21 15:10:43 +02:00
..
fifo.go Save agent-id for tasks and add endpoint to get agent tasks (#1631) 2023-03-21 15:10:43 +02:00
fifo_test.go Save agent-id for tasks and add endpoint to get agent tasks (#1631) 2023-03-21 15:10:43 +02:00
LICENSE Move cncd/{logging,pubsub,queue}/ to server/{logging,pubsub,queue}/ (#346) 2021-09-23 22:29:09 +02:00
persistent.go Save agent-id for tasks and add endpoint to get agent tasks (#1631) 2023-03-21 15:10:43 +02:00
queue.go Save agent-id for tasks and add endpoint to get agent tasks (#1631) 2023-03-21 15:10:43 +02:00