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

Bump actions/setup-go from 5.0.2 to 5.2.0 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2025

Bumps actions/setup-go from 5.0.2 to 5.2.0.

Release notes

Sourced from actions/setup-go's releases.

v5.2.0

What's Changed

  • Leveraging the raw API to retrieve the version-manifest, as it does not impose a rate limit and hence facilitates unrestricted consumption without the need for a token for Github Enterprise Servers by @​Shegox in actions/setup-go#496

New Contributors

Full Changelog: actions/setup-go@v5...v5.2.0

v5.1.0

What's Changed

Bug Fixes

New Contributors

Full Changelog: actions/setup-go@v5...v5.1.0

Commits
  • 3041bf5 feat: fallback to "raw" endpoint for manifest when rate limit is reached (#496)
  • 41dfa10 Enhance workflows and Upgrade micromatch Dependency (#510)
  • 9419772 Revise isGhes logic (#511)
  • d60b41a Merge pull request #502 from actions/Jcambass-patch-1
  • e09f57f Upgrade IA Publish
  • df1a117 Merge pull request #500 from actions/Jcambass-patch-1
  • 49582f6 Add workflow file for publishing releases to immutable action package
  • b26d402 fix: add arch to cache key (#493)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

CI:

  • Update actions/setup-go from 5.0.2 to 5.2.0.

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@0a12ed9...3041bf5)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jan 1, 2025
Copy link

sourcery-ai bot commented Jan 1, 2025

Reviewer's Guide by Sourcery

This pull request updates the actions/setup-go GitHub Action from version 5.0.2 to 5.2.0 in the CI and release workflows. The update includes improvements such as using the raw API to avoid rate limits, adding architecture to the cache key, and enhancing workflows.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update actions/setup-go to v5.2.0
  • Updated the actions/setup-go action from version 0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 (v5.0.2) to version 3041bf56c941b39c61721a86cd11f3bb1338122a (v5.2.0).
.github/workflows/ci.yaml
.github/workflows/release.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

coderabbitai bot commented Jan 1, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Copy link

CI Failure Feedback 🧐

Action: Analyze (go, autobuild)

Failed stage: Perform CodeQL Analysis [❌]

Failed test name: ""

Failure summary:

The action failed during the build process because the controller-gen command was not found. This
error occurred when trying to execute the make manifests command, which is required for generating
Kubernetes CRD manifests.

Specific error:

  • /usr/bin/bash: line 1: controller-gen: command not found
  • make: *** [Makefile:100: manifests] Error 127

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    246:  "extractor_options" : {
    247:  "logging" : {
    248:  "title" : "Options pertaining to logging.",
    249:  "description" : "Options pertaining to logging.",
    250:  "type" : "object",
    251:  "properties" : {
    252:  "verbosity" : {
    253:  "title" : "Python extractor logging verbosity level.",
    254:  "description" : "Controls the level of verbosity of the CodeQL Python extractor.\nThe supported levels are (in order of increasing verbosity):\n\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
    255:  "type" : "string",
    256:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
    ...
    
    334:  },
    335:  "logging" : {
    336:  "title" : "Options pertaining to logging.",
    337:  "description" : "Options pertaining to logging.",
    338:  "type" : "object",
    339:  "properties" : {
    340:  "verbosity" : {
    341:  "title" : "Extractor logging verbosity level.",
    342:  "description" : "Controls the level of verbosity of the extractor. The supported levels are (in order of increasing verbosity):\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
    343:  "type" : "string",
    344:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
    ...
    
    522:  "extractor_options" : {
    523:  "logging" : {
    524:  "title" : "Options pertaining to logging.",
    525:  "description" : "Options pertaining to logging.",
    526:  "type" : "object",
    527:  "properties" : {
    528:  "verbosity" : {
    529:  "title" : "Python extractor logging verbosity level.",
    530:  "description" : "Controls the level of verbosity of the CodeQL Python extractor.\nThe supported levels are (in order of increasing verbosity):\n\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
    531:  "type" : "string",
    532:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
    ...
    
    610:  },
    611:  "logging" : {
    612:  "title" : "Options pertaining to logging.",
    613:  "description" : "Options pertaining to logging.",
    614:  "type" : "object",
    615:  "properties" : {
    616:  "verbosity" : {
    617:  "title" : "Extractor logging verbosity level.",
    618:  "description" : "Controls the level of verbosity of the extractor. The supported levels are (in order of increasing verbosity):\n  - off\n  - errors\n  - warnings\n  - info or progress\n  - debug or progress+\n  - trace or progress++\n  - progress+++\n",
    619:  "type" : "string",
    620:  "pattern" : "^(off|errors|warnings|(info|progress)|(debug|progress\\+)|(trace|progress\\+\\+)|progress\\+\\+\\+)$"
    ...
    
    777:  checkout_path: /home/runner/work/gateway/gateway
    778:  upload-database: true
    779:  wait-for-processing: true
    780:  token: ***
    781:  matrix: {
    782:    "language": "go",
    783:    "build-mode": "autobuild"
    784:  }
    785:  expect-error: false
    ...
    
    868:  [2025-01-01 04:25:37] [build-stderr] go: downloading github.com/prometheus/client_golang v1.19.1
    869:  [2025-01-01 04:25:37] [build-stderr] go: downloading gomodules.xyz/jsonpatch/v2 v2.4.0
    870:  [2025-01-01 04:25:37] [build-stderr] go: downloading k8s.io/apiextensions-apiserver v0.30.1
    871:  [2025-01-01 04:25:37] [build-stderr] go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
    872:  [2025-01-01 04:25:37] [build-stderr] go: downloading github.com/spf13/pflag v1.0.5
    873:  [2025-01-01 04:25:37] [build-stderr] go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
    874:  [2025-01-01 04:25:37] [build-stderr] go: downloading k8s.io/kube-openapi v0.0.0-20240521193020-835d969ad83a
    875:  [2025-01-01 04:25:37] [build-stderr] go: downloading gopkg.in/inf.v0 v0.9.1
    876:  [2025-01-01 04:25:37] [build-stderr] go: downloading github.com/pkg/errors v0.9.1
    ...
    
    917:  [2025-01-01 04:25:39] [build-stderr] go: downloading github.com/emicklei/go-restful/v3 v3.12.1
    918:  [2025-01-01 04:25:39] [build-stderr] go: downloading github.com/josharian/intern v1.0.0
    919:  [2025-01-01 04:25:39] [build-stderr] go: downloading github.com/kr/text v0.2.0
    920:  [2025-01-01 04:25:39] [build-stderr] go: downloading github.com/rogpeppe/go-internal v1.11.0
    921:  [2025-01-01 04:25:39] [build-stderr] 2025/01/01 04:25:39 Makefile found.
    922:  [2025-01-01 04:25:39] [build-stderr] 2025/01/01 04:25:39 Trying build command make []
    923:  [2025-01-01 04:25:39] [build-stdout] controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
    924:  [2025-01-01 04:25:39] [build-stderr] /usr/bin/bash: line 1: controller-gen: command not found
    925:  [2025-01-01 04:25:39] [build-stderr] make: *** [Makefile:100: manifests] Error 127
    926:  [2025-01-01 04:25:39] [build-stderr] 2025/01/01 04:25:39 Running /usr/bin/make [make] failed, continuing anyway: exit status 2
    ...
    
    992:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package runtime/internal/sys.
    993:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package runtime/internal/sys.
    994:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package runtime.
    995:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package runtime.
    996:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package runtime.
    997:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package internal/reflectlite.
    998:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package internal/reflectlite.
    999:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package internal/reflectlite.
    1000:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package errors.
    1001:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package errors.
    1002:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package errors.
    ...
    
    1040:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package slices.
    1041:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package slices.
    1042:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package internal/fmtsort.
    1043:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package internal/fmtsort.
    1044:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package internal/fmtsort.
    1045:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package io.
    1046:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package io.
    1047:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package io.
    1048:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package internal/oserror.
    1049:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package internal/oserror.
    1050:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package internal/oserror.
    ...
    
    1166:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package k8s.io/apimachinery/pkg/selection.
    1167:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package k8s.io/apimachinery/pkg/selection.
    1168:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package k8s.io/apimachinery/pkg/fields.
    1169:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package k8s.io/apimachinery/pkg/fields.
    1170:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package k8s.io/apimachinery/pkg/fields.
    1171:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package k8s.io/apimachinery/pkg/util/sets.
    1172:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package k8s.io/apimachinery/pkg/util/sets.
    1173:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package k8s.io/apimachinery/pkg/util/sets.
    1174:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Processing package k8s.io/apimachinery/pkg/util/errors.
    1175:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Extracting types for package k8s.io/apimachinery/pkg/util/errors.
    1176:  [2025-01-01 04:25:51] [build-stderr] 2025/01/01 04:25:51 Done extracting types for package k8s.io/apimachinery/pkg/util/errors.
    ...
    
    1628:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Extracting types for package github.com/khulnasoft/gateway/internal/layer4/l4proxy.
    1629:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Done extracting types for package github.com/khulnasoft/gateway/internal/layer4/l4proxy.
    1630:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Processing package github.com/khulnasoft/gateway/internal/layer4/l4tls.
    1631:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Extracting types for package github.com/khulnasoft/gateway/internal/layer4/l4tls.
    1632:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Done extracting types for package github.com/khulnasoft/gateway/internal/layer4/l4tls.
    1633:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Processing package github.com/evanphx/json-patch/v5/internal/json.
    1634:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Extracting types for package github.com/evanphx/json-patch/v5/internal/json.
    1635:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Done extracting types for package github.com/evanphx/json-patch/v5/internal/json.
    1636:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Processing package github.com/pkg/errors.
    1637:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Extracting types for package github.com/pkg/errors.
    1638:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Done extracting types for package github.com/pkg/errors.
    1639:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Processing package github.com/evanphx/json-patch/v5.
    1640:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Extracting types for package github.com/evanphx/json-patch/v5.
    1641:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Done extracting types for package github.com/evanphx/json-patch/v5.
    1642:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Processing package k8s.io/apimachinery/pkg/api/errors.
    1643:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Extracting types for package k8s.io/apimachinery/pkg/api/errors.
    1644:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Done extracting types for package k8s.io/apimachinery/pkg/api/errors.
    ...
    
    1688:  [2025-01-01 04:25:52] [build-stderr] 2025/01/01 04:25:52 Extracting types for package k8s.io/apimachinery/third_party/forked/golang/json.
    1689:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Done extracting types for package k8s.io/apimachinery/third_party/forked/golang/json.
    1690:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Processing package hash/fnv.
    1691:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Extracting types for package hash/fnv.
    1692:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Done extracting types for package hash/fnv.
    1693:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Processing package google.golang.org/protobuf/internal/detrand.
    1694:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Extracting types for package google.golang.org/protobuf/internal/detrand.
    1695:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Done extracting types for package google.golang.org/protobuf/internal/detrand.
    1696:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Processing package google.golang.org/protobuf/internal/errors.
    1697:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Extracting types for package google.golang.org/protobuf/internal/errors.
    1698:  [2025-01-01 04:25:53] [build-stderr] 2025/01/01 04:25:53 Done extracting types for package google.golang.org/protobuf/internal/errors.
    ...
    
    3031:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package internal/runtime/atomic.
    3032:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package internal/runtime/exithook.
    3033:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package internal/runtime/syscall.
    3034:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package internal/stringslite.
    3035:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package runtime/internal/math.
    3036:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package runtime/internal/sys.
    3037:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package runtime.
    3038:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package internal/reflectlite.
    3039:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package errors.
    ...
    
    3047:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package strconv.
    3048:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package sync/atomic.
    3049:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package sync.
    3050:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package unicode.
    3051:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package reflect.
    3052:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package slices.
    3053:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package internal/fmtsort.
    3054:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package io.
    3055:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package internal/oserror.
    ...
    
    3089:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package regexp/syntax.
    3090:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package regexp.
    3091:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package github.com/google/gofuzz.
    3092:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package k8s.io/apimachinery/third_party/forked/golang/reflect.
    3093:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package k8s.io/apimachinery/pkg/conversion.
    3094:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package k8s.io/apimachinery/pkg/selection.
    3095:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package k8s.io/apimachinery/pkg/fields.
    3096:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package k8s.io/apimachinery/pkg/util/sets.
    3097:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package k8s.io/apimachinery/pkg/util/errors.
    ...
    
    3271:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Extracting /home/runner/work/gateway/gateway/go.mod
    3272:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Done extracting /home/runner/work/gateway/gateway/go.mod (0ms)
    3273:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Extracting /home/runner/work/gateway/gateway/internal/layer4/l4proxy/proxy.go
    3274:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Extracting /home/runner/work/gateway/gateway/internal/layer4/server.go
    3275:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Done extracting /home/runner/work/gateway/gateway/internal/layer4/server.go (1ms)
    3276:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Extracting /home/runner/work/gateway/gateway/go.mod
    3277:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Done extracting /home/runner/work/gateway/gateway/go.mod (0ms)
    3278:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package github.com/evanphx/json-patch/v5/internal/json.
    3279:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package github.com/pkg/errors.
    3280:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package github.com/evanphx/json-patch/v5.
    3281:  [2025-01-01 04:26:07] [build-stderr] 2025/01/01 04:26:07 Skipping dependency package k8s.io/apimachinery/pkg/api/errors.
    ...
    
    3310:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package k8s.io/apimachinery/pkg/runtime/serializer/versioning.
    3311:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package k8s.io/apimachinery/pkg/runtime/serializer.
    3312:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package github.com/davecgh/go-spew/spew.
    3313:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package k8s.io/apimachinery/pkg/util/dump.
    3314:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package k8s.io/apimachinery/pkg/util/mergepatch.
    3315:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package k8s.io/apimachinery/third_party/forked/golang/json.
    3316:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package hash/fnv.
    3317:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package google.golang.org/protobuf/internal/detrand.
    3318:  [2025-01-01 04:26:08] [build-stderr] 2025/01/01 04:26:08 Skipping dependency package google.golang.org/protobuf/internal/errors.
    ...
    
    3905:  [20/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-918/RequestForgery.qlx.
    3906:  [21/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-347/MissingJwtSignatureCheck.qlx.
    3907:  [22/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-209/StackTraceExposure.qlx.
    3908:  [23/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-643/XPathInjection.qlx.
    3909:  [24/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-352/ConstantOauth2State.qlx.
    3910:  [25/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-770/UncontrolledAllocationSize.qlx.
    3911:  [26/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-089/StringBreak.qlx.
    3912:  [27/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-681/IncorrectIntegerConversionQuery.qlx.
    3913:  [28/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Diagnostics/ExtractionErrors.qlx.
    3914:  [29/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Diagnostics/SuccessfullyExtractedFiles.qlx.
    3915:  [30/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-089/SqlInjection.qlx.
    3916:  [31/31] Loaded /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Summary/LinesOfCode.qlx.
    3917:  Starting evaluation of codeql/go-queries/Diagnostics/ExtractionErrors.ql.
    3918:  Starting evaluation of codeql/go-queries/Diagnostics/SuccessfullyExtractedFiles.ql.
    3919:  Starting evaluation of codeql/go-queries/Security/CWE-020/IncompleteHostnameRegexp.ql.
    3920:  Starting evaluation of codeql/go-queries/Security/CWE-020/IncompleteUrlSchemeCheck.ql.
    3921:  Starting evaluation of codeql/go-queries/Security/CWE-020/MissingRegexpAnchor.ql.
    3922:  Starting evaluation of codeql/go-queries/Security/CWE-020/SuspiciousCharacterInRegexp.ql.
    3923:  Starting evaluation of codeql/go-queries/Security/CWE-022/TaintedPath.ql.
    3924:  Starting evaluation of codeql/go-queries/Security/CWE-022/UnsafeUnzipSymlink.ql.
    3925:  [1/31 eval 193ms] Evaluation done; writing results to codeql/go-queries/Diagnostics/ExtractionErrors.bqrs.
    ...
    
    4033:  Interpreting /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-770/UncontrolledAllocationSize.ql...
    4034:  ... found results file at /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-770/UncontrolledAllocationSize.bqrs.
    4035:  Interpreting /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-089/StringBreak.ql...
    4036:  ... found results file at /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-089/StringBreak.bqrs.
    4037:  Interpreting /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-089/SqlInjection.ql...
    4038:  ... found results file at /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-089/SqlInjection.bqrs.
    4039:  Interpreting /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Security/CWE-681/IncorrectIntegerConversionQuery.ql...
    4040:  ... found results file at /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-681/IncorrectIntegerConversionQuery.bqrs.
    4041:  Interpreting /opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/qlpacks/codeql/go-queries/1.1.4/Diagnostics/ExtractionErrors.ql...
    4042:  ... found results file at /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Diagnostics/ExtractionErrors.bqrs.
    ...
    
    4067:  Interpreted pathproblem query "Missing JWT signature check" (go/missing-jwt-signature-check) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-347/MissingJwtSignatureCheck.bqrs.
    4068:  Interpreted pathproblem query "Information exposure through a stack trace" (go/stack-trace-exposure) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-209/StackTraceExposure.bqrs.
    4069:  Interpreted pathproblem query "Use of constant `state` value in OAuth 2.0 URL" (go/constant-oauth2-state) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-352/ConstantOauth2State.bqrs.
    4070:  Interpreted pathproblem query "XPath injection" (go/xml/xpath-injection) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-643/XPathInjection.bqrs.
    4071:  Interpreted pathproblem query "Slice memory allocation with excessive size value" (go/uncontrolled-allocation-size) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-770/UncontrolledAllocationSize.bqrs.
    4072:  Interpreted pathproblem query "Potentially unsafe quoting" (go/unsafe-quoting) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-089/StringBreak.bqrs.
    4073:  Interpreted pathproblem query "Database query built from user-controlled sources" (go/sql-injection) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-089/SqlInjection.bqrs.
    4074:  Interpreted pathproblem query "Incorrect conversion between integer types" (go/incorrect-integer-conversion) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Security/CWE-681/IncorrectIntegerConversionQuery.bqrs.
    4075:  Interpreted diagnostic query "Extraction errors" (go/diagnostics/extraction-errors) at path /home/runner/work/_temp/codeql_databases/go/results/codeql/go-queries/Diagnostics/ExtractionErrors.bqrs.
    ...
    
    4098:  Validating /home/runner/work/gateway/results/go.sarif
    4099:  Combining SARIF files using the CodeQL CLI
    4100:  Adding fingerprints to SARIF file. See https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs for more information.
    4101:  Uploading results
    4102:  Successfully uploaded results
    4103:  ##[endgroup]
    4104:  ##[group]Waiting for processing to finish
    4105:  Analysis upload status is pending.
    4106:  Analysis upload status is failed.
    4107:  ##[endgroup]
    4108:  ##[error]Code Scanning could not process the submitted SARIF file:
    ...
    
    4141:  "mrvaPackCreateMultipleQueries" : true,
    4142:  "setsCodeqlRunnerEnvVar" : true,
    4143:  "sarifMergeRunsFromEqualCategory" : true,
    4144:  "forceOverwrite" : true,
    4145:  "generateSummarySymbolMap" : true,
    4146:  "pythonDefaultIsToNotExtractStdlib" : true
    4147:  }
    4148:  }
    4149:  [command]/opt/hostedtoolcache/CodeQL/2.20.0/x64/codeql/codeql database export-diagnostics /home/runner/work/_temp/codeql_databases --db-cluster --format=sarif-latest --output=../codeql-failed-run.sarif --sarif-include-diagnostics -vvv
    ...
    
    4163:  Looking for diagnostics in /home/runner/work/_temp/codeql_databases/go/diagnostic/codeql-action...
    4164:  Found diagnostics file /home/runner/work/_temp/codeql_databases/go/diagnostic/codeql-action/codeql-action-2025-01-01T042525.263Z.json.
    4165:  Found diagnostics file /home/runner/work/_temp/codeql_databases/go/diagnostic/cli-diagnostics-add-20250101T042634.725Z.json.
    4166:  Found diagnostics file /home/runner/work/_temp/codeql_databases/go/diagnostic/cli-diagnostics-add-20250101T042532.330Z.json.
    4167:  Won't look for diagnostics in /home/runner/work/_temp/codeql_databases/diagnostic since this directory does not exist.
    4168:  Found 3 raw diagnostic messages.
    4169:  Processed diagnostic messages (removed 0 due to limits, created 0 summary diagnostics for status page).
    4170:  Interpreted diagnostic messages (101ms).
    4171:  Uploading failed SARIF file ../codeql-failed-run.sarif
    4172:  ##[group]Uploading results
    4173:  Processing sarif files: ["../codeql-failed-run.sarif"]
    4174:  Validating ../codeql-failed-run.sarif
    4175:  Combining SARIF files using the CodeQL CLI
    4176:  Adding fingerprints to SARIF file. See https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs for more information.
    4177:  CodeQL job status was configuration error.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants