fix(web): disconnect≠cancel and isolate short/read/control lanes
Observer SSE close no longer cancels execute by default; short/read/control bypass parent INVOKE_LOCK via isolated admission, with read_lane=1 and gold samples. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
2c4fa4bb05
commit
9af929971c
7 files changed
+333
-38
No files matched your search
@@ -5,12 +5,21 @@ description: Dual-stream execute + short models for ADR 0009 gold sample.
|
||||
import:
|
||||
web: ext/web/web.mq.md
|
||||
site: ./site.mq.md
|
||||
sys: lib/sys.mq.md
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
**port_s = > sys.env_get name="MARQDO_SITE_PORT"**
|
||||
**port = 18220**
|
||||
1. `port_s`
|
||||
**port = `port_s`**
|
||||
2. *
|
||||
**_ = 1**
|
||||
|
||||
**pg = > web.page title="isolated-execute"**
|
||||
**app = > web.app page=`pg` host="127.0.0.1" port=18220**
|
||||
**app = > web.app page=`pg` host="127.0.0.1" port=`port`**
|
||||
**app = > web.route app=`app` path="/v1/chat/completions" method="POST" fn="site.chat" request="json" response="sse-live" class="execute"**
|
||||
**app = > web.route app=`app` path="/v1/models" method="GET" fn="site.models" request="query" response="json" class="short"**
|
||||
**app = > web.route app=`app` path="/v1/ping" method="GET" fn="site.ping" request="query" response="json" class="control"**
|
||||
> `app`.listen
|
||||
@@ -70,3 +70,16 @@ Short-class read: list models without holding an execute slot.
|
||||
| list | True |
|
||||
|
||||
*out*
|
||||
|
||||
# ping
|
||||
+ `payload`=None
|
||||
|
||||
Control-class noop: must succeed under dual execute without parent INVOKE_LOCK.
|
||||
|
||||
`out` =
|
||||
|
||||
| ok | lane |
|
||||
|----|------|
|
||||
| True | control |
|
||||
|
||||
*out*
|
||||
Reference in new issue
Block a user