Skip to content

Add analyzer metadata update command - #24

Open
Changjian Wang (changjian-wang) wants to merge 2 commits into
mainfrom
fix/39559367-cu-cli-analyzer-update
Open

Changjian Wang (changjian-wang) wants to merge 2 commits into
mainfrom
fix/39559367-cu-cli-analyzer-update

Conversation

@changjian-wang

Copy link
Copy Markdown
Member

Summary

  • add cu analyzer update for changing analyzer descriptions and tags through the Content Understanding SDK
  • validate metadata locally, preserve unspecified existing tags, and restrict update payloads to description and tags
  • add unit and cassette-backed lifecycle coverage proving analyzer schemas remain unchanged
  • document the new command and examples

Validation

  • ruff check and mypy pass for both cu-cli-core and cu-cli
  • all shared-core unit tests pass
  • all standalone unit tests pass except the existing Windows checkout assertion that expects packages/standalone/README.md to materialize as a symlink (git records mode 120000, but this worktree uses a regular file)
  • all offline integration playback tests pass
  • live lifecycle testing passed against both 2025-11-01 and 2026-06-01-preview, including description-only, tags-only, combined updates, preservation of unspecified tags, unchanged fieldSchema, and cleanup verification

Work item

Bug 39559367: Add analyzer update command for tags and description

AB#39559367

…nalyzer-update

# Conflicts:
#	cu-cli/CHANGELOG.md
#	cu-cli/README.md
#	cu-cli/packages/core/tests/test_command_spec.py
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