From 5e69e689cadf84f8852bdf41e69c6c2d63afbb1c Mon Sep 17 00:00:00 2001 From: Juan Mantica Date: Fri, 11 Sep 2026 14:31:29 -0400 Subject: [PATCH 1/2] test(deps): [OBE-10738] pin vrl to stack-headroom-guard fix for CI validation Test-only pin, not intended to merge. Points vrl at JuanMantica45/vrl@ddb3c6faf (vrl PR #15's obe-10738-stack-headroom-guard branch) so dataplane-build's Test Suite and Publish workflows can validate the compiler stack-guard fix against vector before it lands in vrl's upstream branch. Co-Authored-By: Claude Sonnet 5 --- Cargo.lock | 46 ++++++++++++++++++++++++++++++++++++++++------ Cargo.toml | 2 +- 2 files changed, 41 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2ed1c15b2..7b1fdaa51 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -305,6 +305,15 @@ dependencies = [ "num-traits", ] +[[package]] +name = "ar_archive_writer" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c269894b6fe5e9d7ada0cf69b5bf847ff35bc25fc271f08e1d080fce80339a" +dependencies = [ + "object", +] + [[package]] name = "arbitrary" version = "1.3.2" @@ -1821,7 +1830,7 @@ dependencies = [ "bitflags 2.11.1", "cexpr", "clang-sys", - "itertools 0.13.0", + "itertools 0.11.0", "log", "prettyplease 0.2.37", "proc-macro2 1.0.107", @@ -1841,7 +1850,7 @@ dependencies = [ "bitflags 2.11.1", "cexpr", "clang-sys", - "itertools 0.13.0", + "itertools 0.11.0", "proc-macro2 1.0.107", "quote 1.0.47", "regex", @@ -2693,7 +2702,7 @@ version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] @@ -9011,7 +9020,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes 1.9.0", - "heck 0.4.1", + "heck 0.5.0", "itertools 0.12.1", "log", "multimap", @@ -9058,7 +9067,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9552f850d5f0964a4e4d0bf306459ac29323ddfbae05e35a7c0d35cb0803cc5" dependencies = [ "anyhow", - "itertools 0.13.0", + "itertools 0.11.0", "proc-macro2 1.0.107", "quote 1.0.47", "syn 2.0.117", @@ -9120,6 +9129,16 @@ version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac" +[[package]] +name = "psm" +version = "0.1.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d11f2fedc3b7dafdc2851bc52f277377c5473d378859be234bc7ebb593144d01" +dependencies = [ + "ar_archive_writer", + "cc", +] + [[package]] name = "ptr_meta" version = "0.1.4" @@ -11349,6 +11368,19 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "stacker" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cddb07e32ddb770749da91081d8d0ac3a16f1a569a18b20348cd371f5dead06b" +dependencies = [ + "cc", + "cfg-if", + "libc", + "psm", + "windows-sys 0.59.0", +] + [[package]] name = "static_assertions" version = "1.1.0" @@ -13645,7 +13677,7 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "vrl" version = "0.21.0" -source = "git+https://github.com/Observo-Inc/vrl.git?rev=0b7ee95b6b4b4b0855553cee121f918655e24510#0b7ee95b6b4b4b0855553cee121f918655e24510" +source = "git+https://github.com/JuanMantica45/vrl.git?rev=ddb3c6faf#ddb3c6faf89a2458e663ae30f047c501feac121c" dependencies = [ "aes", "aes-siv", @@ -13717,6 +13749,7 @@ dependencies = [ "prost-reflect", "psl", "psl-types", + "psm", "publicsuffix", "quickcheck", "quoted_printable", @@ -13733,6 +13766,7 @@ dependencies = [ "sha3", "snafu 0.8.0", "snap", + "stacker", "strip-ansi-escapes", "syslog_loose", "termcolor", diff --git a/Cargo.toml b/Cargo.toml index 84e998cb7..df7939185 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -194,7 +194,7 @@ vector-lib = { path = "lib/vector-lib", default-features = false, features = ["v vector-config = { path = "lib/vector-config" } vector-config-common = { path = "lib/vector-config-common" } vector-config-macros = { path = "lib/vector-config-macros" } -vrl = { git = "https://github.com/Observo-Inc/vrl.git", rev = "0b7ee95b6b4b4b0855553cee121f918655e24510", features = ["arbitrary", "cli", "test", "test_framework"] } +vrl = { git = "https://github.com/JuanMantica45/vrl.git", rev = "ddb3c6faf", features = ["arbitrary", "cli", "test", "test_framework"] } wasserglas = { version = "0.1.0" } tracing = { version = "0.1.34", default-features = false } dyn-clone = { version = "1.0.17", default-features = false } From 83ba30da0167154862826f1c85a7cd8cde2fd984 Mon Sep 17 00:00:00 2001 From: Juan Mantica Date: Fri, 11 Sep 2026 14:56:04 -0400 Subject: [PATCH 2/2] test(docs): [OBE-10738] fix format_number doc example for the pinned vrl Test-only pin PR. format_number became fallible in vrl (batch-J, vrl#7), before this branch, but vector's vrl pin had never advanced far enough to expose it: the doc example still called format_number() unguarded and internal_failure_reasons was empty. Use format_number! and document the failure reasons, matching the fix already applied to vrl's own example. Co-Authored-By: Claude Sonnet 5 --- website/cue/reference/remap/functions/format_number.cue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/website/cue/reference/remap/functions/format_number.cue b/website/cue/reference/remap/functions/format_number.cue index c785f6037..908a29a49 100644 --- a/website/cue/reference/remap/functions/format_number.cue +++ b/website/cue/reference/remap/functions/format_number.cue @@ -34,14 +34,17 @@ remap: functions: format_number: { default: "," }, ] - internal_failure_reasons: [] + internal_failure_reasons: [ + "`value` cannot be converted to a decimal (infinite or out of range).", + "`scale` is negative.", + ] return: types: ["string"] examples: [ { title: "Format a number (3 decimals)" source: #""" - format_number(1234567.89, 3, decimal_separator: ".", grouping_separator: ",") + format_number!(1234567.89, 3, decimal_separator: ".", grouping_separator: ",") """# return: "1,234,567.890" },