Skip to content

fix: make resource_type optional in ManifestV12 Disabled classes#96

Merged
Sourabhchrs93 merged 1 commit intomainfrom
fix/manifest-v12-disabled-resource-type-optional
Apr 6, 2026
Merged

fix: make resource_type optional in ManifestV12 Disabled classes#96
Sourabhchrs93 merged 1 commit intomainfrom
fix/manifest-v12-disabled-resource-type-optional

Conversation

@Sourabhchrs93
Copy link
Copy Markdown
Contributor

Summary

  • Made resource_type field Optional[...] = None in all 14 Disabled* variant classes in ManifestV12
  • dbt manifests (v12) can omit resource_type on disabled nodes, causing Pydantic validation failures
  • Production impact: docusign health_check_per_run task failing with 90 validation errors for run_473557038

Test plan

  • Validated locally against actual production manifest from s3://altimate-datapilot-prod/prd/tenant=docusign/dbt_core_project_id=11/env_type=PREPROD_375274/batch_id=run_473557038/manifest.json
  • ManifestV12 parses successfully with 3 disabled nodes
  • Release new datapilot-cli version
  • Rebuild Airflow image with updated package

🤖 Generated with Claude Code

dbt manifests (v12) can omit `resource_type` on disabled nodes.
This caused 90 validation errors in production when parsing
docusign's manifest (`run_473557038`), failing `health_check_per_run`.

Made `resource_type` `Optional[...] = None` in all 14 `Disabled*`
variant classes (`Disabled` through `Disabled13`).

Validated against the actual production manifest from S3 —
parses successfully with 3 disabled nodes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Sourabhchrs93 Sourabhchrs93 requested review from mdesmet April 4, 2026 07:40
Copy link
Copy Markdown
Collaborator

@mdesmet mdesmet left a comment

Choose a reason for hiding this comment

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

This change looks fine, but we may need to check health check if it correctly filters out the disabled nodes.

@Sourabhchrs93 Sourabhchrs93 merged commit a3d8c37 into main Apr 6, 2026
32 checks passed
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