Skip to content

Remove deprecated CLI flags#3834

Merged
DrJosh9000 merged 1 commit intov4from
remove-deprecated-flags
Apr 20, 2026
Merged

Remove deprecated CLI flags#3834
DrJosh9000 merged 1 commit intov4from
remove-deprecated-flags

Conversation

@moskyb
Copy link
Copy Markdown
Contributor

@moskyb moskyb commented Apr 20, 2026

Description

In the agent, we have a bunch of flags that have been deprecated (and emitting warnings whenever they're used) for a good long while. We're doing v4! Let's throw em out the window.

Changes

Removed the following flags:

  • from agent_start.go:
    • --meta-data,
    • --meta-data-ec2,
    • --meta-data-ec2-tags,
    • --meta-data-gcp,
    • --no-automatic-ssh-fingerprint-verification,
    • --tags-from-ec2,
    • --tags-from-gcp,
    • --disconnect-after-job-timeout,
    • --kubernetes-log-collection-grace-period,
  • from artifact_upload.go: --follow-symlinks
  • from global.go: --kubernetes-log-collection-grace-period

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go tool gofumpt -extra -w .)

Disclosures / Credits

Ctrl-F was instrumental to me in this work.

@moskyb moskyb requested review from a team as code owners April 20, 2026 01:33
@moskyb moskyb force-pushed the remove-deprecated-flags branch from e361d99 to 9d7a710 Compare April 20, 2026 01:33
Copy link
Copy Markdown
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

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

Heck yeah ✅

@DrJosh9000 DrJosh9000 merged commit 1ac75dc into v4 Apr 20, 2026
3 checks passed
@DrJosh9000 DrJosh9000 deleted the remove-deprecated-flags branch April 20, 2026 03:06
@DrJosh9000 DrJosh9000 added the v4 Breaking changes that will be included in Agent v4 label Apr 20, 2026
DrJosh9000 added a commit that referenced this pull request Apr 20, 2026
DrJosh9000 added a commit that referenced this pull request Apr 22, 2026
DrJosh9000 added a commit that referenced this pull request Apr 22, 2026
DrJosh9000 added a commit that referenced this pull request Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 Breaking changes that will be included in Agent v4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants