Skip to content

Commit 471179d

Browse files
Merge remote-tracking branch 'origin/master' into dependabot/cargo/arrow-schema-58.0.0
2 parents e03e258 + c748d6f commit 471179d

File tree

138 files changed

+2150
-1017
lines changed

Some content is hidden

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

138 files changed

+2150
-1017
lines changed

.github/actions/setup/action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ inputs:
5858
required: false
5959
default: false
6060
description: "Install cargo-hack for feature compilation checks."
61+
cargo-llvm-cov:
62+
required: false
63+
default: false
64+
description: "Install cargo-llvm-cov for code coverage."
6165
dd-rust-license-tool:
6266
required: false
6367
default: false
@@ -111,6 +115,7 @@ runs:
111115
"${{ inputs.cargo-deny }}" \
112116
"${{ inputs.cargo-msrv }}" \
113117
"${{ inputs.cargo-hack }}" \
118+
"${{ inputs.cargo-llvm-cov }}" \
114119
"${{ inputs.dd-rust-license-tool }}" \
115120
"${{ inputs.wasm-pack }}"; do
116121
if [[ "$val" == "true" ]]; then
@@ -182,7 +187,7 @@ runs:
182187
# We explicitly put `mold-wrapper.so` right beside `mold` itself because it's hard-coded to look in the same directory
183188
# first when trying to load the shared object, so we can dodge having to care about the "right" lib folder to put it in.
184189
TEMP=$(mktemp -d)
185-
MOLD_VERSION=1.2.1
190+
MOLD_VERSION=2.40.4
186191
MOLD_TARGET=mold-${MOLD_VERSION}-$(uname -m)-linux
187192
curl -fsSL "https://github.com/rui314/mold/releases/download/v${MOLD_VERSION}/${MOLD_TARGET}.tar.gz" \
188193
--output "$TEMP/${MOLD_TARGET}.tar.gz"
@@ -259,6 +264,7 @@ runs:
259264
~/.cargo/bin/cargo-deny
260265
~/.cargo/bin/cargo-msrv
261266
~/.cargo/bin/cargo-hack
267+
~/.cargo/bin/cargo-llvm-cov
262268
~/.cargo/bin/dd-rust-license-tool
263269
~/.cargo/bin/wasm-pack
264270
/usr/local/bin/markdownlint
@@ -278,6 +284,7 @@ runs:
278284
[[ "${{ inputs.cargo-deny }}" == "true" ]] && mods+=("cargo-deny")
279285
[[ "${{ inputs.cargo-msrv }}" == "true" ]] && mods+=("cargo-msrv")
280286
[[ "${{ inputs.cargo-hack }}" == "true" ]] && mods+=("cargo-hack")
287+
[[ "${{ inputs.cargo-llvm-cov }}" == "true" ]] && mods+=("cargo-llvm-cov")
281288
[[ "${{ inputs.dd-rust-license-tool }}" == "true" ]] && mods+=("dd-rust-license-tool")
282289
[[ "${{ inputs.wasm-pack }}" == "true" ]] && mods+=("wasm-pack")
283290
[[ "${{ inputs.markdownlint }}" == "true" ]] && mods+=("markdownlint")

.github/actions/spelling/allow.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Bedove
6060
Benss
6161
bigendian
6262
bindir
63+
binstall
6364
binfmt
6465
bitcast
6566
bitcode
@@ -561,6 +562,10 @@ zstandard
561562
ZTE
562563
Zync
563564
sighup
565+
CPPFLAGS
566+
LDFLAGS
567+
libsasl
568+
pkgconfig
564569
CLAUDE
565570
linting
566571
lexers

.github/actions/spelling/expect.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,13 @@ duser
170170
dynamicwireless
171171
dyno
172172
ebfcee
173+
ector
173174
edenhill
174175
edns
175176
eeyun
176177
efgh
177178
Elhage
179+
elopment
178180
emerg
179181
endianess
180182
endler
@@ -646,6 +648,7 @@ wayfor
646648
wday
647649
webgraphviz
648650
websites
651+
websockets
649652
wensite
650653
whostheboss
651654
willreturn

.github/workflows/coverage.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Code Coverage
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch: # Allow manual trigger from GitHub UI
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
CI: true
14+
CARGO_INCREMENTAL: '0' # Disable incremental compilation for coverage
15+
16+
jobs:
17+
coverage:
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
22+
- uses: ./.github/actions/setup
23+
with:
24+
rust: true
25+
libsasl2: true
26+
protoc: true
27+
cargo-llvm-cov: true
28+
cargo-nextest: true
29+
datadog-ci: true
30+
31+
- name: "Generate code coverage"
32+
run: cargo llvm-cov nextest --workspace --lcov --output-path lcov.info
33+
34+
- name: "Upload coverage to Datadog"
35+
env:
36+
DD_API_KEY: ${{ secrets.DD_API_KEY }}
37+
DD_SITE: datadoghq.com
38+
DD_ENV: ci
39+
run: datadog-ci coverage upload lcov.info

.github/workflows/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
run: sudo -E bash scripts/ci-free-disk-space.sh
7070

7171
- name: Build image (no push)
72-
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
72+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
7373
with:
7474
context: .
7575
file: ./scripts/environment/Dockerfile
@@ -89,7 +89,7 @@ jobs:
8989
9090
- name: Push image
9191
if: env.SHOULD_PUBLISH == 'true'
92-
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
92+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
9393
with:
9494
context: .
9595
file: ./scripts/environment/Dockerfile

.github/workflows/regression.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
213213

214214
- name: Build 'vector' target image
215-
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
215+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
216216
with:
217217
context: baseline-vector/
218218
cache-from: type=gha
@@ -255,7 +255,7 @@ jobs:
255255
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
256256

257257
- name: Build 'vector' target image
258-
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
258+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
259259
with:
260260
context: comparison-vector/
261261
cache-from: type=gha
@@ -281,7 +281,7 @@ jobs:
281281
- resolve-inputs
282282
steps:
283283
- name: Configure AWS Credentials
284-
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
284+
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
285285
with:
286286
aws-access-key-id: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_ACCESS_KEY_ID }}
287287
aws-secret-access-key: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_SECRET_ACCESS_KEY }}
@@ -315,7 +315,7 @@ jobs:
315315
docker load --input baseline-image.tar
316316
317317
- name: Configure AWS Credentials
318-
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
318+
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
319319
with:
320320
aws-access-key-id: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_ACCESS_KEY_ID }}
321321
aws-secret-access-key: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_SECRET_ACCESS_KEY }}
@@ -355,7 +355,7 @@ jobs:
355355
docker load --input comparison-image.tar
356356
357357
- name: Configure AWS Credentials
358-
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
358+
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
359359
with:
360360
aws-access-key-id: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_ACCESS_KEY_ID }}
361361
aws-secret-access-key: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_SECRET_ACCESS_KEY }}
@@ -394,7 +394,7 @@ jobs:
394394
ref: ${{ needs.resolve-inputs.outputs.comparison-sha }}
395395

396396
- name: Configure AWS Credentials
397-
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
397+
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
398398
with:
399399
aws-access-key-id: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_ACCESS_KEY_ID }}
400400
aws-secret-access-key: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_SECRET_ACCESS_KEY }}
@@ -467,7 +467,7 @@ jobs:
467467
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
468468

469469
- name: Configure AWS Credentials
470-
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
470+
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
471471
with:
472472
aws-access-key-id: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_ACCESS_KEY_ID }}
473473
aws-secret-access-key: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_SECRET_ACCESS_KEY }}
@@ -510,7 +510,7 @@ jobs:
510510
ref: ${{ needs.resolve-inputs.outputs.comparison-sha }}
511511

512512
- name: Configure AWS Credentials
513-
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
513+
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
514514
with:
515515
aws-access-key-id: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_ACCESS_KEY_ID }}
516516
aws-secret-access-key: ${{ secrets.SINGLE_MACHINE_PERFORMANCE_BOT_SECRET_ACCESS_KEY }}

.github/workflows/semantic.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ permissions:
1515
jobs:
1616
main:
1717
permissions:
18-
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
19-
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
18+
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
19+
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
2020
name: Check Semantic PR
2121
runs-on: ubuntu-24.04
2222
steps:
@@ -36,6 +36,8 @@ jobs:
3636
scopes: |
3737
administration
3838
api
39+
api top
40+
api tap
3941
ARC
4042
architecture
4143
auth
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Static Analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- "**" # Run on all branches (includes PR branches)
8+
workflow_dispatch: # Allow manual trigger from GitHub UI
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
static-analysis:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
19+
- name: Datadog Static Analyzer
20+
if: ${{ secrets.DD_API_KEY != '' }}
21+
uses: DataDog/datadog-static-analyzer-github-action@8340f18875fcefca86844b5f947ce2431387e552 # v3.0.0
22+
with:
23+
dd_api_key: ${{ secrets.DD_API_KEY }}
24+
dd_app_key: ${{ secrets.DD_APP_KEY }}
25+
dd_site: datadoghq.com
26+
secrets_enabled: true

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ cargo install dd-rust-license-tool --locked
254254
make build-licenses
255255
```
256256

257+
## Creating Pull Requests
258+
259+
Before opening a PR, read [`.github/PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md) and use it as the reference for the PR body structure and title.
260+
257261
## Reference Documentation
258262

259263
These documents provide context that AI agents and developers need when working on Vector code.

0 commit comments

Comments
 (0)