jason810496 opened a new pull request, #70917:
URL: https://github.com/apache/airflow/pull/70917

   ## Why
   
   `coloredcobra` is used in a single place — `pkg/config/config.go` — purely 
to recolor the Cobra `--help` output for the edge worker CLI. The colored help 
is cosmetic, and it is not something the rest of the Edge Worker surface 
offers, so this drops the feature and the external dependency along with it, 
trimming the Go SDK's dependency footprint.
   
   ## What
   
   - Remove `config.InitColor` and the `github.com/ivanpirog/coloredcobra` 
import from `go-sdk/pkg/config/config.go`, and the `InitColor` call from 
`go-sdk/edge/commands/root.go`.
   - `go mod tidy` drops `coloredcobra` (and its now-unused transitive entries) 
from `go-sdk/go.mod` / `go-sdk/go.sum`.
   - Re-tidy `kubernetes-tests/lang_sdk/go_example` (resolves the SDK via a 
`replace` directive) to drop its stale indirect `coloredcobra` entry.
   
   CLI `--help` now renders with Cobra's default formatting. No command 
behaviour changes.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)
   
   Generated-by: Claude Code (Opus 4.8) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to