buildkite / buildkite/agent

Agent should update to the latest Plugin version in some cases

Open
#422 24 comments 4 reactions 1 assignee Claimed by @pda View on GitHub
enhancement plugins thinking🤔
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

Currently the agent will download a plugin for something like `blah-blah-plugin` from the master branch the first time it needs it, but it won't update it ever again.

This means that go get your changes as you are iterating, you end up updating your pipeline to reference specific commits like `blah-blah-plugin#{commit-hash}`.

The meta-effect of this is that it's very hard to get your plugin users hotfixes on master. They need to delete the plugin or change their pipeline.

It would be great to fetch the latest version on each job if the plugin isn't a ref or a symbolic ref /cc @sj26.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.