Skip to content

docs(features): fix self_update probability + nightly sub-features#3833

Merged
jqnatividad merged 3 commits into
masterfrom
docs-features-audit-202605
May 7, 2026
Merged

docs(features): fix self_update probability + nightly sub-features#3833
jqnatividad merged 3 commits into
masterfrom
docs-features-audit-202605

Conversation

@jqnatividad
Copy link
Copy Markdown
Collaborator

Summary

  • Audit of docs/FEATURES.md surfaced two factual drifts vs. code/Cargo.toml.
  • self_update blurb claimed it polls GitHub "10% of the time upon startup". Reality (src/main.rs): it rolls 50% and only when qsv is invoked with no command (the None arm of the command match).
  • nightly blurb listed crates without naming the actual sub-features enabled. Replaced the loose list with the concrete Cargo.toml mapping: crc32fast/nightly, pyo3/nightly, rand/simd_support, simd-json/hints, foldhash/nightly.
  • Switched the trailing NOTE callout to GitHub-flavored > [!NOTE] syntax.

Test plan

  • Verified src/main.rs self-update probability is 50% and gated on no-command path
  • Verified Cargo.toml nightly feature mapping
  • Cross-checked docs/ENVIRONMENT_VARIABLES.md for QSV_NO_UPDATE consistency (no drift)
  • No code changes; docs-only

🤖 Generated with Claude Code

jqnatividad and others added 2 commits May 7, 2026 09:59
The `self_update` blurb claimed it checks GitHub 10% of the time on
startup. Code (src/main.rs) actually rolls 50% and only when qsv is
invoked with no command. The `nightly` blurb listed crates without
naming the actual sub-features enabled (rand/simd_support,
simd-json/hints, etc.) — clarified to match Cargo.toml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 7, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates docs/FEATURES.md to reflect the current behavior and configuration of feature flags in the qsv codebase.

Changes:

  • Corrected the self_update documentation to match actual update-check gating and probability.
  • Replaced the nightly feature description with the concrete Cargo sub-feature mapping.
  • Converted the trailing NOTE into GitHub-flavored admonition syntax (> [!NOTE]).

Comment thread docs/FEATURES.md Outdated
Comment thread docs/FEATURES.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jqnatividad jqnatividad merged commit c7750f8 into master May 7, 2026
15 of 16 checks passed
@jqnatividad jqnatividad deleted the docs-features-audit-202605 branch May 7, 2026 15:24
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.

2 participants