Skip to content

Commit ed798dc

Browse files
committed
Merge branch 'main' of ssh://ssh.github.com:443/envoyproxy/envoy into dev-stats-code-optimization
2 parents 27c4f97 + 7dc1c03 commit ed798dc

375 files changed

Lines changed: 13356 additions & 2799 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/codeql/codeql-config.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Envoy CodeQL config"
2+
3+
# The CodeQL workflows download a prebuilt clang bundle and untar it into
4+
# $GITHUB_WORKSPACE/bin/clang18.1.8/. Bazel is then pointed at that path via
5+
# BAZEL_LLVM_PATH, which causes CodeQL to see the bundled libc++ headers as
6+
# project source files. Alerts whose primary location is inside those headers
7+
# (e.g. cpp/new-free-mismatch in <vector>) are structural false positives
8+
# from dataflow losing precision across allocator/template instantiations --
9+
# they are not fixable in Envoy and are not indicative of real libc++ bugs.
10+
#
11+
# Scope is intentionally narrow: only libc++ (clang bundle) headers, matched
12+
# by the standard v1 layout. Do not broaden to bin/** or to libstdc++
13+
# (include/c++/** without the v1/ suffix).
14+
paths-ignore:
15+
- '**/include/c++/v1/**'

‎.github/workflows/_check_coverage.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
upload-name: coverage
5959
upload-path: generated/coverage/html
6060
steps-post: |
61-
- uses: envoyproxy/toolshed/actions/jq@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
61+
- uses: envoyproxy/toolshed/actions/jq@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
6262
with:
6363
output-path: generated/coverage/html/gcs-metadata.json
6464
input-format: yaml
@@ -79,7 +79,7 @@ jobs:
7979
- target: fuzz_coverage
8080
name: Fuzz coverage
8181
steps-post: |
82-
- uses: envoyproxy/toolshed/actions/jq@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
82+
- uses: envoyproxy/toolshed/actions/jq@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
8383
with:
8484
output-path: generated/fuzz_coverage/html/gcs-metadata.json
8585
input-format: yaml

‎.github/workflows/_cve_fetch.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-24.04
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
- name: Set vars
2828
id: vars
2929
run: |
@@ -35,7 +35,7 @@ jobs:
3535
else
3636
echo "weekly_run=false" >> $GITHUB_OUTPUT
3737
fi
38-
- uses: envoyproxy/toolshed/actions/gcp/setup@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
38+
- uses: envoyproxy/toolshed/actions/gcp/setup@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
3939
name: Setup GCP
4040
with:
4141
key: ${{ secrets.gcs-cve-key }}

‎.github/workflows/_cve_scan.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
runs-on: ubuntu-24.04
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
- name: Set vars
2828
id: vars
2929
run: |
3030
echo "cve-data-path=${{ inputs.cve-data-path }}" > $GITHUB_OUTPUT
31-
- uses: envoyproxy/toolshed/actions/gcp/setup@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
31+
- uses: envoyproxy/toolshed/actions/gcp/setup@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
3232
name: Setup GCP
3333
with:
3434
key: ${{ secrets.gcs-cve-key }}

‎.github/workflows/_finish.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
actions: read
3737
contents: read
3838
steps:
39-
- uses: envoyproxy/toolshed/actions/jq@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
39+
- uses: envoyproxy/toolshed/actions/jq@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
4040
name: Incoming data
4141
id: needs
4242
with:
@@ -87,21 +87,21 @@ jobs:
8787
summary: "Check has finished",
8888
text: $text}}}}
8989
90-
- uses: envoyproxy/toolshed/actions/jq@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
90+
- uses: envoyproxy/toolshed/actions/jq@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
9191
name: Print summary
9292
with:
9393
input: ${{ toJSON(steps.needs.outputs.value).summary-title }}
9494
filter: |
9595
"## \(.)"
9696
options: -Rr
9797
output-path: GITHUB_STEP_SUMMARY
98-
- uses: envoyproxy/toolshed/actions/appauth@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
98+
- uses: envoyproxy/toolshed/actions/appauth@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
9999
name: Appauth
100100
id: appauth
101101
with:
102102
app_id: ${{ secrets.app-id }}
103103
key: ${{ secrets.app-key }}
104-
- uses: envoyproxy/toolshed/actions/github/checks@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
104+
- uses: envoyproxy/toolshed/actions/github/checks@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
105105
name: Update check
106106
with:
107107
action: update

