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
@@ -138,6 +138,7 @@
|
||||
"typecheck": "tsc --noEmit",
|
||||
"verify:test-temp-hygiene": "npm run build:cached && node scripts/verify-test-temp-hygiene.mjs",
|
||||
"verify:hopper": "npm run verify:fixtures && npm run build:cached && node scripts/verify-real-hopper.mjs",
|
||||
"verify:hopper:deadlines": "npm run verify:fixtures && npm run build:cached && node scripts/verify-real-hopper-deadlines.mjs",
|
||||
"verify:hopper:fat": "npm run build:cached && node scripts/verify-real-hopper-fat.mjs",
|
||||
"verify:hopper:fat64": "npm run build:cached && node scripts/verify-real-hopper-fat.mjs --fat64",
|
||||
"verify:apple-dispatch": "npm run build:cached && node scripts/verify/apple/dispatch.mjs",
|
||||
|
||||
Reference in New Issue
Block a user