chore(vdev): only report files modified by cue fmt in check docs (#26725)
Sole Author: Patrick Ribbsaeter (@patrickswedish) · Immutable Commit SHA: a1d3e029ca396cec56ed07f3c39496777e02f66e
Vector developer CLI fix isolating pre-existing unstaged working-tree edits from files actually mutated by cue fmt during vdev check docs verification.

PR #26725
Merged Mainline
a1d3e02
Immutable Git SHA
Rust
Developer Tooling
38/38 CI Green
CI & Test Matrix
01 · Engineering problem
The failure mode
Running cargo vdev check docs invoked cue fmt against the working tree without isolating unstaged developer edits outside CUE documentation files, causing false-positive dirty-tree failures.
02 · Technical response
What changed
- 01Scoped vdev check docs working-tree diff inspection strictly to CUE documentation paths and pre-existing unstaged state.
- 02Preserved deterministic formatting verification in clean CI environments while eliminating local false positives.
03 · Verified outcome
Evidence-backed result
- ✓Eliminated false-positive vdev check docs failures when developers have unrelated unstaged working-tree edits.
- ✓Merged upstream into vectordotdev/vector main branch as commit a1d3e029ca396cec56ed07f3c39496777e02f66e.
04 · Cryptographic Git record
Immutable source evidence
Independent open-source engineering authored solely by Patrick Ribbsaeter (@patrickswedish). Company and project names identify the public repository context only under nominative fair use. No employment, client, vendor, or partnership relationship is implied unless explicitly stated.