Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
9901a9b
Add detailed_metric support for xds-config (#465)
akondapuram Feb 7, 2024
f3b6730
Bump actions/setup-go from 2.2.0 to 5.0.0 (#484)
dependabot[bot] Feb 18, 2024
19f2079
Retry the grpc connection when there's an error (#503)
akondapuram Feb 23, 2024
78ed1dc
fix: init gostats to not flood log (#520)
guilhem Mar 27, 2024
3678e41
chore: remove trailing line (#545)
guilhem Mar 29, 2024
4c3754b
Bump github/codeql-action from 2.2.4 to 3.24.9 (#543)
dependabot[bot] Mar 29, 2024
4b1dcb2
Bump actions/checkout from 2.7.0 to 4.1.2 (#541)
dependabot[bot] Mar 29, 2024
3654bfd
Bump docker/setup-buildx-action from 1.7.0 to 3.2.0 (#539)
dependabot[bot] Mar 29, 2024
247089f
config: fix detailed metric keys missing in leading keys (#528)
birdayz Apr 4, 2024
7f35f22
fix(Stats): restore stdout stats option, allow flush interval to be c…
zakhenry Apr 5, 2024
7adf8cc
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#548)
dependabot[bot] Apr 5, 2024
95e2a6e
Bump actions/setup-python from 5.0.0 to 5.1.0 (#546)
dependabot[bot] Apr 5, 2024
214a6d5
Bump go.opentelemetry.io/otel/sdk from 1.21.0 to 1.24.0 (#547)
dependabot[bot] Apr 5, 2024
9a3bb6c
Bump google.golang.org/grpc in /examples/xds-sotw-config-server (#537)
dependabot[bot] Apr 5, 2024
103cdde
Bump golang from 1.21.5 to 1.22.1 (#536)
dependabot[bot] Apr 5, 2024
6e2c37f
Bump golang from 1.21.5 to 1.22.1 in /examples/xds-sotw-config-server…
dependabot[bot] Apr 5, 2024
ecd76b2
Bump google.golang.org/grpc from 1.59.0 to 1.63.0 (#551)
dependabot[bot] Apr 5, 2024
4537d29
Update alpine to 3.18.6 to address openssl vulnerability (#531)
alexhwcheng Apr 5, 2024
82a4fb5
use `google.golang.org/protobuf` instead of `github.com/golang/protob…
mmorel-35 Apr 7, 2024
b68fb90
Add support for starting the server on a unix domain sockets (#542)
healthwaite Apr 13, 2024
fea2f30
Bump github/codeql-action from 3.24.9 to 3.24.10 (#554)
dependabot[bot] Apr 13, 2024
d98c580
Bump golang from 1.22.1 to 1.22.2 (#560)
dependabot[bot] Apr 13, 2024
8b6a44b
Bump google.golang.org/grpc in /examples/xds-sotw-config-server (#562)
dependabot[bot] Apr 13, 2024
a618388
Bump github.com/lyft/gostats from 0.4.12 to 0.4.13 (#558)
dependabot[bot] Apr 19, 2024
3fcc360
Bump golang from 1.22.1 to 1.22.2 in /examples/xds-sotw-config-server…
dependabot[bot] Apr 19, 2024
ca55e1b
Bump actions/upload-artifact from 3.1.0 to 4.3.3 (#577)
dependabot[bot] May 5, 2024
aae80dc
Bump github.com/lyft/gostats from 0.4.13 to 0.4.14 (#609)
dependabot[bot] Jun 7, 2024
b779269
Bump github/codeql-action from 3.24.10 to 3.25.7 (#608)
dependabot[bot] Jun 7, 2024
e4fec80
Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc …
dependabot[bot] Jun 7, 2024
e754e7f
Bump alpine from `51b6726` to `77726ef` in /integration-test (#600)
dependabot[bot] Jun 7, 2024
695c1ef
Bump alpine from 3.16 to 3.20 in /examples/xds-sotw-config-server (#599)
dependabot[bot] Jun 7, 2024
0f73f89
Bump alpine from 3.18.6 to 3.20.0 (#598)
dependabot[bot] Jun 7, 2024
f17d88f
Including the name in the ratelimit descriptor so that it is returned…
jespersoderlund Jun 7, 2024
2b7813e
Bump golang.org/x/net from 0.25.0 to 0.26.0 (#611)
dependabot[bot] Jun 7, 2024
470a044
Bump google.golang.org/grpc in /examples/xds-sotw-config-server (#591)
dependabot[bot] Jun 7, 2024
573747d
Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#590)
dependabot[bot] Jun 7, 2024
23943f9
Bump actions/checkout from 4.1.2 to 4.1.6 (#589)
dependabot[bot] Jun 7, 2024
e34bcd0
Bump golang from 1.22.2 to 1.22.3 in /examples/xds-sotw-config-server…
dependabot[bot] Jun 7, 2024
0e03176
Bump actions/setup-go from 5.0.0 to 5.0.1 (#578)
dependabot[bot] Jun 7, 2024
71e2eb7
Bump golang from 1.22.2 to 1.22.3 (#584)
dependabot[bot] Jun 7, 2024
be31f86
Add TLS support to memcache (#594)
isker Jun 7, 2024
c5ac0f0
fix(redis): use logger instead of println (#606)
jwillker Jun 10, 2024
0895db5
Initial integration of DogStatsD (#585)
JDeuce Jun 14, 2024
cc77e95
Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#622)
dependabot[bot] Jun 18, 2024
f1e143b
Bump github/codeql-action from 3.25.7 to 3.25.10 (#621)
dependabot[bot] Jun 18, 2024
5701cd6
Bump actions/checkout from 4.1.6 to 4.1.7 (#620)
dependabot[bot] Jun 18, 2024
cdf0405
Bump golang from 1.22.3 to 1.22.4 in /examples/xds-sotw-config-server…
dependabot[bot] Jun 18, 2024
4f3c99d
Bump golang from 1.22.3 to 1.22.4 (#617)
dependabot[bot] Jun 18, 2024
92487ac
Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/gr…
dependabot[bot] Jun 18, 2024
e509f36
Bump github.com/alicebob/miniredis/v2 from 2.31.0 to 2.33.0 (#614)
dependabot[bot] Jun 18, 2024
7ca7eca
Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp …
dependabot[bot] Jun 18, 2024
0ddd444
feat: add log error in should ratelimit (#612)
jwillker Jun 18, 2024
db7fc78
feat: add stat for domain not found (#624)
JDeuce Jun 20, 2024
00d7d6c
feat(dogstatsd_sink): support EXTRA_TAGS (#625)
JDeuce Jun 20, 2024
91484c5
fix(dogstatsd_sink): switch from pure map to list of key/value pairs …
JDeuce Jun 20, 2024
3d87d0e
Bump alpine from 3.20.0 to 3.20.2 (#661)
dependabot[bot] Aug 1, 2024
c1de7ec
Bump docker/setup-qemu-action from 1.2.0 to 3.2.0 (#660)
dependabot[bot] Aug 1, 2024
c5bbc24
Bump github/codeql-action from 3.25.10 to 3.25.15 (#659)
dependabot[bot] Aug 1, 2024
50d4d19
Bump docker/setup-buildx-action from 3.2.0 to 3.5.0 (#658)
dependabot[bot] Aug 1, 2024
321e333
Bump alpine from `77726ef` to `0a4eaa0` in /integration-test (#657)
dependabot[bot] Aug 1, 2024
30a4ce1
improve go version, to fix security issue. (#656)
johnzheng1975 Aug 1, 2024
6a63b38
Bump actions/setup-python from 5.1.0 to 5.1.1 (#649)
dependabot[bot] Aug 1, 2024
b450b61
Bump google.golang.org/grpc in /examples/xds-sotw-config-server (#646)
dependabot[bot] Aug 1, 2024
30f27b0
Bump actions/upload-artifact from 4.3.3 to 4.3.4 (#644)
dependabot[bot] Aug 1, 2024
80b83bf
Bump go.opentelemetry.io/otel from 1.27.0 to 1.28.0 (#641)
dependabot[bot] Aug 1, 2024
05bf226
Bump go.opentelemetry.io/otel/trace from 1.27.0 to 1.28.0 (#640)
dependabot[bot] Aug 1, 2024
f4af2db
runner: close rate limiter on Stop (#635)
birdayz Aug 1, 2024
b3b7c4b
Add CertProvider to hot reload TLS certs for gRPC service (#587)
jayme-github Aug 1, 2024
9409674
Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc …
dependabot[bot] Aug 1, 2024
dfca264
Bump golang from 1.22.4 to 1.22.5 in /examples/xds-sotw-config-server…
dependabot[bot] Aug 1, 2024
803b65c
chore: run gofumpt (#664)
zirain Aug 2, 2024
722431e
Bump golang in /examples/xds-sotw-config-server (#674)
dependabot[bot] Aug 8, 2024
701e1c1
Bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#673)
dependabot[bot] Aug 8, 2024
281d5fa
Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/gr…
dependabot[bot] Aug 8, 2024
322b220
build(deps): bump actions/upload-artifact from 4.3.4 to 4.3.6 (#679)
dependabot[bot] Aug 15, 2024
c58b4c8
build(deps): bump golang in /examples/xds-sotw-config-server (#676)
dependabot[bot] Aug 15, 2024
5e3841c
build(deps): bump golang from 1.22.5 to 1.22.6 (#677)
dependabot[bot] Aug 15, 2024
ae04944
build(deps): bump github/codeql-action from 3.25.15 to 3.26.0 (#678)
dependabot[bot] Aug 15, 2024
0e8a4fb
Bump actions/setup-go from 5.0.1 to 5.0.2 (#666)
dependabot[bot] Aug 15, 2024
26f28d7
Bump docker/setup-buildx-action from 3.5.0 to 3.6.1 (#667)
dependabot[bot] Aug 15, 2024
3a7d0e0
Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#669)
dependabot[bot] Aug 15, 2024
28b1629
implemnt Prometheus sink (#681)
zirain Sep 16, 2024
0e630f1
build(deps): bump alpine from 3.20.2 to 3.20.3 (#701)
dependabot[bot] Nov 8, 2024
ad9ee27
build(deps): bump alpine in /integration-test (#769)
dependabot[bot] Nov 21, 2024
65f8465
build(deps): bump alpine from `beefdbd` to `1e42bbe` (#768)
dependabot[bot] Nov 21, 2024
49af5cc
build(deps): bump golang from 1.22.6 to 1.23.3 (#763)
dependabot[bot] Nov 21, 2024
83a4d25
build(deps): bump golang in /examples/xds-sotw-config-server (#762)
dependabot[bot] Nov 21, 2024
15b5ac4
build(deps): bump github/codeql-action from 3.26.0 to 3.27.5 (#772)
dependabot[bot] Nov 25, 2024
a53a4fd
build(deps): bump golang from `d56c3e0` to `73f06be` (#771)
dependabot[bot] Nov 26, 2024
b9bb97a
build(deps): bump golang in /examples/xds-sotw-config-server (#770)
dependabot[bot] Dec 1, 2024
738fdce
fix go-fumpt args (#694)
zirain Dec 3, 2024
b2cf3b6
build(deps): bump actions/setup-python from 5.1.1 to 5.3.0 (#766)
dependabot[bot] Dec 3, 2024
1818d41
change to github.com/libp2p/go-reuseport (#774)
zirain Dec 5, 2024
d36a71b
enable rate limit for month and year (#743)
rpahli Dec 6, 2024
44de8d9
Fix time conversion for year (#775)
arkodg Dec 6, 2024
6a2e826
add prometheus sink debug info (#710)
zirain Dec 11, 2024
7475d46
build(deps): bump golang.org/x/net from 0.26.0 to 0.33.0 (#803)
dependabot[bot] Dec 24, 2024
38500fe
ratelimit: per descriptor hits addend support and prefer uint64 (#802)
wbpcode Dec 27, 2024
87adad2
Add configuration XDS_CLIENT_MAX_MSG_SIZE_IN_BYTES (#797)
renuka-fernando Jan 6, 2025
fccc165
feat: add support for weekly ratelimit unit (#812)
stefansedich Jan 11, 2025
60d8e81
Fix Prometheus metrics (#773)
rofafor Jan 15, 2025
a465176
build(deps): bump golang from 1.23.3 to 1.23.5 (#819)
dependabot[bot] Feb 7, 2025
80b1577
build(deps): bump golang in /examples/xds-sotw-config-server (#820)
dependabot[bot] Feb 7, 2025
8b49940
build(deps): bump golang from 1.23.5 to 1.24.0 (#841)
dependabot[bot] Mar 4, 2025
ae4cee1
build(deps): bump alpine from 3.20.3 to 3.21.3 (#842)
dependabot[bot] Mar 4, 2025
0141a24
build(deps): bump golang from 1.24.0 to 1.24.1 (#858)
dependabot[bot] Mar 21, 2025
69f7db1
fix CVE-2025-22870 (#864)
psbrar99 Mar 26, 2025
3e085e5
add response details to ratelimit debug log (#870)
nacx Apr 9, 2025
bb4dae2
Close out CVE-2025-22871 in golang and CVE-2025-22872 in golang.org/x…
emicica May 29, 2025
623341a
build(deps): bump github/codeql-action from 3.27.5 to 3.29.2 (#917)
dependabot[bot] Jul 15, 2025
f2f0e0f
build(deps): bump golang from 1.24.3 to 1.24.5 (#919)
dependabot[bot] Jul 17, 2025
a90e0e5
build(deps): bump golang in /examples/xds-sotw-config-server (#920)
dependabot[bot] Jul 17, 2025
38f0198
fix: update go-control-plane to support MONTH, WEEK, and YEAR rate li…
okdas Aug 14, 2025
e74a664
build(deps): bump golang from 1.24.5 to 1.24.6 (#935)
dependabot[bot] Aug 15, 2025
ecb5da3
build(deps): bump alpine from 3.21.3 to 3.22.2 (#971)
dependabot[bot] Oct 21, 2025
110924a
build(deps): bump alpine in /integration-test (#976)
dependabot[bot] Oct 21, 2025
4a9191b
build(deps): bump golang from 1.24.6 to 1.25.3 (#983)
dependabot[bot] Oct 23, 2025
ca11c4a
build(deps): bump golang in /examples/xds-sotw-config-server (#981)
dependabot[bot] Oct 23, 2025
aaa9907
build(deps): bump google.golang.org/protobuf from 1.36.7 to 1.36.10 (…
dependabot[bot] Oct 23, 2025
875d418
feat: add connection timeout configuration for Redis operations (#987)
notdu Oct 27, 2025
99d8551
Replace Alpine with Google's distroless static image for enhanced sec…
collin-lee Oct 28, 2025
6b4f389
feat: Add field to add unspecified value to metric (#996)
xuannam230201 Nov 29, 2025
afec97a
[Proposal] Share Threshold for Wildcard Rate Limiting (#1016)
xuannam230201 Dec 3, 2025
21e2655
(fixes): local cache stat test fixes (#1013)
sagarsuperuser Dec 3, 2025
e4ac90e
[ISSUE] Fix: Wildcard Stats Key Behavior Changes (#1017)
xuannam230201 Dec 5, 2025
fc44670
feat: Add Pool On-Empty Behavior Configuration for Redis Connections …
notdu Dec 7, 2025
f52a616
fix: apply TLS and auth config to Redis Sentinel connections (#1015)
stekole Dec 10, 2025
167d0f8
add support for response dynamic metadata (#1027)
zirain Dec 16, 2025
e9ce92c
upgrade radix from v3 to v4 for improved pipeline handling (#1041)
upgle Dec 31, 2025
a28b84d
implement quota mode for soft rate limit check (#1045)
yuzisun Jan 15, 2026
3fb7025
bump go version 1.25.6 (#1047)
rudrakhp Jan 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
with:
category: "/language:${{matrix.language}}"
16 changes: 8 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: check format
run: make check_format

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Set up QEMU
uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0

- name: Set up Docker buildx
id: buildx
uses: docker/setup-buildx-action@f211e3e9ded2d9377c8cadc4489a4e38014bc4c9 # v1.7.0
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1

- name: build and push docker image
run: |
Expand All @@ -41,15 +41,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.9"

- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: "1.21.5"
go-version: "1.23.9"

- name: run pre-commits
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: check format
run: make check_format
Expand All @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: build and test
run: make docker_tests
Expand All @@ -29,15 +29,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.9"

- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: "1.21.5"
go-version: "1.23.9"

- name: run pre-commits
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: check format
run: make check_format
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Set up QEMU
uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0

- name: Set up Docker buildx
id: buildx
uses: docker/setup-buildx-action@f211e3e9ded2d9377c8cadc4489a4e38014bc4c9 # v1.7.0
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1

- name: build and push docker image
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -56,14 +56,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
with:
sarif_file: results.sarif
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cover.out

bin/
env/
.idea/
.vscode/
vendor
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: go-imports
args: ["-w", "-local", "github.com/envoyproxy/ratelimit"]
- id: go-fumpt
args: ["-w"]
args: ["-l", "-w", "."]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.4.1"
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.5@sha256:672a2286da3ee7a854c3e0a56e0838918d0dbb1c18652992930293312de898a6 AS build
FROM golang:1.25.6@sha256:fc24d3881a021e7b968a4610fc024fba749f98fe5c07d4f28e6cfa14dc65a84c AS build
WORKDIR /ratelimit

ENV GOPROXY=https://proxy.golang.org
Expand All @@ -10,6 +10,5 @@ COPY script script

RUN CGO_ENABLED=0 GOOS=linux go build -o /go/bin/ratelimit -ldflags="-w -s" -v github.com/envoyproxy/ratelimit/src/service_cmd

FROM alpine:3.18.5@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 AS final
RUN apk --no-cache add ca-certificates && apk --no-cache update
FROM gcr.io/distroless/static-debian12:nonroot@sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0
COPY --from=build /go/bin/ratelimit /bin/ratelimit
2 changes: 1 addition & 1 deletion Dockerfile.integration
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Running this docker image runs the integration tests.
FROM golang@sha256:672a2286da3ee7a854c3e0a56e0838918d0dbb1c18652992930293312de898a6
FROM golang:1.25.6@sha256:fc24d3881a021e7b968a4610fc024fba749f98fe5c07d4f28e6cfa14dc65a84c

RUN apt-get update -y && apt-get install sudo stunnel4 redis memcached -y && rm -rf /var/lib/apt/lists/*

Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ BUILDX_PLATFORMS := linux/amd64,linux/arm64/v8
# Root dir returns absolute path of current directory. It has a trailing "/".
PROJECT_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
export PROJECT_DIR
ifneq ($(shell docker compose version 2>/dev/null),)
DOCKER_COMPOSE=docker compose
else
DOCKER_COMPOSE=docker-compose
endif

.PHONY: bootstrap
bootstrap: ;
Expand Down Expand Up @@ -142,7 +147,7 @@ docker_multiarch_push: docker_multiarch_image

.PHONY: integration_tests
integration_tests:
docker-compose --project-directory $(PWD) -f integration-test/docker-compose-integration-test.yml up --build --exit-code-from tester
$(DOCKER_COMPOSE) --project-directory $(PWD) -f integration-test/docker-compose-integration-test.yml up --build --exit-code-from tester

.PHONY: precommit_install
precommit_install:
Expand Down
Loading