Skip to content

Commit 857b4b3

Browse files
authored
Merge branch 'master' into support-avro-date-values
2 parents 623e84b + 9f484c2 commit 857b4b3

File tree

825 files changed

+24555
-33734
lines changed

Some content is hidden

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

825 files changed

+24555
-33734
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
.github/workflows/regression.yml @vectordotdev/vector @vectordotdev/single-machine-performance
44
regression/config.yaml @vectordotdev/vector @vectordotdev/single-machine-performance
55

6-
docs/ @vectordotdev/vector @vectordotdev/ux-team @vectordotdev/documentation
7-
website/ @vectordotdev/vector @vectordotdev/ux-team
6+
docs/ @vectordotdev/vector @vectordotdev/documentation
7+
website/ @vectordotdev/vector
88
website/content @vectordotdev/vector @vectordotdev/documentation
99
website/cue/reference @vectordotdev/vector @vectordotdev/documentation
1010

.github/ISSUE_TEMPLATE/minor-release.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,24 @@ cargo vdev release prepare --version "${NEW_VECTOR_VERSION}" --vrl-version "${NE
3737
```
3838

3939
Automated steps include:
40-
- [ ] Create a new release branch from master to freeze commits
40+
41+
- Create a new release branch from master to freeze commits
4142
- `git fetch && git checkout origin/master && git checkout -b "${RELEASE_BRANCH}" && git push -u`
42-
- [ ] Create a new release preparation branch from `master`
43+
- Create a new release preparation branch from `master`
4344
- `git checkout -b "${PREP_BRANCH}" && git push -u`
44-
- [ ] Pin VRL to latest released version rather than `main`
45-
- [ ] Check if there is a newer version of [Alpine](https://alpinelinux.org/releases/) or [Debian](https://www.debian.org/releases/) available to update the release images in
45+
- Pin VRL to latest released version rather than `main`
46+
- Check if there is a newer version of [Alpine](https://alpinelinux.org/releases/) or [Debian](https://www.debian.org/releases/) available to update the release images in
4647
`distribution/docker/`. Update if so.
47-
- [ ] Run `cargo vdev build release-cue` to generate a new cue file for the release
48-
- [ ] Copy VRL changelogs from the VRL version in the last Vector release as a new changelog entry
48+
- Run `cargo vdev build release-cue` to generate a new cue file for the release
49+
- Copy VRL changelogs from the VRL version in the last Vector release as a new changelog entry
4950
([example](https://github.com/vectordotdev/vector/blob/9c67bba358195f5018febca2f228dfcb2be794b5/website/cue/reference/releases/0.41.0.cue#L33-L64))
50-
- [ ] Update version number in `website/cue/reference/administration/interfaces/kubectl.cue`
51-
- [ ] Update version number in `distribution/install.sh`
52-
- [ ] Add new version to `website/cue/reference/versions.cue`
53-
- [ ] Create new release md file by copying an existing one in `./website/content/en/releases/` and
51+
- Update version number in `website/cue/reference/administration/interfaces/kubectl.cue`
52+
- Update version number in `distribution/install.sh`
53+
- Add new version to `website/cue/reference/versions.cue`
54+
- Create new release md file by copying an existing one in `./website/content/en/releases/` and
5455
updating version number
55-
- [ ] Commit these changes
56-
- [ ] Open PR against the release branch (`"${RELEASE_BRANCH}"`) for review
56+
- Commit these changes
57+
- Open PR against the release branch (`"${RELEASE_BRANCH}"`) for review
5758

5859
## 3. Manual Steps
5960

@@ -79,7 +80,7 @@ Automated steps include:
7980
- [ ] Squash the release preparation commits (but not the cherry-picked commits!) to a single
8081
commit. This makes it easier to cherry-pick to master after the release.
8182
- [ ] Merge release preparation branch into the release branch.
82-
- `git switch "${RELEASE_BRANCH}" && git merge --ff-only "${PREP_BRANCH}"`
83+
- `git switch "${RELEASE_BRANCH}" && git merge --ff-only "${PREP_BRANCH}"`
8384

8485
- [ ] Tag new release
8586
- [ ] `git tag v"${NEW_VECTOR_VERSION}" -a -m v"${NEW_VECTOR_VERSION}"`
@@ -94,7 +95,7 @@ Automated steps include:
9495
- [ ] Release updated Helm chart. See [releasing Helm chart](https://github.com/vectordotdev/helm-charts/blob/develop/RELEASING.md).
9596
- [ ] Release Homebrew. Refer to the internal releasing doc.
9697
- [ ] Create internal Docker images. Refer to the internal releasing doc.
97-
- [ ] Update the latest [release tag](https://github.com/vectordotdev/vector/release) description with the release announcement.
98+
- [ ] Update the latest [release tag](https://github.com/vectordotdev/vector/releases) description with the release announcement.
9899
- [ ] Create a new PR with title starting as `chore(releasing):`
99100
- [ ] Cherry-pick any release commits from the release branch that are not on `master`, to `master`.
100101
- [ ] Run `cargo vdev build manifests` and commit changes.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ This should help the reviewers give feedback faster and with higher quality. -->
99
<!-- Please describe how you tested your changes. Also include any information about your setup. -->
1010

1111
## Change Type
12+
1213
- [ ] Bug fix
1314
- [ ] New feature
1415
- [ ] Dependencies
1516
- [ ] Non-functional (chore, refactoring, docs)
1617
- [ ] Performance
1718

1819
## Is this a breaking change?
20+
1921
- [ ] Yes
2022
- [ ] No
2123

@@ -36,6 +38,7 @@ Changes to CI, website, playground and similar are generally not considered user
3638
-->
3739

3840
## Notes
41+
3942
- Please read our [Vector contributor resources](https://github.com/vectordotdev/vector/tree/master/docs#getting-started).
4043
- Do not hesitate to use `@vectordotdev/vector` to reach out to us regarding this PR.
4144
- Some CI checks run only after we manually approve them.
@@ -48,7 +51,7 @@ Changes to CI, website, playground and similar are generally not considered user
4851
- Feel free to push as many commits as you want. They will be squashed into one before merging.
4952
- For example, you can run `git merge origin master` and `git push`.
5053
- If this PR introduces changes Vector dependencies (modifies `Cargo.lock`), please
51-
run `make build-licenses` to regenerate the [license inventory](https://github.com/vectordotdev/vrl/blob/main/LICENSE-3rdparty.csv) and commit the changes (if any). More details [here](https://crates.io/crates/dd-rust-license-tool).
54+
run `make build-licenses` to regenerate the [license inventory](https://github.com/vectordotdev/vrl/blob/main/LICENSE-3rdparty.csv) and commit the changes (if any). More details on the [dd-rust-license-tool](https://crates.io/crates/dd-rust-license-tool).
5255

5356

5457
<!--

.github/SUPPORT.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ you are observing.
3232

3333
Essential details to include:
3434

35-
- Errors: for each error, please provide the full error message snippet, and
35+
* Errors: for each error, please provide the full error message snippet, and
3636
details such as where the error is observed, at what stage in the process
3737
(e.g. at boot time, after some specific condition etc.).
38-
- What is the version of Vector (and the Helm chart if deploying via Helm) and
38+
* What is the version of Vector (and the Helm chart if deploying via Helm) and
3939
the versions of any other systems in use (like Elasticsearch, NATS, etc.).
40-
- What is your Vector configuration. See the below section on [how to format
40+
* What is your Vector configuration. See the below section on [how to format
4141
your config](#formatting).
42-
- How are you [deploying](https://vector.dev/docs/setup/deployment/) Vector?
43-
- What is your complete deployment architecture? For example: I have Logstash
42+
* How are you [deploying](https://vector.dev/docs/setup/deployment/) Vector?
43+
* What is your complete deployment architecture? For example: I have Logstash
4444
agents sending to Vector over syslog that is being forwarded to Loki.
4545

4646
Situation specific (not exhaustive):
4747

48-
- Did it occur after upgrading to a new version of Vector?
49-
- Are you trying out Vector for the first time, or did you have a previous
48+
* Did it occur after upgrading to a new version of Vector?
49+
* Are you trying out Vector for the first time, or did you have a previous
5050
working configuration?
5151

5252
These are just some examples of questions that may or may not apply to your

.github/actions/install-vdev/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ runs:
2020
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
2121
with:
2222
path: ~/.cargo/bin/vdev
23-
key: ${{ runner.os }}-vdev-${{ hashFiles('vdev/**', 'Cargo.toml', 'Cargo.lock') }}
23+
# WARNING: this key need to be in sync with the key in .github/actions/setup/action.yml
24+
key: ${{ runner.os }}-vdev-${{ hashFiles('vdev/**', 'lib/vector-vrl/**', 'Cargo.toml', 'Cargo.lock') }}
2425
restore-keys: |
2526
${{ runner.os }}-vdev-
2627
@@ -36,7 +37,8 @@ runs:
3637
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
3738
with:
3839
path: ~/.cargo/bin/vdev
39-
key: ${{ runner.os }}-vdev-${{ hashFiles('vdev/**', 'Cargo.toml', 'Cargo.lock') }}
40+
# WARNING: this key need to be in sync with the key in .github/actions/setup/action.yml
41+
key: ${{ runner.os }}-vdev-${{ hashFiles('vdev/**', 'lib/vector-vrl/**', 'Cargo.toml', 'Cargo.lock') }}
4042

4143
- name: Set VDEV environment variable
4244
shell: bash

.github/actions/setup/action.yml

Lines changed: 15 additions & 7 deletions
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
@@ -72,10 +76,10 @@ inputs:
7276
description: "Install vdev CLI tool (cached by vdev/ directory changes)."
7377

7478
# prepare.sh - npm
75-
markdownlint:
79+
markdownlint-cli2:
7680
required: false
7781
default: false
78-
description: "Install markdownlint (npm)."
82+
description: "Install markdownlint-cli2 (npm)."
7983
datadog-ci:
8084
required: false
8185
default: false
@@ -90,7 +94,8 @@ runs:
9094
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
9195
with:
9296
path: ~/.cargo/bin/vdev
93-
key: ${{ runner.os }}-vdev-${{ hashFiles('vdev/**', 'Cargo.toml', 'Cargo.lock') }}
97+
# WARNING: this key need to be in sync with the key in .github/actions/install-vdev/action.yml
98+
key: ${{ runner.os }}-vdev-${{ hashFiles('vdev/**', 'lib/vector-vrl/**', 'Cargo.toml', 'Cargo.lock') }}
9499
restore-keys: |
95100
${{ runner.os }}-vdev-
96101
lookup-only: true
@@ -110,6 +115,7 @@ runs:
110115
"${{ inputs.cargo-deny }}" \
111116
"${{ inputs.cargo-msrv }}" \
112117
"${{ inputs.cargo-hack }}" \
118+
"${{ inputs.cargo-llvm-cov }}" \
113119
"${{ inputs.dd-rust-license-tool }}" \
114120
"${{ inputs.wasm-pack }}"; do
115121
if [[ "$val" == "true" ]]; then
@@ -181,7 +187,7 @@ runs:
181187
# We explicitly put `mold-wrapper.so` right beside `mold` itself because it's hard-coded to look in the same directory
182188
# first when trying to load the shared object, so we can dodge having to care about the "right" lib folder to put it in.
183189
TEMP=$(mktemp -d)
184-
MOLD_VERSION=1.2.1
190+
MOLD_VERSION=2.40.4
185191
MOLD_TARGET=mold-${MOLD_VERSION}-$(uname -m)-linux
186192
curl -fsSL "https://github.com/rui314/mold/releases/download/v${MOLD_VERSION}/${MOLD_TARGET}.tar.gz" \
187193
--output "$TEMP/${MOLD_TARGET}.tar.gz"
@@ -211,7 +217,7 @@ runs:
211217
EOF
212218
213219
- name: Install protoc
214-
if: ${{ inputs.protoc == 'true' }}
220+
if: ${{ inputs.protoc == 'true' || env.VDEV_NEEDS_COMPILE == 'true' }}
215221
shell: bash
216222
run: |
217223
echo "Installing protoc"
@@ -258,9 +264,10 @@ runs:
258264
~/.cargo/bin/cargo-deny
259265
~/.cargo/bin/cargo-msrv
260266
~/.cargo/bin/cargo-hack
267+
~/.cargo/bin/cargo-llvm-cov
261268
~/.cargo/bin/dd-rust-license-tool
262269
~/.cargo/bin/wasm-pack
263-
/usr/local/bin/markdownlint
270+
/usr/local/bin/markdownlint-cli2
264271
/usr/local/bin/datadog-ci
265272
key: ${{ runner.os }}-prepare-binaries-${{ hashFiles('scripts/environment/*') }}
266273
restore-keys: |
@@ -277,9 +284,10 @@ runs:
277284
[[ "${{ inputs.cargo-deny }}" == "true" ]] && mods+=("cargo-deny")
278285
[[ "${{ inputs.cargo-msrv }}" == "true" ]] && mods+=("cargo-msrv")
279286
[[ "${{ inputs.cargo-hack }}" == "true" ]] && mods+=("cargo-hack")
287+
[[ "${{ inputs.cargo-llvm-cov }}" == "true" ]] && mods+=("cargo-llvm-cov")
280288
[[ "${{ inputs.dd-rust-license-tool }}" == "true" ]] && mods+=("dd-rust-license-tool")
281289
[[ "${{ inputs.wasm-pack }}" == "true" ]] && mods+=("wasm-pack")
282-
[[ "${{ inputs.markdownlint }}" == "true" ]] && mods+=("markdownlint")
290+
[[ "${{ inputs.markdownlint-cli2 }}" == "true" ]] && mods+=("markdownlint-cli2")
283291
[[ "${{ inputs.datadog-ci }}" == "true" ]] && mods+=("datadog-ci")
284292
csm=$(IFS=,; echo "${mods[*]}")
285293

.github/actions/spelling/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# check-spelling/check-spelling configuration
22

33
File | Purpose | Format | Info
4-
-|-|-|-
4+
--- | --- | --- | ---
55
[dictionary.txt](dictionary.txt) | Replacement dictionary (creating this file will override the default dictionary) | one word per line | [dictionary](https://github.com/check-spelling/check-spelling/wiki/Configuration#dictionary)
66
[allow.txt](allow.txt) | Add words to the dictionary | one word per line (only letters and `'`s allowed) | [allow](https://github.com/check-spelling/check-spelling/wiki/Configuration#allow)
77
[reject.txt](reject.txt) | Remove words from the dictionary (after allow) | grep pattern matching whole dictionary words | [reject](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-reject)

.github/actions/spelling/advice.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<details><summary>If flagged items are :exploding_head: false positives</summary>
1111

1212
If items relate to a ...
13+
1314
* binary file (or some other file you wouldn't want to check at all).
1415

1516
Please add a file path to the `excludes.txt` file matching the containing file.

.github/actions/spelling/allow.txt

Lines changed: 12 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
@@ -137,6 +138,7 @@ dsmith
137138
DVB
138139
ede
139140
emoji
141+
emojis
140142
emqx
141143
enableable
142144
Enot
@@ -145,7 +147,9 @@ EPC
145147
esbuild
146148
esensar
147149
etld
150+
eventcreate
148151
eventloop
152+
Evt
149153
Evercoss
150154
exactlyonce
151155
Explay
@@ -497,6 +501,7 @@ Telstra
497501
Tencent
498502
Texet
499503
Thl
504+
timediff
500505
timeframe
501506
timeseries
502507
timespan
@@ -557,4 +562,11 @@ zstandard
557562
ZTE
558563
Zync
559564
sighup
565+
CPPFLAGS
566+
LDFLAGS
567+
libsasl
568+
pkgconfig
560569
CLAUDE
570+
grpcurl
571+
linting
572+
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

0 commit comments

Comments
 (0)