Skip to content
New issue

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

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

Already on GitHub? # to your account

Reject task run state change if the cache key is too large #16914

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

bunchesofdonald
Copy link
Contributor

This is the OSS side of https://github.com/PrefectHQ/nebula/pull/9069. In Cloud we had an issue where a task run caused a 500 error because the cache key was too long. This adds some validation to the CacheInsertion policy to reject these task runs rather than let them cause the 500.

Related to CLOUD-900

Copy link

codspeed-hq bot commented Jan 30, 2025

CodSpeed Performance Report

Merging #16914 will not alter performance

Comparing CLOUD-900 (f7750bb) with main (0b321b4)

Summary

✅ 2 untouched benchmarks

Copy link
Collaborator

@zzstoatzz zzstoatzz left a comment

Choose a reason for hiding this comment

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

lgtm!

tests/server/orchestration/api/test_task_runs.py Outdated Show resolved Hide resolved
@bunchesofdonald bunchesofdonald merged commit 879747a into main Jan 31, 2025
46 checks passed
@bunchesofdonald bunchesofdonald deleted the CLOUD-900 branch January 31, 2025 16:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants