Repository navigation
ci: validate documentation via xtask - #1548
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Build and validate documentation | ||
| run: cargo --locked run -p xtask -- docs --validate |
There was a problem hiding this comment.
Preserve cargo output when docs fail
Switching the lint job to cargo --locked run -p xtask -- docs --validate means cargo doc and cargo test --doc now run via the xtask helper. That helper executes cargo with Command::output() and only surfaces the exit status when the command fails (TaskError::CommandFailed), discarding stdout/stderr. Consequently any compilation or doctest failure in CI will now produce a log entry like "cargo doc exited with status code 101" with none of the compiler diagnostics, which makes failures extremely hard to debug. The previous workflow streamed cargo output directly. Please consider either keeping the direct commands or updating the xtask helper to forward stdout/stderr so CI logs remain actionable.
Useful? React with 👍 / 👎.
Document the design for parallelizing delta generation on the sender across files while preserving wire-order token emission. Distinguishes from #1079 (receiver-side apply) and #2048 (intra-file parallel rolling hash). Calls out #1546 sequence numbering as the ordering substrate, and flags #2077 (SIMD parity under thread stress) and #1548 (wire-format verification) as blockers.
…4205) Document the byte-stream equivalence guarantee for the parallel-dispatch infrastructure in crates/engine/src/concurrent_delta/. Surveys five parallel sites and their reordering paths, lists existing internal and golden tests, and flags four gaps (no production caller of ParallelDeltaPipeline, no sequential-vs-parallel parity assertion, an untested force_insert deadlock-break path, and no interop coverage of the parallel path). Verdict is a conditional PASS: trivially true today because the receiver always runs the sequential pipeline, with concrete follow-ups required before the parallel path is wired into production.
Document the design for parallelizing delta generation on the sender across files while preserving wire-order token emission. Distinguishes from #1079 (receiver-side apply) and #2048 (intra-file parallel rolling hash). Calls out #1546 sequence numbering as the ordering substrate, and flags #2077 (SIMD parity under thread stress) and #1548 (wire-format verification) as blockers.
…4205) Document the byte-stream equivalence guarantee for the parallel-dispatch infrastructure in crates/engine/src/concurrent_delta/. Surveys five parallel sites and their reordering paths, lists existing internal and golden tests, and flags four gaps (no production caller of ParallelDeltaPipeline, no sequential-vs-parallel parity assertion, an untested force_insert deadlock-break path, and no interop coverage of the parallel path). Verdict is a conditional PASS: trivially true today because the receiver always runs the sequential pipeline, with concrete follow-ups required before the parallel path is wired into production.
…4205) Document the byte-stream equivalence guarantee for the parallel-dispatch infrastructure in crates/engine/src/concurrent_delta/. Surveys five parallel sites and their reordering paths, lists existing internal and golden tests, and flags four gaps (no production caller of ParallelDeltaPipeline, no sequential-vs-parallel parity assertion, an untested force_insert deadlock-break path, and no interop coverage of the parallel path). Verdict is a conditional PASS: trivially true today because the receiver always runs the sequential pipeline, with concrete follow-ups required before the parallel path is wired into production.
…4205) Document the byte-stream equivalence guarantee for the parallel-dispatch infrastructure in crates/engine/src/concurrent_delta/. Surveys five parallel sites and their reordering paths, lists existing internal and golden tests, and flags four gaps (no production caller of ParallelDeltaPipeline, no sequential-vs-parallel parity assertion, an untested force_insert deadlock-break path, and no interop coverage of the parallel path). Verdict is a conditional PASS: trivially true today because the receiver always runs the sequential pipeline, with concrete follow-ups required before the parallel path is wired into production.
Document the design for parallelizing delta generation on the sender across files while preserving wire-order token emission. Distinguishes from #1079 (receiver-side apply) and #2048 (intra-file parallel rolling hash). Calls out #1546 sequence numbering as the ordering substrate, and flags #2077 (SIMD parity under thread stress) and #1548 (wire-format verification) as blockers.
Summary
cargo xtask docs --validatehelper so lint enforces branding checks alongside rustdocTesting