Skip to content

Auto-classification: recover valid tags by skipping malformed definitions #34972

Closed

Description

@stout-yeoman

Affected module

Ingestion Framework / Auto-classification

Bug

ClassificationManager uses strict SDK parsing when listing classifications and tags. One malformed entity aborts construction of the typed list and prevents valid tags from the same classification from becoming candidates.

For example, enabled PII has a valid column-name pattern matching ACCT_NUM, while enabled SPI has a pattern recognizer missing supportedLanguage. SPI prevents valid PII from loading, so the column receives no PII tag. Invalid data can already exist in storage or be returned by an older server; recovery must not depend on new server-side validation.

Reproduction

  1. Configure an enabled classification containing valid PII and malformed SPI as above.
  2. Run auto-classification at confidence 80 against a table with an ACCT_NUM column.
  3. Observe the SDK validation error, missing PII candidate, and no PII label on the column.

If server validation prevents storing this configuration, supply the malformed definition at the mocked HTTP-response boundary using real SDK parsing and generated models.

Minimal fix

Add skip_on_failure=True to the two existing list_all_entities calls in ingestion/src/metadata/pii/classification_manager.py: one for classifications, one for tags. Reuse the existing SDK skip mode and parsing-error logs.

Activity

  1. added
    bug
    on Oct 8, 2026
  2. self-assigned this
    on Oct 8, 2026
  3. added theissue type on Oct 8, 2026
  4. added this to Shipping and removed this from Roadmapon Oct 8, 2026
  5. moved this from In Review / QA 👀 to Done ✅ in Shippingon Oct 13, 2026
  6. closed this as completedby moving to Done ✅ in Shippingon Oct 13, 2026
  7. added a commit that references this issue on Oct 13, 2026
    6f86181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

Projects

  • Status
    Done ✅
  • Status
    Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions