Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more logs to troubleshoot issues faster #1063

Merged
merged 21 commits into from
Oct 27, 2023

Conversation

honeyankit
Copy link
Contributor

Enhance the logging within the Dependabot actions' API client to quickly troubleshoot issues like Error: unable to get local issuer certificate. This enhancement will also expedite the resolution of FR issues in GHES.

@honeyankit honeyankit self-assigned this Sep 30, 2023
@honeyankit honeyankit marked this pull request as ready for review October 20, 2023 05:54
@honeyankit honeyankit requested a review from a team as a code owner October 20, 2023 05:54
@honeyankit honeyankit force-pushed the honeyankit/improve-api-client-logging branch 2 times, most recently from 55c1e8d to 609d5da Compare October 20, 2023 06:35
honeyankit and others added 19 commits October 20, 2023 06:45
Bumps the dev-dependencies group with 12 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.5.9` | `20.8.7` |
| [@types/node-forge](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node-forge) | `1.3.4` | `1.3.8` |
| [@vercel/ncc](https://github.com/vercel/ncc) | `0.36.1` | `0.38.1` |
| [eslint](https://github.com/eslint/eslint) | `8.48.0` | `8.52.0` |
| [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) | `3.6.0` | `3.6.1` |
| [eslint-plugin-github](https://github.com/github/eslint-plugin-github) | `4.10.0` | `4.10.1` |
| [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) | `27.2.3` | `27.4.3` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.0.0` | `5.0.1` |
| [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) | `29.6.4` | `29.7.0` |
| [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) | `29.5.4` | `29.5.6` |
| [json-server](https://github.com/typicode/json-server) | `0.17.3` | `0.17.4` |
| [wait-port](https://github.com/dwmkerr/wait-port) | `1.0.4` | `1.1.0` |


Updates `@types/node` from 20.5.9 to 20.8.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/node-forge` from 1.3.4 to 1.3.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node-forge)

Updates `@vercel/ncc` from 0.36.1 to 0.38.1
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](vercel/ncc@0.36.1...0.38.1)

Updates `eslint` from 8.48.0 to 8.52.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.48.0...v8.52.0)

Updates `eslint-import-resolver-typescript` from 3.6.0 to 3.6.1
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](import-js/eslint-import-resolver-typescript@v3.6.0...v3.6.1)

Updates `eslint-plugin-github` from 4.10.0 to 4.10.1
- [Release notes](https://github.com/github/eslint-plugin-github/releases)
- [Commits](github/eslint-plugin-github@v4.10.0...v4.10.1)

Updates `eslint-plugin-jest` from 27.2.3 to 27.4.3
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v27.2.3...v27.4.3)

Updates `eslint-plugin-prettier` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/eslint-plugin-prettier@v5.0.0...v5.0.1)

Updates `jest` from 29.6.4 to 29.7.0
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest)

Updates `@types/jest` from 29.5.4 to 29.5.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Updates `json-server` from 0.17.3 to 0.17.4
- [Release notes](https://github.com/typicode/json-server/releases)
- [Changelog](https://github.com/typicode/json-server/blob/master/CHANGELOG.md)
- [Commits](typicode/json-server@v0.17.3...v0.17.4)

Updates `wait-port` from 1.0.4 to 1.1.0
- [Release notes](https://github.com/dwmkerr/wait-port/releases)
- [Changelog](https://github.com/dwmkerr/wait-port/blob/main/CHANGELOG.md)
- [Commits](dwmkerr/wait-port@v1.0.4...v1.1.0)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: "@types/node-forge"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: eslint-import-resolver-typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-github
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: json-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: wait-port
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the prod-dependencies group with 3 updates: [axios](https://github.com/axios/axios), [axios-retry](https://github.com/softonic/axios-retry) and [commander](https://github.com/tj/commander.js).


Updates `axios` from 1.5.0 to 1.6.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.5.0...v1.6.0)

Updates `axios-retry` from 3.7.0 to 3.8.1
- [Changelog](https://github.com/softonic/axios-retry/blob/master/CHANGELOG.md)
- [Commits](softonic/axios-retry@v3.7.0...v3.8.1)

Updates `commander` from 11.0.0 to 11.1.0
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](tj/commander.js@v11.0.0...v11.1.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: axios-retry
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
- dependency-name: commander
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.14.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 14.0.1 to 15.0.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v14.0.1...v15.0.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [dockerode](https://github.com/apocas/dockerode) from 3.3.5 to 4.0.0.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](apocas/dockerode@v3.3.5...v4.0.0)

---
updated-dependencies:
- dependency-name: dockerode
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/tar-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tar-stream) from 2.2.2 to 3.1.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tar-stream)

---
updated-dependencies:
- dependency-name: "@types/tar-stream"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/dependabot-update-job-proxy/dependabot-update-job-proxy](https://github.com/github/dependabot-update-job-proxy) from 2.0.20231006011356 to v2.0.20231027174814.
- [Commits](https://github.com/github/dependabot-update-job-proxy/commits)

---
updated-dependencies:
- dependency-name: github/dependabot-update-job-proxy/dependabot-update-job-proxy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@honeyankit honeyankit merged commit 2159f6c into main Oct 27, 2023
9 checks passed
@honeyankit honeyankit deleted the honeyankit/improve-api-client-logging branch October 27, 2023 19:50
@honeyankit
Copy link
Contributor Author

Commands used to fix the diff in the build artifacts (ran in codespace)

nvm install
nvm use
npm clean-install

Command to build the artifacts

npm ci
npm run package

@mctofu mctofu mentioned this pull request Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants