Skip to content

bug: 60s timeout hit #13

@icio

Description

@icio

The following execution failed because submitting the new posture attribute took more than 60 seconds. We might need to make some calls back to the Slack API to prevent the workflow from timing out in extreme cases such as this, which might happen during periods of instability or deployment.

2025-10-03 20:58:06 [info] [Wf06V5GBPAHH] (Trace=Tr09JLREECP8) Shortcut trigger successfully started execution of function 'Request Tailscale Access'
2025-10-03 20:58:06 [info] [Fn06V8453CG4] (Trace=Tr09JLREECP8) Function 'Request Tailscale Access' (workflow function) started
2025-10-03 20:58:07 [info] [Wf06V5GBPAHH] (Trace=Tr09JLREECP8) Workflow 'Request Tailscale Access' started
2025-10-03 20:58:07 [info] [Wf06V5GBPAHH] (Trace=Tr09JLREECP8) Workflow step 1 of 2 started
2025-10-03 20:58:07 [info] [Fn07049VFYRX] (Trace=Tr09JLREECP8) Function 'Request Tailscale Access' (app function) started
2025-10-03 20:58:08 [info] [Fn07049VFYRX] (Trace=Tr09JLREECP8) Function output:

2025-10-03 20:58:11 [info] [Fn07049VFYRX] (Trace=Tr09JLREECP8) Function output:

2025-10-03 20:58:12 [info] [Datastore:tailscale_access_token] (Trace=Tr09JLREECP8) Datastore get succeeded with 'id: kXeePzwkkV11CNTRL'
2025-10-03 20:58:21 [info] [Datastore:tailscale_access_token] (Trace=Tr09JLREECP8) Datastore get succeeded with 'id: kXeePzwkkV11CNTRL'
2025-10-03 20:58:28 [info] [Datastore:tailscale_access_token] (Trace=Tr09JLREECP8) Datastore get succeeded with 'id: kXeePzwkkV11CNTRL'
2025-10-03 20:58:30 [info] [Fn07049VFYRX] (Trace=Tr09JLREECP8) Function output:

2025-10-03 20:58:43 [info] [Datastore:tailscale_access_token] (Trace=Tr09JLREECP8) Datastore get succeeded with 'id: kXeePzwkkV11CNTRL'
2025-10-03 20:58:43 [info] [Fn07049VFYRX] (Trace=Tr09JLREECP8) Function 'Request Tailscale Access' (app function) completed
2025-10-03 20:58:43 [info] [Fn07049VFYRX] (Trace=Tr09JLREECP8) Function output:
        {
          approverId: "U08L041J123",
          approverEmail: "[email protected]",
          allowed: undefined
        }
        done {
          values: {
            profile: {
              profile: {
                type: "static_select",
                selected_option: { text: [Object], value: "custom:p" }
              }
            },
            device: {
              device: {
                type: "external_select",
                selected_option: { text: [Object], value: "nXCNTRL" }
              }
            },
            duration: {
              duration: {
                type: "static_select",
                selected_option: { text: [Object], value: "3600" }
              }
            },
            approver: {
              approver: {
                type: "radio_buttons",
                selected_option: { text: [Object], value: "U08L041J123" }
              }
            },
            reason: {
              reason: { type: "plain_text_input", value: "Incident response" }
            }
          }
        } {
          profile: "custom:p",
          device: "nXCNTRL",
          duration: "3600",
          approver: "U08L041J123",
          reason: "Incident response"
        } {
          interactivity: {
            interactor: {
              secret: "123",
              id: "U08L041J123",
              team_id: "TPQSV7123"
            },
            interactivity_pointer: "9632867471350.806913271650.1c347b1a9e24a021d20d8091ac1cfc46"
          },
          access: {
            requester: "U08L041J123",
            profile: {
              description: "Access",
              attribute: "custom:p",
              canSelfApprove: true,
              confirmSelfApproval: false,
              notifyChannel: "C074D81K0HL"
            },
            approver: { userId: "U08L041J123", email: "[email protected]" },
            device: {
              nodeId: "nXCNTRL",
              name: "x.y.ts.net",
              tags: undefined,
              user: "[email protected]",
              addresses: [ "100.111.86.90", "fd7a:115c:a1e0::d501:565d" ],
              os: "macOS"
            },
            reason: "Incident response",
            durationSeconds: 3600
          }
        }
2025-10-03 20:58:44 [info] [Wf06V5GBPAHH] (Trace=Tr09JLREECP8) Workflow step 'Request Tailscale Access' completed
2025-10-03 20:58:45 [info] [Wf06V5GBPAHH] (Trace=Tr09JLREECP8) Workflow step 2 of 2 started
2025-10-03 20:58:46 [info] [Fn06V2NBD9QV] (Trace=Tr09JLREECP8) Function 'Access Request Approval' (app function) started
2025-10-03 20:58:46 [info] [Datastore:tailscale_access_token] (Trace=Tr09JLREECP8) Datastore get succeeded with 'id: kXeePzwkkV11CNTRL'
2025-10-03 20:59:46 [info] [Fn06V2NBD9QV] (Trace=Tr09JLREECP8) Function output:
        error: function execution exceeded 60.0s timeout
2025-10-03 20:59:46 [error] [Fn06V2NBD9QV] (Trace=Tr09JLREECP8) Function 'Access Request Approval' (app function) failed
        event_dispatch_failed
2025-10-03 20:59:47 [error] [Wf06V5GBPAHH] (Trace=Tr09JLREECP8) Workflow step 'Access Request Approval' failed
2025-10-03 20:59:47 [error] [Wf06V5GBPAHH] (Trace=Tr09JLREECP8) Workflow 'Request Tailscale Access' failed
        Function failed to execute
2025-10-03 20:59:48 [error] [Fn06V8453CG4] (Trace=Tr09JLREECP8) Function 'Request Tailscale Access' (workflow function) failed
        Function failed to execute

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions