fix(hopper): enforce caller-supplied request deadlines (#1119)
* fix(hopper): enforce caller-supplied request deadlines * fix(hopper): correct idle deadline state and name timeout bound Zero-ms deadlines never enter the FIFO, so report providerState not_started instead of busy; the busy wording tells callers to wait for an active request that does not exist. Name the Node timer ceiling once and reuse it in validation and the error message. * fix(hopper): enforce elapsed deadlines before dispatch and replies * fix(hopper): distinguish unsent requests in timeout diagnostics * test(hopper): exercise request deadlines against native Hopper --------- Co-authored-by: Vilmer Frost <frost.vilmer@gmail.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
This commit is contained in:
co-authored by
Vilmer Frost
morluto
parent
329cf206d1
commit
e8939ca220
@@ -221,6 +221,15 @@ decompilation, reference and search operations. A literal `--help` trace query p
|
||||
that selector data is preserved independently of global CLI flags.
|
||||
Unmapped annotation destinations and
|
||||
oversized later batch names fail before any earlier edit is applied.
|
||||
|
||||
`verify:hopper:deadlines` checks the native client's optional request deadlines
|
||||
on macOS with an owned source-built fixture. Zero and elapsed deadlines must
|
||||
leave native comments unchanged, including when a synchronous progress observer
|
||||
delays timer dispatch. It also observes a short analysis deadline and verifies
|
||||
subsequent wire recovery and clean shutdown. Caller timeout does not interrupt
|
||||
Hopper's synchronous native operation. Socket boundary tests deterministically
|
||||
cover active and queued expiry, late replies and timer cleanup.
|
||||
|
||||
The Linux demo lane remains a separate `verify:hopper:linux` command.
|
||||
|
||||
`verify:hopper:fat` is a separate macOS lane requiring installed Hopper and the
|
||||
|
||||
Reference in New Issue
Block a user