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 SchemaNotFoundError for renamed schema during diff enrichment #5128

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

ajtmccarty
Copy link
Contributor

@ajtmccarty ajtmccarty commented Dec 2, 2024

the logic to enrich a diff with display labels would crash if a schema had its kind changed on the branch. this fix prevents the crash, but we could do a better fix that would require more changes to the diff. this is documented in a new Jira issue: IFC-990

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Dec 2, 2024
Copy link

codspeed-hq bot commented Dec 2, 2024

CodSpeed Performance Report

Merging #5128 will not alter performance

Comparing ajtm-12022024-schema-rename-diff-fix (5fe1f98) with stable (b9fff8c)

Summary

✅ 10 untouched benchmarks

@ajtmccarty ajtmccarty marked this pull request as ready for review December 2, 2024 21:53
@ajtmccarty ajtmccarty requested a review from a team December 2, 2024 21:53
@LucasG0
Copy link
Contributor

LucasG0 commented Dec 2, 2024

For reference, these changes are tested through #5088, as this PR fixes TestSchemaLifecycleBranch.test_rebase that breaks after migrating EventBranchRebased to Prefect.

@ajtmccarty ajtmccarty merged commit ee01a64 into stable Dec 2, 2024
27 checks passed
@ajtmccarty ajtmccarty deleted the ajtm-12022024-schema-rename-diff-fix branch December 2, 2024 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants