test: cover outer-pump handle lifecycle (train148, v0.5.1523) - #10003
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe change moves HTTP handle quarantine promotion to the runtime outer-tick hook and adds tests for handle recycling, nested pumps, callback ordering, and overlapping outer pump guards. It also updates the project version and changelog. ChangesPump lifecycle
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Train148 follow-up #10003 merged by rebase/admin at 2026-09-08T21:47:31Z.
Validation:6430 Rust tests passed (core6218, FFI/runtime-link60, FFI/default33, #10002 was already externally merged at 03d12cc; this follow-up does not Current tree-level checks v148b and final-head release/test logs v148c are Compiler/static archives remain built at candidate2a7837d2a, not the rewritten |
|
Post-merge CI evidence pass for #10003:
No additional follow-up fix is indicated by these completed-job logs. No gate Logs retained: ci148_{base,train,main}_{cargo,lint}.log and |
Summary
Audit follow-up to #10002: add real pump-lifecycle regression coverage, repair
its unfinished HTTP comment, and bump the workspace to 0.5.1523.
Another actor already merged #10002 as 03d12cc.
Its author head d7edb34 is byte-identical to that
main commit. This follow-up does not claim or duplicate the original merge.
Draft #9998 remains out of scope.
Candidate: 2a7837d.
Validated tree: 69d36152f67e25826d56489908c5cdd1bb57c099.
Changes
actual runtime pump without HTTP initialization. It checks prior-tick reuse,
retention during callback re-entry, and reuse on the next outer tick.
Observations are asserted outside the C callback boundary.
eager restoration releases only its thread's contribution. The worker does
not run runtime callbacks or GC operations.
The FFI regression actually ran with runtime-link; default-feature FFI results
are not substituted for that execution.
Validation
6430 Rust tests passed, zero failures. Runtime/stdlib and the other suites
ran with RUST_TEST_THREADS=1. The new overlap and real-pump fixtures passed.
Native Fastify smoke: 12 checks passed, exit 0, including routing, request
bodies, sync/async throws and continued service afterward.
The compiler/core/both static wrappers/seven providers were built coherently at
the candidate commit. The native Fastify smoke used its supported automatic
build path: runtime/stdlib wrappers and Fastify in one Cargo invocation with
external-fastify-pump. The successful build stamp and all three nonempty
archives were verified. No high-volume stress claim is substituted for these
local checks.
Full lint: 79/80 pass, two CI-only commands skipped; exit 1 only for the
established public benchmark freshness failure. All four warning/Clippy scopes
and both API-doc checks pass. Standalone stdlib-default, runtime regex-tests,
and runtime wasm-host checks each exit 0. These source-tree checks ran at
459fb703916015cc1bea2381dbd929129e5bbccc, whose tree is byte-identical to the
candidate after reassembly on externally advanced main (git diff exit 0).
The raw-handle no-raise ratchet was additionally rerun against current main: 0.
Validation logs and actual exit-code sidecars are retained as v148b_* and
v148c_* in /tmp/p9176. The first native attempt used unsupported
PERRY_NO_AUTO_OPTIMIZE and exited 2 before generating/running the server;
the original release driver therefore exited 1. Its supported-mode retry
exited 0. The compiler guard was not changed or bypassed.
CI and issue hygiene
Author-head CI34270347188: cargo job102214176171 reports3469pass/1fail/4ignore,
only the previously established native_stack.rs:53/60 custom-thread bound.
Lint job102214176222 reports stale benchmark inputs; check/warnings pass.
The green e2e-scoped job102214176371 selected no integration suite. Gap/GC jobs
were still active during classification; no result is claimed for those jobs.
Our additional fixtures are not in the author-head logs.
#10002 has no closing-issue reference or closing keyword; it is already MERGED
and will not be closed again. Umbrella #9202 remains open. After this follow-up
lands, fresh-fetch main and verify exact equality with the validated tree.
Inherited OWNER worktree edit remains uncommitted. Only session-owned completed
cache/test executables were cleaned up under disk pressure, with ownership,
exact-file checks and announcements; source, compiler/libraries and logs remain.
Summary by CodeRabbit
Bug Fixes
Documentation
Chores