fix(test): coerce MARQDO_SITE_PORT for MR-01 isolated execute

Env port strings must be json.parsed to int; pin main site to 18220 so
inherited MARQDO_SITE_PORT cannot steal the fixture bind.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-10-27 16:05:24 +08:00
1 parent 41587f319e
commit 5c6c612edd
2 files changed
+25 -5

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@ import:
web: ext/web/web.mq.md
site: ./site.mq.md
sys: lib/sys.mq.md
json: lib/json.mq.md
---
# main
@@ -13,7 +14,7 @@ import:
**port_s = > sys.env_get name="MARQDO_SITE_PORT"**
**port = 18220**
1. `port_s`
**port = `port_s`**
**port = > json.parse text=`port_s`**
2. *
**_ = 1**