From 5b22f46ed1db19e00e095209ff9e2bdb744b8c8e Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 8 Feb 2023 09:52:40 -0500 Subject: [PATCH 1/2] remove dup --- spiffworkflow-backend/keycloak/test_user_lists/status | 1 - 1 file changed, 1 deletion(-) diff --git a/spiffworkflow-backend/keycloak/test_user_lists/status b/spiffworkflow-backend/keycloak/test_user_lists/status index 5646adff..9831acd0 100644 --- a/spiffworkflow-backend/keycloak/test_user_lists/status +++ b/spiffworkflow-backend/keycloak/test_user_lists/status @@ -34,7 +34,6 @@ peopleops.partner.program-lead@status.im,146 peopleops.partner.project-lead@status.im,147 peopleops.partner.sme@status.im,148 peopleops.partner1.sme@status.im,149 -peopleops.partner@status.im peopleops.partner@status.im,150 peopleops.talent.program-lead@status.im peopleops.talent.project-lead@status.im From 16b2c96171b33d774e00c272b804fef66b65ba77 Mon Sep 17 00:00:00 2001 From: jasquat Date: Wed, 8 Feb 2023 11:42:11 -0500 Subject: [PATCH 2/2] enable faulthandler to hopefully see seg faults in the logs w/ burnettk jbirddog --- spiffworkflow-backend/src/spiffworkflow_backend/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/__init__.py b/spiffworkflow-backend/src/spiffworkflow_backend/__init__.py index ba6717d9..b3e85cd7 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/__init__.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/__init__.py @@ -1,6 +1,7 @@ """__init__.""" import os import sys +import faulthandler from typing import Any import connexion # type: ignore @@ -80,6 +81,8 @@ def start_scheduler( def create_app() -> flask.app.Flask: """Create_app.""" + faulthandler.enable() + # We need to create the sqlite database in a known location. # If we rely on the app.instance_path without setting an environment # variable, it will be one thing when we run flask db upgrade in the