Skip to content

Commit 6211142

Browse files
WIP - continue on the next day from TODO:CONTINUE:
Signed-off-by: Lukasz Gryglicki <lgryglicki@cncf.io> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent d1dff7a commit 6211142

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

cla-backend-legacy/internal/api/handlers.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9230,7 +9230,9 @@ func (h *Handlers) PostIndividualSignedV2(w http.ResponseWriter, r *http.Request
92309230
logging.Warnf("v4 signed/individual returned %d: %s", status, string(respBody))
92319231
}
92329232
signatureID, completed := extractDocuSignSignatureCompletion(body)
9233+
// TODO:CONTINUE:
92339234
logging.Debugf("post_individual_signed - extracted signature completion from DocuSign callback: signatureID=%s completed=%t", signatureID, completed)
9235+
// TODO:CONTINUE:
92349236
//if signatureID, completed := extractDocuSignSignatureCompletion(body); completed && signatureID != "" {
92359237
if h.waitForSignedSignature(r.Context(), signatureID, 10, 500*time.Millisecond) {
92369238
if err := h.triggerGitHubChangeRequestUpdateV4(
@@ -9244,6 +9246,7 @@ func (h *Handlers) PostIndividualSignedV2(w http.ResponseWriter, r *http.Request
92449246
} else {
92459247
logging.Warnf("post_individual_signed - signed signature did not become visible in time: %s", signatureID)
92469248
}
9249+
// TODO:CONTINUE:
92479250
//}
92489251

92499252
copyV4ResponseHeaders(w, hdr)

utils/lookup_all_logs.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
if ( [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] )
3+
then
4+
echo "usage:"
5+
echo " $0 '2 hours ago' '1 second ago' 'text'"
6+
echo " if 'text' = '---' then it returns all logs"
7+
exit 1
8+
fi
9+
STAGE=dev REGION=us-east-1 DEBUG=1 DTFROM="${1}" DTTO="${2}" ./utils/search_aws_log_group.sh 'githubactivity' "${3}" > githubactivity.log
10+
STAGE=dev REGION=us-east-1 DEBUG=1 DTFROM="${1}" DTTO="${2}" ./utils/search_aws_log_group.sh 'apiv1' "${3}" > v1.log
11+
STAGE=dev REGION=us-east-1 DEBUG=1 DTFROM="${1}" DTTO="${2}" ./utils/search_aws_log_group.sh 'apiv2' "${3}" > v2.log
12+
STAGE=dev REGION=us-east-1 DEBUG=1 DTFROM="${1}" DTTO="${2}" ./utils/search_aws_log_group.sh 'api-v3-lambda' "${3}" > v3.log
13+
STAGE=dev REGION=us-east-2 DEBUG=1 DTFROM="${1}" DTTO="${2}" ./utils/search_aws_log_group.sh 'cla-backend-go-api-v4-lambda' "${3}" > v4.log
14+
ls -l githubactivity.log v?.log

0 commit comments

Comments
 (0)