Skip to content

Conversation

@julio-lopez
Copy link
Collaborator

@julio-lopez julio-lopez commented Aug 17, 2025

Removes:

  • --caching: no-op
  • --list-caching: no-op
  • --enable-jaeger-collector: errors out when specified.

@julio-lopez julio-lopez requested a review from Copilot August 17, 2025 02:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes deprecated command-line flags that are no longer functional. The changes eliminate three flags: --caching and --list-caching (which were no-ops) and --enable-jaeger-collector (which previously returned an error when used).

  • Removes deprecated --caching and --list-caching flags from the CLI application setup
  • Removes deprecated --enable-jaeger-collector flag and its error handling logic
  • Updates test to remove usage of the deprecated --no-list-caching flag

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
cli/app.go Removes the deprecated --caching and --list-caching flag definitions
cli/observability_flags.go Removes --enable-jaeger-collector flag definition and error handling
tests/end_to_end_test/index_recover_test.go Updates test to remove usage of deprecated --no-list-caching flag

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@julio-lopez julio-lopez requested a review from jkowalski August 17, 2025 02:42
@julio-lopez julio-lopez marked this pull request as ready for review August 17, 2025 02:42
@julio-lopez julio-lopez merged commit 70032f8 into kopia:master Aug 17, 2025
25 checks passed
@julio-lopez julio-lopez deleted the refactor/rm-no-op-flags branch August 17, 2025 02:44
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