Repository navigation
Fix residual app and test-support lint findings - #796
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. ℹ️ Recent review info
Summary
These changes address lint findings without changing the described test behaviour. No public API changes are reported. ValidationThe supplied hosted run reports that WalkthroughThe changes update local names in memory-budget and pool-client tests, make ChangesTest helper updates
Priority: Change: Refactor Merge Risk:
|
Reviewer's GuideThis behavior-preserving lint cleanup removes shadowing, clarifies byte-valued test variables, and const-qualifies a test constructor across app and test-support code. The supplied validation reports formatting, linting, tests, UI/doc tests, markdown lint, and Nixie checks all passing with no known baseline failures. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
aa69b57 to
13d33c7
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
13d33c7 to
0814b12
Compare
0814b12 to
490b13e
Compare
490b13e to
2f4706f
Compare
2f4706f to
15ef88c
Compare
Rename shadowed bindings in the app builder tests, the frame-handling backpressure fixture, and the pooled test client so each binding names the value it now holds. The `pool_client` fixture also retains the newly added connection counters on main while renaming the accept-loop copy. Mark the frame-handling test adapter constructor `const`, matching the other adapter constructors in the crate. Co-Authored-By: Claude Code <noreply@anthropic.com>
15ef88c to
34041d9
Compare
Current state — restacked 2026-10-28
This branch was restacked onto #795's head
fc5a4234, which isnow the first consumer above
main. New head:2f4706f6.The restack was forced by a real defect at the bottom of the stack, not by a
routine refresh.
docs/users-guide.mdin #812 carried a hand-wrapped paragraphthat
mdtablefix --wrapreflows, somake check-fmtfailed and the requiredbuild-testcheck went red on every layer above it. That paragraph is nowreflowed in the layer that owns it, and each descendant was replayed onto the
corrected parent. The only content delta between the previous heads and these is
the intended reflow, verified per layer with
git diff --stat.Every layer was then built independently at its own head with
cargo check --workspace --all-targets --all-features—5041aa6b,fc5a4234,2f4706f6,f1ec0587,5d91c482,4be08596allEXIT=0— so no layer'sresult is masked by a later one.
CI is running at these heads. The evidence sections below describe earlier
heads and are history, not current proof. They are left in place because the
per-layer reasoning still holds, but do not read a green run there as a result
on
2f4706f6.Current state — restacked 2026-10-27
This branch was restacked onto #812's head
4a7d4e6e, which is now thefirst consumer above
main. New head:0814b125, rebased on #795.The whole train was replayed with the user-wide
weavemerge driver disabled(
-c core.attributesFile=/dev/null), and each resolution was checked against adriver-free
merge-treeresult rather than trusted. Two resolutions wereneeded across the train:
#796keepsmonotony1.0.0 frommainalongside thelayer's
mockable, and#798folds three module-path references into its owncommit.
Every layer was then built independently at its own head with
cargo check --workspace --all-targets --all-features—6991be57,0814b125,81538da1,206e7763,de717eb2allEXIT=0— so no layer's result ismasked by a later one.
CI is running at these heads. The evidence sections below describe earlier
heads and are history, not current proof. They are left in place because the
per-layer reasoning still holds, but do not read a green run there as a result
on
0814b125.Scope
Source remediation for residual app and test-support lint findings that the
app/server layer left behind. Four files change, all behaviour-preserving renames and
const-ification:
src/app/builder/core.rs: the shadowinglet memory_budgets = memory_budgets?becomes
let configured_budgets = memory_budgets?at three sites(
shadow_reuse).src/app/frame_handling/backpressure_tests/mod.rs:per_message,per_connectionandin_flightbecomeper_message_bytes,per_connection_bytesandin_flight_bytes, matching the byte quantitiesthey actually carry.
src/app/frame_handling/tests.rs:fn newbecomesconst fn new.src/test_helpers/pool_client.rs: rename two shadowing locals tocallback_countandconnection_state.Position and dependencies
Layer 2 of 5. Stacked on the codec/shared layer, and the parent of the
examples layer.
harden-lint-codec-shared-20261022(Fix codec and shared source lint findings #795)harden-lint-examples-20261022(Fix example lint findings and inject the environment boundary #797)Reviewer entrypoints
All four files are small and self-contained; the renames are the whole change.
Validation evidence (head
0814b125)This branch was restacked onto
origin/main=5a3fbfa9on 2026-10-23, aftermain moved three commits including #794's toolchain bump from
nightly-2026-03-26tonightly-2026-10-22. The previous headaa69b57and itslocal gate results belong to the retired toolchain and are not current
evidence.
The
weavemerge driver was disabled for the replay(
-c core.attributesFile=/dev/null), and the replay was checked against adriver-free
merge-treeresult rather than trusted.Hosted, at this head. The
build-testlane ran at this exact commit andpassed every step. It executes the repository's own targets, so its result is
per-layer evidence for the format and lint gates rather than a result inherited
from a neighbour:
make check-fmtmake lint— rustdoc with-D warnings, Clippy with-D warnings, Whitaker--allmarkdownlint-cli2over**/*.mdmake spellingmake nixiemake test-workflow-contractsmake test-feature-gatecargo llvm-cov nextest --workspace, default features and targetshttps://github.com/leynos/wireframe/actions/runs/39959664152/job/120434169645
The instrumented run executed 1207 tests, 1207 passed, 0 skipped and
reported 87.79%, a 0.01 pp fall from the committed 87.8% baseline that is
inside the ratchet's tolerance band.
Read from the job log, not inferred from the job conclusion.
That run is narrower than the Make targets — no
--all-targets, no--all-features, no doctests — which is why the local runs below are stillrequired.
Local. Run sequentially at this exact head with
make:Known baseline failures
None observed at this head.
Deferred work
Remaining source census findings, final lint-configuration adoption, the
testkit argument-count decision and Whitaker
--workspacecoverage.Summary by Sourcery
Resolve remaining application and test-support lint findings without changing behavior.
Enhancements:
References
harden-lint-examples-20261022)gate run and the census this layer defers to.
unsafe_code = "forbid"can apply workspace-wide #804 — isolate the unsafe allocator sounsafe_code = "forbid"can applyworkspace-wide.
/home/leynos/docs/leynos-wireframe/rust-baseline/2026-10-15/train-ledger.md🤖 Generated with Claude Code