Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

WIP: CI: Beta Package Patch #2184

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
working-directory: src
steps:
- uses: actions/checkout@v3

## increases swap space for beta and v.1.0
- name: Set Swap Space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 12

# single setup and sum cache handling here.
# the results will cascade onto both testing and linting.
Expand Down Expand Up @@ -633,4 +639,4 @@ jobs:
steps:
- name: Validate docs
run: |
curl https://corsobackup.io/docs/quickstart/ | grep https://github.com/alcionai/corso/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Linux_x86_64.tar.gz
curl https://corsobackup.io/docs/quickstart/ | grep https://github.com/alcionai/corso/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Linux_x86_64.tar.gz
3 changes: 2 additions & 1 deletion src/internal/connector/exchange/api/mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ func (c Mail) Serialize(

if retriesErr != nil {
logger.Ctx(ctx).Debug("exceeded maximum retries")
return nil, support.WrapAndAppend(itemID, errors.Wrap(retriesErr, "attachment failed"), nil)
return nil, support.WrapAndAppend(itemID,
support.ConnectorStackErrorTraceWrap(retriesErr, "attachment Failed"), nil)
}
}

Expand Down
3 changes: 3 additions & 0 deletions src/internal/connector/graph/service_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func CreateBetaAdapter(tenant, client, secret string) (*beta.GraphRequestAdapter
cred,
[]string{"https://graph.microsoft.com/.default"},
)
if err != nil {
return nil, errors.Wrap(err, "creating beta auth token")
}

httpClient := CreateHTTPClient()

Expand Down