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

Add test demonstrating that we do not hit the RESOURCE_EXHAUSTED error above a given threshold #25214

Conversation

OwenKephart
Copy link
Contributor

@OwenKephart OwenKephart commented Oct 11, 2024

Summary & Motivation

As title. This sets a baseline for feeling "safe" with this many assets.

Some upgrades were needed to the test suite to make it more realistic such that we could trip the error.

Future changes will allow us to greatly increase, or entirely remove, this limit.

How I Tested These Changes

Confirmed that if 1000 assets were supplied, we would fail this test.

Changelog

Insert changelog entry or delete this section.

Copy link
Contributor Author

OwenKephart commented Oct 11, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @OwenKephart and the rest of your teammates on Graphite Graphite

@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 7a838b5 to 10e5e25 Compare October 11, 2024 16:47
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 1b7b02c to c7a134b Compare October 11, 2024 16:47
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 10e5e25 to 2734223 Compare October 11, 2024 17:18
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from c7a134b to 4ef46c9 Compare October 11, 2024 17:18
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 2734223 to 404dcbf Compare October 11, 2024 19:46
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 4ef46c9 to 4697f1f Compare October 11, 2024 19:46
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 404dcbf to a3fc458 Compare October 11, 2024 20:02
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 4697f1f to eca04d1 Compare October 11, 2024 20:02
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from a3fc458 to 6c2bb9c Compare October 11, 2024 20:49
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from eca04d1 to 6a077fb Compare October 11, 2024 20:49
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 6c2bb9c to 024f1c6 Compare October 11, 2024 22:25
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 6a077fb to 4d1bc50 Compare October 11, 2024 22:25
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 024f1c6 to 5411de6 Compare October 14, 2024 16:52
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from cd41906 to c02046f Compare October 15, 2024 17:32
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 4dfb21e to bb14be6 Compare October 15, 2024 17:32
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from c02046f to 12ccaf1 Compare October 15, 2024 17:55
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from bb14be6 to bef1ee2 Compare October 15, 2024 17:55
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 12ccaf1 to 3bd0f6e Compare October 15, 2024 18:54
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from bef1ee2 to a51c68c Compare October 15, 2024 18:55
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 3bd0f6e to 700d7e4 Compare October 15, 2024 20:11
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from a51c68c to 3d4a568 Compare October 15, 2024 20:11
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 700d7e4 to b9a4a6e Compare October 15, 2024 21:08
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 3d4a568 to 9fa9d03 Compare October 15, 2024 21:08
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from b9a4a6e to 8bf74fd Compare October 16, 2024 23:36
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 9fa9d03 to 23d5efa Compare October 16, 2024 23:36
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 8bf74fd to 12f4f07 Compare October 16, 2024 23:45
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 23d5efa to 26443d6 Compare October 16, 2024 23:46
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from 12f4f07 to cab309b Compare October 17, 2024 16:38
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from 26443d6 to f55765d Compare October 17, 2024 16:39
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from cab309b to fad7f9a Compare October 21, 2024 23:04
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from f55765d to f27155a Compare October 21, 2024 23:04
@OwenKephart OwenKephart force-pushed the 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions branch from fad7f9a to 9a74d41 Compare October 22, 2024 16:48
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from f27155a to bf4c238 Compare October 22, 2024 16:48
Copy link
Contributor Author

OwenKephart commented Oct 22, 2024

Merge activity

  • Oct 22, 12:50 PM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Oct 22, 12:53 PM EDT: Graphite rebased this pull request as part of a merge.
  • Oct 22, 12:55 PM EDT: A user merged this pull request with Graphite.

@OwenKephart OwenKephart changed the base branch from 10-10-propagate_automation_condition_information_through_the_ui_for_user_code_conditions to graphite-base/25214 October 22, 2024 16:50
@OwenKephart OwenKephart changed the base branch from graphite-base/25214 to master October 22, 2024 16:51
@OwenKephart OwenKephart force-pushed the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch from bf4c238 to 3fe0bb5 Compare October 22, 2024 16:52
@OwenKephart OwenKephart merged commit 1ac681b into master Oct 22, 2024
1 check was pending
@OwenKephart OwenKephart deleted the 10-10-add_test_demonstrating_that_we_do_not_hit_the_resource_exhausted_error_above_a_given_threshold branch October 22, 2024 16:55
Grzyblon pushed a commit to Grzyblon/dagster that referenced this pull request Oct 26, 2024
…r above a given threshold (dagster-io#25214)

## Summary & Motivation

As title. This sets a baseline for feeling "safe" with this many assets.

Some upgrades were needed to the test suite to make it more realistic such that we could trip the error.

Future changes will allow us to greatly increase, or entirely remove, this limit.

## How I Tested These Changes

Confirmed that if 1000 assets were supplied, we would fail this test.

## Changelog

> Insert changelog entry or delete this section.
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