‎.github/workflows/_load.yml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,22 @@ jobs:
8787
gh api \
8888
-H "Accept: application/vnd.github+json" \
8989
-H "X-GitHub-Api-Version: 2022-11-28" \
90-
/repos/${{ github.repository }}/actions/runs/${{ inputs.run-id }} \
90+
"/repos/${GH_REPO}/actions/runs/${RUN_ID}" \
9191
| jq '.'
92-
RUNID=$(gh run view ${{ inputs.run-id }} --repo ${{ github.repository }} --json databaseId | jq -r '.databaseId')
92+
RUNID=$(gh run view "${RUN_ID}" --repo "${GH_REPO}" --json databaseId | jq -r '.databaseId')
9393
echo "value=${RUNID}" >> "$GITHUB_OUTPUT"
9494
id: run-id
9595
if: ${{ inputs.runs-after == true }}
9696
env:
9797
GH_TOKEN: ${{ github.token }}
98+
RUN_ID: ${{ inputs.run-id }}
99+
GH_REPO: ${{ github.repository }}
98100
99101
# Load env data
100102
# Handle any failure in triggering job
101103
# Remove any `checks` we dont care about
102104
# Prepare a check request
103-
- uses: envoyproxy/toolshed/actions/github/env/load@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
105+
- uses: envoyproxy/toolshed/actions/github/env/load@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
104106
name: Load env
105107
id: data
106108
with:
@@ -111,21 +113,21 @@ jobs:
111113
GH_TOKEN: ${{ github.token }}
112114

113115
# Update the check
114-
- uses: envoyproxy/toolshed/actions/appauth@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
116+
- uses: envoyproxy/toolshed/actions/appauth@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
115117
name: Appauth
116118
id: appauth
117119
with:
118120
app_id: ${{ secrets.app-id }}
119121
key: ${{ secrets.app-key }}
120-
- uses: envoyproxy/toolshed/actions/github/checks@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
122+
- uses: envoyproxy/toolshed/actions/github/checks@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
121123
name: Update check
122124
if: ${{ fromJSON(steps.data.outputs.data).data.check.action == 'RUN' }}
123125
with:
124126
action: update
125127
checks: ${{ toJSON(fromJSON(steps.data.outputs.data).checks) }}
126128
token: ${{ steps.appauth.outputs.token }}
127129

128-
- uses: envoyproxy/toolshed/actions/jq@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
130+
- uses: envoyproxy/toolshed/actions/jq@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
129131
name: Print request summary
130132
with:
131133
input: |
@@ -145,7 +147,7 @@ jobs:
145147
| $summary.summary as $summary
146148
| "${{ inputs.template-request-summary }}"
147149
148-
- uses: envoyproxy/toolshed/actions/jq@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
150+
- uses: envoyproxy/toolshed/actions/jq@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
149151
id: request-output
150152
name: Load request
151153
with:

‎.github/workflows/_load_env.yml‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,25 @@ env:
5555

5656
jobs:
5757
request:
58-
if: ${{ github.repository == 'envoyproxy/envoy' || vars.ENVOY_CI }}
5958
runs-on: ubuntu-24.04
6059
outputs:
6160
build-image: ${{ toJSON(fromJSON(steps.env.outputs.data).request.build-image) }}
6261
build-image-mobile: ${{ fromJSON(steps.env.outputs.data).request.build-image-mobile }}
6362
request: ${{ steps.env.outputs.data }}
6463
trusted: true
6564
steps:
66-
- uses: envoyproxy/toolshed/actions/jq@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
65+
- uses: envoyproxy/toolshed/actions/jq@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
6766
id: started
6867
name: Create timestamp
6968
with:
7069
options: -r
7170
filter: |
7271
now
73-
- uses: envoyproxy/toolshed/actions/github/checkout@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
72+
- uses: envoyproxy/toolshed/actions/github/checkout@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
7473
id: checkout
7574
name: Checkout Envoy repository
7675
- name: Generate environment variables
77-
uses: envoyproxy/toolshed/actions/envoy/ci/env@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
76+
uses: envoyproxy/toolshed/actions/envoy/ci/env@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
7877
id: env
7978
with:
8079
branch-name: ${{ inputs.branch-name }}
@@ -86,7 +85,7 @@ jobs:
8685

8786
- name: Request summary
8887
id: summary
89-
uses: envoyproxy/toolshed/actions/github/env/summary@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
88+
uses: envoyproxy/toolshed/actions/github/env/summary@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
9089
with:
9190
actor: ${{ toJSON(fromJSON(steps.env.outputs.data).request.actor) }}
9291
base-sha: ${{ fromJSON(steps.env.outputs.data).request.base-sha }}
@@ -110,5 +109,5 @@ jobs:
110109
needs: request
111110
if: ${{ inputs.cache-docker }}
112111
with:
113-
request: ${{ toJSON(needs.request.outputs) }}
112+
caches: ${{ needs.request.outputs.caches }}
114113
image-tag: ${{ fromJSON(needs.request.outputs.build-image).default }}

‎.github/workflows/_precheck_deps.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
if: ${{ inputs.dependency-review }}
5353
steps:
5454
- name: Checkout Repository
55-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
55+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5656
with:
5757
ref: ${{ fromJSON(inputs.request).request.sha }}
5858
persist-credentials: false

‎.github/workflows/_precheck_publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
upload-name: docs
8686
upload-path: generated/docs
8787
steps-post: |
88-
- uses: envoyproxy/toolshed/actions/jq@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
88+
- uses: envoyproxy/toolshed/actions/jq@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
8989
with:
9090
output-path: generated/docs/gcs-metadata.json
9191
input-format: yaml

‎.github/workflows/_publish_release.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@ jobs:
121121
include:
122122
- target: publish
123123
name: github
124-
source: |
125-
export ENVOY_COMMIT=${{ fromJSON(inputs.request).request.sha }}
126-
export ENVOY_REPO=${{ github.repository }}
127-
export ENVOY_PUBLISH_DRY_RUN=${{ (fromJSON(inputs.request).request.version.dev || ! inputs.trusted) && 1 || '' }}
128124

129125
docs:
130126
# For normal commits to Envoy main this will trigger an update in the website repo,
@@ -139,12 +135,12 @@ jobs:
139135
needs:
140136
- release
141137
steps:
142-
- uses: envoyproxy/toolshed/actions/appauth@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
138+
- uses: envoyproxy/toolshed/actions/appauth@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
143139
id: appauth
144140
with:
145141
app_id: ${{ secrets.ENVOY_CI_SYNC_APP_ID }}
146142
key: ${{ secrets.ENVOY_CI_SYNC_APP_KEY }}
147-
- uses: envoyproxy/toolshed/actions/dispatch@8d5d8d4b9eeb5e4e76b92341b0b1b1f6438af231 # v0.4.5
143+
- uses: envoyproxy/toolshed/actions/dispatch@0f75902a4f8ed63a5b5f9e4336ef22048f6f5670 # v0.4.6
148144
with:
149145
ref: main
150146
repository: ${{ fromJSON(inputs.request).request.version.dev && 'envoyproxy/envoy-website' || 'envoyproxy/archive' }}

0 commit comments

Comments
 (0)