Skip to content

Run only a single workflow per agent#4019

Closed
theanurin wants to merge 7 commits intowoodpecker-ci:mainfrom
theanurin:single-workflow
Closed

Run only a single workflow per agent#4019
theanurin wants to merge 7 commits intowoodpecker-ci:mainfrom
theanurin:single-workflow

Conversation

@theanurin
Copy link

@theanurin theanurin commented Aug 9, 2024

Will be completed after release v3.0 ...

Currently it works incorrectly.

Related #2176

@qwerty287 qwerty287 added agent feature add new functionality labels Aug 14, 2024
@6543 6543 added this to the 3.0.0 milestone Aug 17, 2024
@anbraten anbraten changed the title Single workflow Run only a single workflow per agent Nov 8, 2024
@pat-s pat-s modified the milestones: 3.0.0, 3.x.x Nov 24, 2024
@cliffmccarthy
Copy link

I am experimenting with a rebased version of this change locally and I like it. How can we move this change along? I would be glad to put up a pull request with the rebase if that would help.

@qwerty287
Copy link
Contributor

@cliffmccarthy thanks, you can of course open a PR (otherwise we can't really continue)

cliffmccarthy added a commit to cliffmccarthy/woodpecker that referenced this pull request Feb 22, 2026
- Added log message before canceling in error case.
- Return after calling ctxCancel.
- This makes the control flow for the single-workflow case match what
  it was in the original implementation of woodpecker-ci#4019.  As of commit
  5c9fc61, the 'err' value is never
  propagated to the caller, so this implementation returns nil.
- Fixed grammar in startup log message.
@qwerty287
Copy link
Contributor

superseded by #6150

@qwerty287 qwerty287 closed this Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent feature add new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants