diff --git a/helm/templates/db-config.yaml b/helm/templates/db-config.yaml index 842b1f8..1ab6c8a 100644 --- a/helm/templates/db-config.yaml +++ b/helm/templates/db-config.yaml @@ -47,6 +47,7 @@ spec: - name: cloud-sql-proxy image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:latest args: + - "--exit-zero-on-sigterm" - "--structured-logs" - "--port=5432" - {{ printf "%s:us-east4:%s" .Values.gcpProject (include "..dbInstanceName" .) | quote }} diff --git a/misc_containers/db_restorer/entrypoint.sh b/misc_containers/db_restorer/entrypoint.sh index 2fcc42a..5421808 100755 --- a/misc_containers/db_restorer/entrypoint.sh +++ b/misc_containers/db_restorer/entrypoint.sh @@ -35,5 +35,5 @@ else psql < ./backup_to_restore.sql fi -# Kill cloud_sql_proxy so the job will complete -kill -INT $(pgrep cloud_sql_proxy) +# Kill cloud-sql-proxy so the job will complete +kill -SIGTERM -INT $(pgrep cloud-sql-proxy) diff --git a/ui/js/src/redux/workspaceSlice.ts b/ui/js/src/redux/workspaceSlice.ts index 340417e..fc5e4bb 100644 --- a/ui/js/src/redux/workspaceSlice.ts +++ b/ui/js/src/redux/workspaceSlice.ts @@ -16,29 +16,34 @@ export const workContexts: { [key: string]: WorkContext } = { displayName: 'Urgent', labels: { urgent: FILTER_STATUS.Active, + backlog: FILTER_STATUS.Inverted, }, }, quickFixes: { displayName: 'Quick Fixes', labels: { '5 minutes': FILTER_STATUS.Active, + backlog: FILTER_STATUS.Inverted, }, }, upNext: { displayName: 'Up Next', labels: { + backlog: FILTER_STATUS.Inverted, 'up next': FILTER_STATUS.Active, }, }, work: { displayName: 'Work', labels: { + backlog: FILTER_STATUS.Inverted, work: FILTER_STATUS.Active, }, }, shopping: { displayName: 'Shopping', labels: { + backlog: FILTER_STATUS.Inverted, Shopping: FILTER_STATUS.Active, }, }, @@ -86,6 +91,10 @@ export default createSlice({ const newLabels = Object.assign({}, state.filterLabels); const toggledLabel = action.payload; + if (toggledLabel !== 'Unlabeled') { + delete newLabels['Unlabeled']; + } + const prevStatus = newLabels[toggledLabel]; if (prevStatus === FILTER_STATUS.Active) { // Invert existing item