Skip to content

fix: test against Vector 0.60.0 and follow vrl 0.37 - #55

Merged
catinspace-au merged 1 commit into
mainfrom
fix/vector-0.60
Oct 27, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/vector-0.60

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

Closes #54. Folds in #52 and #53.

Main was red on cargo audit and cargo deny before the Vector bump ran, so the daily auto-update could never get green.

  • Vector test image 0.59.0 -> 0.60.0-debian (released 2026-10-19), vrl lock 0.35.0 -> 0.37.0.
  • vrl 0.37 added Value::String and Terminate::Interrupted. The bindings did not match either, so the test build failed. Enrichment lookups also rejected a condition built by sha1() or md5(), now covered by a test.
  • vrl_examples.json regenerated against the same vrl rev as the lock. The old copy failed to_unix_timestamp nanoseconds, which is fallible in 0.37.
  • setup-python 7.0.0 -> 7.1.0 and setup-uv 10.3.0 -> 10.3.2 (the same SHAs as build(deps): bump actions/setup-python from 7.0.0 to 7.1.0 #52 and build(deps): bump astral-sh/setup-uv from 10.3.0 to 10.3.2 #53).

zstd advisories (RUSTSEC-2026-0391, 0395-0406, 0410):

  • The fix is zstd 0.14.3 / zstd-safe 8.2. vrl requires zstd = "0.13", so there is no bump from here.
  • vrl only calls zstd::decode_all and zstd::encode_all, each on a fresh context, with the seekable, experimental, zstdmt and legacy features off.
  • Each ignore in deny.toml carries its own reachability line. Drop them when vrl moves to zstd 0.14.

block-buffer (GHSA-qwgh-2vcv-g2f7): needs a caught panic in the compress callback of a reused buffer. The SHA-1 and AES block functions do not panic and each hasher is dropped per call.

Checked locally: make check exit 0 (cargo audit, cargo deny, osv-scanner, clippy, nextest, pytest 1051 passed).

The Vector auto-update bump failed because main was already red on
cargo audit and cargo deny (zstd advisories), and vrl 0.37 changed two
enums the bindings match on.

- Test image 0.59.0 -> 0.60.0-debian, vrl lock to 0.37.0, examples
  corpus regenerated against the same vrl rev
- Handle vrl's new Value::String and Terminate::Interrupted. A condition
  built by sha1() or md5() was rejected by enrichment lookups before
- Ignore the 14 zstd/zstd-safe/zstd-sys advisories and the block-buffer
  one in deny.toml, each with its reachability. The fix needs zstd 0.14,
  which vrl's zstd = "0.13" requirement excludes
- Take actions/setup-python 7.1.0 and astral-sh/setup-uv 10.3.2
@catinspace-au
catinspace-au merged commit 44aa1d3 into main Oct 27, 2026
16 checks passed
@catinspace-au
catinspace-au deleted the fix/vector-0.60 branch October 27, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vector auto-update failed - manual bump needed

1 participant