Skip to content

Tolerate unknown ingestion error types - #1071

Merged
pacdaemon merged 1 commit into
PNE-9739-ingestion-error-typesfrom
ingestion-error-type-fallback
Nov 13, 2026
Merged

pacdaemon merged 1 commit into
PNE-9739-ingestion-error-typesfrom
ingestion-error-type-fallback

Conversation

@pacdaemon

@pacdaemon pacdaemon commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Citrine Python PR

Description

IngestionErrorTrace.error_type now maps an error type the SDK doesn't know to IngestionErrorType.UNKNOWN_ERROR instead of raising ValueError, so Ingestion.status() still returns the error and its msg when the server adds a type before the SDK does. Only this field changes; properties.Enumeration stays strict for everything else. Follow-up to PNE-9739 and #1070.

Stacked on #1070 (based on its branch, version bumped to 5.2.2 on top of its 5.2.1). PR checks only run against main, so CI starts once #1070 merges and this retargets.

PR Type:

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Maintenance (non-breaking change to assist developers)

Adherence to team decisions

  • I have added tests for 100% coverage
  • I have written Numpy-style docstrings for every method and class.
  • I have communicated the downstream consequences of the PR to others.
  • I have bumped the version in __version__.py

🤖 Generated with Claude Code

@pacdaemon
pacdaemon added this pull request to stack #1072 November 11, 2026 09:54
@pacdaemon
pacdaemon marked this pull request as ready for review November 11, 2026 09:56
@pacdaemon
pacdaemon requested a review from a team as a code owner November 11, 2026 09:56
@pacdaemon
pacdaemon force-pushed the ingestion-error-type-fallback branch from a1f1678 to ecc7bdc Compare November 11, 2026 15:50

@anoto-moniz anoto-moniz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Improving consistency is great.

@pacdaemon
pacdaemon merged commit 6f342ec into main Nov 13, 2026
38 checks passed
@pacdaemon
pacdaemon deleted the ingestion-error-type-fallback branch November 13, 2026 15:35
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.

2 participants