-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: js release yml, reduce batch size, change telemetry payload (#975)
- Loading branch information
1 parent
b98afd5
commit d7b9502
Showing
10 changed files
with
53 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ on: | |
|
||
jobs: | ||
run-js-tests: | ||
permissions: | ||
contents: write | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
|
||
|
@@ -38,21 +40,6 @@ jobs: | |
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
|
||
- name: Update version | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Composio" | ||
npm version ${{ github.event.inputs.version }} --no-git-tag-version | ||
- name: Commit and push | ||
run: | | ||
if git diff --quiet; then | ||
echo "No changes to commit" | ||
else | ||
git commit -am "Release ${{ github.event.inputs.version }}" && git push | ||
fi | ||
- name: pnpm build | ||
run: pnpm build | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,7 @@ export class CEG { | |
throw new ComposioError( | ||
SDK_ERROR_CODES.COMMON.REQUEST_TIMEOUT, | ||
`ECONNABORTED for ${fullUrl}`, | ||
`Request to ${fullUrl} timed out after the configured timeout period. This could be due to slow network conditions, server performance issues, or the request being too large. Error code: ECONNABORTED`, | ||
`Request to ${fullUrl} timed out after the configured timeout period. This could be due to slow network conditions, server performance issues, or the request being too large. Error code: ETIMEDOUT`, | ||
"Try:\n1. Checking your network speed and stability\n2. Increasing the request timeout setting if needed\n3. Breaking up large requests into smaller chunks\n4. Retrying the request when network conditions improve\n5. Contact [email protected] if the issue persists", | ||
metadata, | ||
error | ||
|
@@ -107,9 +107,10 @@ export class CEG { | |
} | ||
|
||
throw new ComposioError( | ||
SDK_ERROR_CODES.COMMON.UNKNOWN, | ||
error.message, | ||
"", | ||
SDK_ERROR_CODES.BACKEND.SERVER_UNREACHABLE, | ||
error.message || | ||
"Server is unreachable. Please contact [email protected] with the error details.", | ||
"Server is unreachable. Please contact [email protected] with the error details.", | ||
"Please contact [email protected] with the error details.", | ||
metadata, | ||
error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters