Skip to content

Only keep 1 older version runner around after self-upgrade. - #3122

Merged
TingluoHuang merged 1 commit into
mainfrom
users/tihuang/deleteolderversion
Jan 31, 2024
Merged

TingluoHuang merged 1 commit into
mainfrom
users/tihuang/deleteolderversion

Conversation

@TingluoHuang

@TingluoHuang TingluoHuang commented Jan 31, 2024 •

Copy link
Copy Markdown
Member

There is no reason to keep more than 1 older version runner.

We choose to keep 2 versions initially since the runner was much smaller (less node.js version) and the release cadence is more frequently.

help improve #2708

@TingluoHuang
TingluoHuang requested a review from a team as a code owner January 31, 2024 05:21

@thboop thboop left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@TingluoHuang
TingluoHuang force-pushed the users/tihuang/deleteolderversion branch from bc13a12 to e07fc67 Compare January 31, 2024 14:55
@TingluoHuang
TingluoHuang merged commit b647b89 into main Jan 31, 2024
@TingluoHuang
TingluoHuang deleted the users/tihuang/deleteolderversion branch January 31, 2024 15:03
private IRunnerServer _runnerServer;
private int _poolId;
private ulong _agentId;
private const int _numberOfOldVersionsToKeep = 1;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi! could this be a configuration that the user can override?
also, why do we keep older versions? could you please point me towards some documentation? (I'm new here 😄)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants