Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX - Airflow tagging long names #16304

Merged
merged 3 commits into from
May 16, 2024
Merged

Conversation

pmbrull
Copy link
Collaborator

@pmbrull pmbrull commented May 16, 2024

Describe your changes:

Fixes failing AUTs due to test suite deployment with long names

I worked on ... because ...

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@github-actions github-actions bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels May 16, 2024
@pmbrull pmbrull requested a review from a team May 16, 2024 12:12
sushi30
sushi30 previously approved these changes May 16, 2024
OnkarVO7
OnkarVO7 previously approved these changes May 16, 2024
tutte
tutte previously approved these changes May 16, 2024
@@ -255,7 +269,8 @@ def build_dag_configs(ingestion_pipeline: IngestionPipeline) -> dict:
"schedule_interval": ingestion_pipeline.airflowConfig.scheduleInterval,
"tags": [
"OpenMetadata",
ingestion_pipeline.displayName or ingestion_pipeline.name.__root__,
clean_name_tag(ingestion_pipeline.displayName)
or clean_name_tag(ingestion_pipeline.name.__root__),
ingestion_pipeline.pipelineType.value,
ingestion_pipeline.service.name,
Copy link
Member

Choose a reason for hiding this comment

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

should we also modify service name to 100 chars?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fair enough, hoped noone would name it that long but since we don't have a max. Good call

@pmbrull pmbrull dismissed stale reviews from tutte, OnkarVO7, and sushi30 via 079ba1b May 16, 2024 12:16
ayush-shah
ayush-shah previously approved these changes May 16, 2024
Copy link

sonarcloud bot commented May 16, 2024

Quality Gate Failed Quality Gate failed for 'open-metadata-airflow-apis'

Failed conditions
0.0% Coverage on New Code (required ≥ 20%)

See analysis details on SonarCloud

@pmbrull pmbrull merged commit 44181b1 into open-metadata:main May 16, 2024
9 of 11 checks passed
@pmbrull pmbrull deleted the airflow-tag-fix branch May 16, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ingestion safe to test Add this label to run secure Github workflows on PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants