FIRST-Tech-Challenge / fmltc

FIRST Machine Learning Toolchain
Other
38 stars 14 forks source link

Fix issue with retrieveSummaryItems timing out #235

Closed lizlooney closed 2 years ago

lizlooney commented 2 years ago

Reduced evalImages.maxItemsPerRequest from 20 to 10. This should fix the issue with retrieveSummaryItems requests taking longer than 30 seconds and being aborted.

Fixes #234

github-actions[bot] commented 2 years ago

Terraform plan Succeeded for Workspace: default

Show Output ```diff An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: ! update in-place -/+ destroy and then create replacement Terraform will perform the following actions: # module.dev.google_app_engine_standard_app_version.fmltc-app-v1 will be updated in-place ! resource "google_app_engine_standard_app_version" "fmltc-app-v1" { id = "apps/ftc-ml-firstinspires-dev/services/default/versions/v1" name = "apps/ftc-ml-firstinspires-dev/services/default/versions/v1" # (9 unchanged attributes hidden) ! automatic_scaling { ! min_pending_latency = "0.100s" -> "0.1s" # (4 unchanged attributes hidden) # (1 unchanged block hidden) } ! deployment { ! zip { ! source_url = "https://storage.googleapis.com/ftc-ml-firstinspires-dev-gae-source/b038c8ca453295df967fb7fc3971b08e.zip" -> "https://storage.googleapis.com/ftc-ml-firstinspires-dev-gae-source/4b4bf639e254d4af6b591edb2ab5cdb6.zip" # (1 unchanged attribute hidden) } } - handlers { - auth_fail_action = "AUTH_FAIL_ACTION_REDIRECT" -> null - login = "LOGIN_OPTIONAL" -> null - security_level = "SECURE_OPTIONAL" -> null - url_regex = ".*" -> null - script { - script_path = "auto" -> null } } # (8 unchanged blocks hidden) } # module.dev.google_cloudfunctions_function.perform-action will be updated in-place ! resource "google_cloudfunctions_function" "perform-action" { id = "projects/ftc-ml-firstinspires-dev/locations/us-central1/functions/perform_action" name = "perform_action" ! source_archive_object = "c5c734300472932152cecd5aef509eec.zip" -> "2594532918e2f4671198d1d0efc4a88e.zip" # (13 unchanged attributes hidden) # (2 unchanged blocks hidden) } # module.dev.google_storage_bucket.fmltc-blobs will be updated in-place ! resource "google_storage_bucket" "fmltc-blobs" { id = "ftc-ml-firstinspires-dev-blobs" name = "ftc-ml-firstinspires-dev-blobs" # (11 unchanged attributes hidden) - cors { - max_age_seconds = 3600 -> null - method = [ - "GET", ] -> null - origin = [ - "https://ftc-ml-dev.firstinspires.org", ] -> null - response_header = [ - "Content-Type", ] -> null } } # module.dev.google_storage_bucket_object.app-server-archive must be replaced -/+ resource "google_storage_bucket_object" "app-server-archive" { ! content_type = "application/zip" -> (known after apply) ! crc32c = "01HC1w==" -> (known after apply) ! detect_md5hash = "sDjIykUyld+Wf7f8OXGwjg==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-gae-source-b038c8ca453295df967fb7fc3971b08e.zip" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "sDjIykUyld+Wf7f8OXGwjg==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev-gae-source/o/b038c8ca453295df967fb7fc3971b08e.zip?generation=1638315109861276&alt=media" -> (known after apply) - metadata = {} -> null ! name = "b038c8ca453295df967fb7fc3971b08e.zip" -> "4b4bf639e254d4af6b591edb2ab5cdb6.zip" # forces replacement ! output_name = "b038c8ca453295df967fb7fc3971b08e.zip" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev-gae-source/o/b038c8ca453295df967fb7fc3971b08e.zip" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.closure_js must be replaced -/+ resource "google_storage_bucket_object" "closure_js" { ! crc32c = "rrOPpw==" -> (known after apply) ! detect_md5hash = "Gi+aPBVvt3kVQbW+qk4f3g==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-compiled/js/fmltc.js" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "Gi+aPBVvt3kVQbW+qk4f3g==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev/o/compiled%2Fjs%2Ffmltc.js?generation=1638210527734010&alt=media" -> (known after apply) - metadata = {} -> null name = "compiled/js/fmltc.js" ! output_name = "compiled/js/fmltc.js" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev/o/compiled%2Fjs%2Ffmltc.js" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (3 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.cloud-function-archive must be replaced -/+ resource "google_storage_bucket_object" "cloud-function-archive" { ! content_type = "application/zip" -> (known after apply) ! crc32c = "B+49Vw==" -> (known after apply) ! detect_md5hash = "xcc0MARykyFSzs1a71Ce7A==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-gcf-source-c5c734300472932152cecd5aef509eec.zip" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "xcc0MARykyFSzs1a71Ce7A==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev-gcf-source/o/c5c734300472932152cecd5aef509eec.zip?generation=1638315109688387&alt=media" -> (known after apply) - metadata = {} -> null ! name = "c5c734300472932152cecd5aef509eec.zip" -> "2594532918e2f4671198d1d0efc4a88e.zip" # forces replacement ! output_name = "c5c734300472932152cecd5aef509eec.zip" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev-gcf-source/o/c5c734300472932152cecd5aef509eec.zip" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } Plan: 3 to add, 3 to change, 3 to destroy. ```