Skip to content

feat: use agentv2 API for build logs #173

feat: use agentv2 API for build logs

feat: use agentv2 API for build logs #173

Triggered via pull request July 1, 2024 22:51
@sreyasreya
synchronize #78
jon/agentv2
Status Failure
Total duration 2m 50s
Artifacts 1

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
lint: background/process.go#L236
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: cli/root.go#L12
unlambda: replace `func(cmd *cobra.Command, args []string) error {
lint: integration/integrationtest/docker.go#L106
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(t.Name(), "/", "_", -1)` (gocritic)
lint: cli/docker_test.go#L568
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(file, usrLibMountpoint, "/usr/lib/", -1)` (gocritic)
lint: xunix/gpu.go#L97
unused-parameter: parameter 'info' seems to be unused, consider removing or renaming it as _ (revive)
lint: buildlog/logger.go#L52
unhandled-error: Unhandled error in call to function buildlog.Logger.Close (revive)
lint: cli/root.go#L15
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: cli/clitest/fake.go#L44
unused-parameter: parameter 'container' seems to be unused, consider removing or renaming it as _ (revive)
lint: cli/clitest/fake.go#L54
unused-parameter: parameter 'execID' seems to be unused, consider removing or renaming it as _ (revive)
lint: cli/docker_test.go#L173
unused-parameter: parameter 'hostConfig' seems to be unused, consider removing or renaming it as _ (revive)
unit-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, hashicorp/setup-terraform@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
codeql
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-go@v3, actions/cache@v3, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
codeql
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
codeql
Expected `which go` to return /home/runner/work/_temp/codeql-action-go-tracing/bin/go, but got /opt/hostedtoolcache/go/1.22.4/x64/bin/go: please ensure that the correct version of Go is installed before the `codeql-action/init` Action is used.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, github/codeql-action/upload-sarif@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "trivy". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
integration-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size Digest
trivy Expired
121 KB