Skip to content

feat(protocol): add pre-release 'V' compat flag support - #2516

Merged
oferchen merged 1 commit into
masterfrom
feat/v-compat-flag-exchange
Feb 27, 2026
Merged

oferchen merged 1 commit into
masterfrom
feat/v-compat-flag-exchange

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add write_compat_flags() function for structured compat flags exchange
  • Add client_has_pre_release_v_flag() helper to detect 'V' in client info
  • Handle 'V' flag in compat flags exchange: use write_byte() instead of write_varint() when client sends 'V', implying CF_VARINT_FLIST_FLAGS
  • Add 'V' to capability letters documentation
  • Use as_deref() instead of as_ref() for proper &str coercion in do_negotiation
  • Add tests for V flag behavior

Test plan

  • cargo fmt --all -- --check passes
  • cargo clippy --workspace --all-targets --all-features --no-deps -- -D warnings passes
  • cargo nextest run passes for affected crates

@github-actions github-actions Bot added the enhancement New feature or request label Feb 27, 2026
@oferchen
oferchen merged commit bee8a5f into master Feb 27, 2026
15 of 16 checks passed
@oferchen
oferchen deleted the feat/v-compat-flag-exchange branch February 27, 2026 09:45
oferchen added a commit that referenced this pull request May 1, 2026
feat(protocol): add pre-release 'V' compat flag support
oferchen added a commit that referenced this pull request May 5, 2026
feat(protocol): add pre-release 'V' compat flag support
oferchen added a commit that referenced this pull request May 21, 2026
…EC-1.o-partial) (#4672)

Reflect SEC-1.f (PR #4668, merged) and SEC-1.g (PR #4671, in CI):

- Flip CVE-2026-29518 and CVE-2026-43619 status from APPLICABLE
  to Mitigations in progress.
- Add a SEC-1 progress subsection listing shipped (lstat via
  fstatat AT_SYMLINK_NOFOLLOW, remove via unlinkat, both through
  DirSandbox for sandbox-plumbed call sites) and still-pending
  work (SEC-1.h/i/j *at siblings, CopyContext dirfd extension,
  per-worker dirfds for --delete consumer, SEC-1.m/n regression
  tests).
- Cite SEC-1 umbrella issue #2516 as tracking.
- Record SEC-1.l audit conclusion that Windows uses NTFS handle-
  based APIs and is not affected by either CVE.

Partial update; the final Fixed promotion stays gated on SEC-1.h/i/j
landing and SEC-1.m/n regression tests passing.
oferchen added a commit that referenced this pull request Aug 24, 2026
…EC-1.o-partial) (#4672)

Reflect SEC-1.f (PR #4668, merged) and SEC-1.g (PR #4671, in CI):

- Flip CVE-2026-29518 and CVE-2026-43619 status from APPLICABLE
  to Mitigations in progress.
- Add a SEC-1 progress subsection listing shipped (lstat via
  fstatat AT_SYMLINK_NOFOLLOW, remove via unlinkat, both through
  DirSandbox for sandbox-plumbed call sites) and still-pending
  work (SEC-1.h/i/j *at siblings, CopyContext dirfd extension,
  per-worker dirfds for --delete consumer, SEC-1.m/n regression
  tests).
- Cite SEC-1 umbrella issue #2516 as tracking.
- Record SEC-1.l audit conclusion that Windows uses NTFS handle-
  based APIs and is not affected by either CVE.

Partial update; the final Fixed promotion stays gated on SEC-1.h/i/j
landing and SEC-1.m/n regression tests passing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant