Skip to content

Switch to urfave/cli/v3#1060

Open
kgaughan wants to merge 2 commits into
goss-org:masterfrom
kgaughan:urfave-cli-v3
Open

Switch to urfave/cli/v3#1060
kgaughan wants to merge 2 commits into
goss-org:masterfrom
kgaughan:urfave-cli-v3

Conversation

@kgaughan
Copy link
Copy Markdown

Checklist
  • make test-all (UNIX) passes. CI will also test this
  • unit and/or integration tests are included (if applicable)
  • documentation is changed or added (if applicable)

Description of change

urfave/cli v1 is currently only receiving security updates, which v3 is under active development. Further, v3 eliminates a number of dependencies, reducing the surface area for CVEs.

A side benefit of urfave/cli v3 is that it supports contexts, so we can look at cleaning up some of goss's internal use of contexts in the future. There are a bunch of places where new contexts are being created where having a single root context created when the program starts would make sense now.

Note: the test suite passes, but there are issues with the integration tests due to the parking of dnstest.io. I have a branch that mostly fixes this, though I haven't yet been able to convince Arch to start up as expected yet.

This is supported and eliminates a number of dependencies.
@kgaughan kgaughan requested a review from aelsabbahy as a code owner May 18, 2026 16:14
@kgaughan kgaughan mentioned this pull request May 18, 2026
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.

1 participant