Skip to content

Conversation

@jordanconway
Copy link
Contributor

No description provided.

Signed-off-by: Jordan Conway <jconway@linuxfoundation.org>
@github-actions
Copy link

github-actions bot commented Nov 14, 2025

OpenTofu plan for prod

Plan: 0 to add, 2 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~  update in-place

OpenTofu will perform the following actions:

  # datadog_role.roles["limited-read-write"] will be updated in-place
!~  resource "datadog_role" "roles" {
        id         = "b0f36db0-73be-11f0-9d5c-da7ad0900003"
        name       = "Limited Read Write"
#        (1 unchanged attribute hidden)

-       permission {
-           id   = "02a16888-8ff3-11f0-b511-da7ad0900003" -> null
-           name = "dbm_read" -> null
        }

#        (13 unchanged blocks hidden)
    }

  # datadog_synthetics_test.pytorch-gha-runners-queue-check-ibm will be updated in-place
!~  resource "datadog_synthetics_test" "pytorch-gha-runners-queue-check-ibm" {
        id               = "sc6-zip-2n9"
        name             = "GHA Runner Queue Check - IBM Runners"
        tags             = [
            "env:project",
            "project:pytorch",
            "service:gha-runners",
        ]
#        (10 unchanged attributes hidden)

!~      assertion {
!~          code = <<-EOT
                // SPDX-FileCopyrightText: 2025 2025 The Linux Foundation
                //
                // SPDX-License-Identifier: Apache-2.0
                
                dd.expect(dd.response.statusCode).to.equal(200);
                
                const MACHINE_TYPE_FILTER = '.s390x';
                const jsonData = dd.response.body;
                const parsedData = JSON.parse(jsonData);
                
                const highQueueItems = parsedData
              -   .filter(item => item.machine_type.includes(MACHINE_TYPE_FILTER) && item.avg_queue_s > 10800)
              +   .filter(item => item.machine_type.includes(MACHINE_TYPE_FILTER) && item.avg_queue_s > 21600)
                  .map(item => ({ machine_type: item.machine_type, avg_queue_s: item.avg_queue_s }));
                
                if (highQueueItems.length > 0) {
                  const machineDetails = highQueueItems
                    .map(item => `${item.machine_type} (${item.avg_queue_s}s)`)
                    .join(', ');
                  const message = `High queue detected for machine types containing ${MACHINE_TYPE_FILTER}: ${machineDetails}`;
                  console.error(message);
                }
                
                dd.expect(highQueueItems.length > 0).to.be.false;
            EOT
#            (1 unchanged attribute hidden)
        }

#        (2 unchanged blocks hidden)
    }

Plan: 0 to add, 2 to change, 0 to destroy.

✅ Plan applied in Tofu Apply #44

zxiiro
zxiiro previously approved these changes Nov 14, 2025
Signed-off-by: Jordan Conway <jconway@linuxfoundation.org>
@jordanconway jordanconway merged commit 94827ee into main Nov 14, 2025
3 checks passed
@jordanconway jordanconway deleted the cleanup branch November 14, 2025 14:21
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.

3 participants