gVisor bot
f87a10ed3f
Merge pull request #12122 from google:dependabot/github_actions/actions/stale-10
...
PiperOrigin-RevId: 864435210
2026-02-02 11:05:41 -08:00
dependabot[bot]
22d391a758
build(deps): bump github/codeql-action from 3 to 4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-13 20:08:00 +00:00
gVisor bot
fa67407239
Merge pull request #12120 from google:dependabot/github_actions/actions/setup-go-6.0.0
...
PiperOrigin-RevId: 804614581
2025-09-08 15:46:01 -07:00
dependabot[bot]
bbf5c11474
Bump actions/stale from 9 to 10
...
Bumps [actions/stale](https://github.com/actions/stale ) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v9...v10 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: '10'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-08 20:37:21 +00:00
dependabot[bot]
5c060290cb
Bump actions/labeler from 4 to 6
...
Bumps [actions/labeler](https://github.com/actions/labeler ) from 4 to 6.
- [Release notes](https://github.com/actions/labeler/releases )
- [Commits](https://github.com/actions/labeler/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: actions/labeler
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-08 20:36:55 +00:00
dependabot[bot]
0a8009e024
Bump actions/setup-go from 5.5.0 to 6.0.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5.5.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-08 20:35:28 +00:00
Ayush Ranjan
c647536147
Grant issue write permissions to the issue reviver workflow.
...
The `issue_reviver` job requires write access to issues to be able to reopen
them.
PiperOrigin-RevId: 800131706
2025-08-27 12:34:00 -07:00
dependabot[bot]
73b334b644
Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-12 03:14:49 +00:00
gVisor bot
ab0097c4d0
Merge pull request #11716 from avagin:build-runsc
...
PiperOrigin-RevId: 757956963
2025-05-12 16:30:58 -07:00
Andrei Vagin
b336390391
github: Add CI workflow for building runsc
...
The workflow is configured to:
* Run on every push to any branch.
* Build the runsc binary.
* Upload the built runsc artifact, making it available for consumption.
This ensures that runsc is continuously built and provides readily
accessible build artifacts for testing purposes.
Signed-off-by: Andrei Vagin <avagin@google.com >
2025-05-12 14:56:19 -07:00
dependabot[bot]
e38c4c3238
Bump actions/setup-go from 5.3.0 to 5.5.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.3.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5.3.0...v5.5.0 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 5.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-12 20:58:55 +00:00
Ayush Ranjan
fa0fbae6fb
Fix Go workflow with permissions needed to write to PR statuses.
...
PiperOrigin-RevId: 732128622
2025-02-28 07:20:12 -08:00
dependabot[bot]
35f46455a9
Bump actions/setup-go from 5.2.0 to 5.3.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5.2.0...v5.3.0 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-27 20:10:30 +00:00
gVisor bot
7af7cb0367
Merge pull request #10376 from google:dependabot/github_actions/actions/checkout-4
...
PiperOrigin-RevId: 712599942
2025-01-06 11:31:02 -08:00
dependabot[bot]
0fc08a1a78
Bump actions/setup-go from 5.0.1 to 5.2.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.0.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5.0.1...v5.2.0 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-16 20:21:14 +00:00
dependabot[bot]
929a45ff22
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-06 21:52:12 +00:00
gVisor bot
1d4050cea8
Merge pull request #10375 from google:dependabot/github_actions/actions/setup-go-5.0.1
...
PiperOrigin-RevId: 631192161
2024-05-06 14:51:06 -07:00
gVisor bot
cb77c731b5
Merge pull request #10377 from google:dependabot/github_actions/actions/stale-9
...
PiperOrigin-RevId: 631175483
2024-05-06 13:58:55 -07:00
dependabot[bot]
9c10a5cb80
Bump actions/stale from 5 to 9
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 9.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v5...v9 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-04 08:51:16 +00:00
dependabot[bot]
93723bd5d3
Bump actions/setup-go from 3.5.0 to 5.0.1
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3.5.0 to 5.0.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3.5.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-04 08:51:11 +00:00
dependabot[bot]
aa1000bca6
Bump github/codeql-action from 2 to 3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-04 08:51:09 +00:00
Scott Brenner
5456be79c2
Dependabot configuration to update actions in workflows
2024-04-30 22:00:08 -07:00
Ayush Ranjan
d2e9bf2cef
Do not auto close "revived" issues.
...
We have an issue reviver (tools/github/reviver/) which revives issues that
still have pending TODOs remaining. Such revived issues are labeled with
"revived".
Currently the issue reviver workflow and stale workflow go in a loop closing
and re-opening issues every few months. Break this loop by not auto-closing
revived issues.
PiperOrigin-RevId: 624993203
2024-04-15 09:58:36 -07:00
Ayush Ranjan
e56225db03
Run actions/setup-go before CodeQL in Github workflow.
...
The golang codeql has been failing for 4 months now. It is because CodeQL was
running with Go 1.20.14, but go.mod specifies v1.21.1.
PiperOrigin-RevId: 607007356
2024-02-14 09:18:13 -08:00
Ayush Ranjan
f62a4a77d5
Update go branch to Go 1.21.
...
Starting with Go 1.21, build tags select the language version. We currently
have several `go:build go1.1` tags, which were intended to act as "true" tags.
But that will break with 1.21. So replace them with "!false".
Fixes #9568 .
PiperOrigin-RevId: 576020779
2023-10-23 22:09:47 -07:00
Ayush Ranjan
8c40c16ba8
Exempt proposal issues from being closed as stale.
...
Proposals usually have more longevity and contain interesting ideas.
Also clean up "new feature" and "enhancement" from the list. Those labels don't
exist in gVisor repo.
PiperOrigin-RevId: 565735357
2023-09-15 11:41:00 -07:00
Lucas Manning
29d82338fc
Enhance stale action with more labels and a smaller close window.
...
The action also ignores a few more labels.
PiperOrigin-RevId: 565494794
2023-09-14 15:34:53 -07:00
Lucas Manning
3dda3741d8
Fix CodeQL so that it does not fail the github check.
...
PiperOrigin-RevId: 565119657
2023-09-13 12:01:52 -07:00
Lucas Manning
9117572ae0
Add "type: enhancement" to labels protected from the stale action.
...
PiperOrigin-RevId: 565089338
2023-09-13 10:25:05 -07:00
gVisor bot
94500414c9
Merge pull request #9359 from milantracy:codeqlconfig
...
PiperOrigin-RevId: 564786128
2023-09-12 11:41:11 -07:00
Lucas Manning
6d06f309ed
Increase stale action ops per run.
...
Right now we're capped at 30, but have 569 open issues and 192 open PRs.
PiperOrigin-RevId: 564760282
2023-09-12 10:23:03 -07:00
Jing Chen
1afe6d14e7
Add initial CodeQL config for gVisor.
2023-09-11 11:41:47 -07:00
Lucas Manning
27d7936e93
Fix github workflow test.
...
PiperOrigin-RevId: 563466164
2023-09-07 10:08:15 -07:00
Lucas Manning
c584a1a435
Add a github workflow that marks issues and PRs as stale.
...
PiperOrigin-RevId: 563136967
2023-09-06 10:05:13 -07:00
Etienne Perot
79b38029d7
gVisor metric library: Optimize operations for large-cardinality metrics.
...
This optimizes both increments and lookup operations.
It does so using the following:
- For metrics of potential cardinality larger than 48, it will switch to using
a map rather than linear search for mapping field value combinations to the
index that combination corresponds to in the flattened list of values.
For metrics of cardinality 48 or smaller, linear search is still used as it
is still faster (and also still faster than binary search), as determined by
benchmarks.
- All field values are checked for pointer uniqueness (i.e. the pointer to the
start of each field value string must be unique). This is then used for
faster matching: instead of comparing whole strings (and needing to hash
them, in the case of doing map-based lookups), it compares pointer values.
In the context of this metric library, because all field values must be
pre-declared ahead of time, keeping references to these pre-declared strings
should always be possible. This is enforced: it will `panic` if the metric
user does not do this. In practice, this is easy to do by using `const`
strings for all metric values. This change does just that for existing
metrics with string fields.
From benchmarks, this speeds up the time to take a snapshot of existing
metrics by -8.35%. With the unimplemented syscall counter metric, this
optimization reduces the slowdown of adding this metric from +4,250% to
a still-large but much more manageable +290%. A further optimization
(cl/524419591) will reduce this overhead further before re-introducing the
unimplemented syscall counter metric.
PiperOrigin-RevId: 526134756
2023-04-21 14:21:18 -07:00
Pål-Magnus Slåtto
1538acf579
Merge branch 'master' into master
2023-03-26 18:26:28 +02:00
Kevin Krakauer
b250ee717d
github: remove update styfle/cancel-workflow-action version
...
We're on a to-be-deprecated version (see bug), and GitHub now provides
cancellation built-in.
See docs here:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
PiperOrigin-RevId: 519261554
2023-03-24 16:11:43 -07:00
Pål-Magnus Slåtto
e172e9f080
chore(ci): Upgrade Github Actions to non-deprecated workflows
2023-03-13 20:58:58 +01:00
Kevin Krakauer
2b5f0e1b8e
github: update actions/checkout to newest version
...
PiperOrigin-RevId: 504693188
2023-01-25 16:37:56 -08:00
Kevin Krakauer
cef82030f6
github: update actions/setup-go to newest version
...
PiperOrigin-RevId: 504662268
2023-01-25 14:30:37 -08:00
Kevin Krakauer
226daf3879
github: add quotes around shell variable
...
PiperOrigin-RevId: 503526899
2023-01-20 14:47:04 -08:00
TAKAHASHI Shuuji
ef2e8dc104
ci: update GitHub Actions to avoid set-output deprecation
2022-12-28 14:35:31 +00:00
gVisor bot
289e455495
Merge pull request #8154 from avagin:bazel-update
...
PiperOrigin-RevId: 492077389
2022-11-30 18:56:18 -08:00
Ian Gudger
288fcb8218
Use standard library sync.Mutex.TryLock.
...
The standard library sync.Mutex has included a TryLock method since Go 1.18.
There is no longer a need to implement a parallel version with unsafe. Using
the standard library version reduces the ongoing maintenance cost of this
package.
https://pkg.go.dev/sync#Mutex.TryLock
https://tip.golang.org/doc/go1.18#minor_library_changes
2022-10-15 23:55:24 -07:00
Michael Pratt
3cf5809212
Bump Go branch workflow to 1.17
...
This matches the version in WORKSPACE and go.mod.
PiperOrigin-RevId: 433506784
2022-03-09 10:03:49 -08:00
Kevin Krakauer
e55fb66ecd
use github issue templates
2021-07-14 13:10:55 -07:00
Ian Lewis
927bb26517
Don't mark issues as stale.
...
PiperOrigin-RevId: 378306356
2021-06-08 20:08:17 -07:00
Ian Lewis
32b66bb2be
Add badges for Github actions so it's easier to notice when they are failing.
...
PiperOrigin-RevId: 374331016
2021-05-17 19:44:02 -07:00
Ian Lewis
1699d702cb
Fix issue reviver
...
Fixes invocation of the Github issue reviver by including the required 'path'
command line option. Also updates the issue reviver to add a 'revived' label to
revived issues. Issues with a 'revived' label will no longer be marked as
stale.
PiperOrigin-RevId: 373046772
2021-05-10 17:29:07 -07:00
Ayush Ranjan
915b813798
[op] Remove Build job from GitHub actions.
...
We already have blocking nogo tests which show all findings. This job was
building all nogo targets, and posting all the findings to GitHub as a check
run. Building nogo takes a while so we actually end up wasting a lot of time
doing redundant work.
This is aligned with our goal of moving away from GitHub actions to BuildKite
only.
PiperOrigin-RevId: 370134875
2021-04-23 12:33:48 -07:00