-
-
Notifications
You must be signed in to change notification settings - Fork 456
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Component
other
Describe the bug
In the Go client PipelineQueue expects an Activity list
woodpecker/woodpecker-go/woodpecker/client.go
Line 254 in c36b1cd
func (c *client) PipelineQueue() ([]*Activity, error) { |
But GetPipelineQueue in the server returns a Feed list
woodpecker/server/store/datastore/feed.go
Line 42 in c36b1cd
func (s storage) GetPipelineQueue() ([]*model.Feed, error) { |
Activity and Feed does not match
Activity
woodpecker/woodpecker-go/woodpecker/types.go
Line 143 in c36b1cd
Activity struct { |
Feed
woodpecker/server/model/feed.go
Line 19 in c36b1cd
type Feed struct { |
Either both server and go client should use the same file as model, or CI should ensure that they stay compatible.
System Info
next
Additional context
No response
Validations
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Checked that the bug isn't fixed in the
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use] - Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working