Web3 交易系统
原始验证资料

verify.txt

原始资料 · reports/evidence-windows-launcher/verify.txt · 以可阅读文本展示,HTML 与脚本不会在页面中执行。
all modules verified
?     web3exchange/api	[no test files]
ok    web3exchange/backend	9.561s
ok    web3exchange/cmd/exchangectl	1.317s
ok    web3exchange/cmd/loadcheck	(cached)
ok    web3exchange/cmd/server	1.323s
?     web3exchange/api	[no test files]
ok    web3exchange/backend	32.667s
ok    web3exchange/cmd/exchangectl	3.854s
ok    web3exchange/cmd/loadcheck	(cached)
ok    web3exchange/cmd/server	2.789s
npm notice run exchange-terminal@0.3.0 test:unit
npm notice run node --test tests/unit/*.test.mjs
TAP version 13
# Subtest: 发送原键、原请求和身份边界,只执行一次 fetch
ok 1 - 发送原键、原请求和身份边界,只执行一次 fetch
  ---
  duration_ms: 15.535495
  type: 'test'
  ...
# Subtest: 网络失败保持结果未知,不自动重试
ok 2 - 网络失败保持结果未知,不自动重试
  ---
  duration_ms: 0.447935
  type: 'test'
  ...
# Subtest: 响应不是 JSON保持结果未知,不自动重试
ok 3 - 响应不是 JSON保持结果未知,不自动重试
  ---
  duration_ms: 0.278282
  type: 'test'
  ...
# Subtest: 确定业务错误保留状态码与业务码
ok 4 - 确定业务错误保留状态码与业务码
  ---
  duration_ms: 0.303502
  type: 'test'
  ...
# Subtest: 错误/缺失数据集响应不能确认原请求:dataset-b
ok 5 - 错误/缺失数据集响应不能确认原请求:dataset-b
  ---
  duration_ms: 0.447739
  type: 'test'
  ...
# Subtest: 错误/缺失数据集响应不能确认原请求:null
ok 6 - 错误/缺失数据集响应不能确认原请求:null
  ---
  duration_ms: 0.237354
  type: 'test'
  ...
# Subtest: 请求超时只取消等待,AbortError 转成未知结果,定时器被清理
ok 7 - 请求超时只取消等待,AbortError 转成未知结果,定时器被清理
  ---
  duration_ms: 0.445493
  type: 'test'
  ...
# Subtest: 未知执行判断 0/RESULT_UNKNOWN
ok 8 - 未知执行判断 0/RESULT_UNKNOWN
  ---
  duration_ms: 0.175056
  type: 'test'
  ...
# Subtest: 未知执行判断 500/FAILED
ok 9 - 未知执行判断 500/FAILED
  ---
  duration_ms: 0.278603
  type: 'test'
  ...
# Subtest: 未知执行判断 503/QUERY_FAILED
ok 10 - 未知执行判断 503/QUERY_FAILED
  ---
  duration_ms: 0.189626
  type: 'test'
  ...
# Subtest: 未知执行判断 401/UNAUTHENTICATED
ok 11 - 未知执行判断 401/UNAUTHENTICATED
  ---
  duration_ms: 0.072212
  type: 'test'
  ...
# Subtest: 未知执行判断 429/RATE_LIMITED
ok 12 - 未知执行判断 429/RATE_LIMITED
  ---
  duration_ms: 0.031594
  type: 'test'
  ...
# Subtest: 未知执行判断 403/CSRF_REJECTED
ok 13 - 未知执行判断 403/CSRF_REJECTED
  ---
  duration_ms: 0.024733
  type: 'test'
  ...
# Subtest: 未知执行判断 403/ORIGIN_REJECTED
ok 14 - 未知执行判断 403/ORIGIN_REJECTED
  ---
  duration_ms: 0.027527
  type: 'test'
  ...
# Subtest: 未知执行判断 409/DATASET_CHANGED
ok 15 - 未知执行判断 409/DATASET_CHANGED
  ---
  duration_ms: 0.021204
  type: 'test'
  ...
# Subtest: 未知执行判断 400/INVALID_ORDER
ok 16 - 未知执行判断 400/INVALID_ORDER
  ---
  duration_ms: 0.023067
  type: 'test'
  ...
# Subtest: 未知执行判断 403/FORBIDDEN
ok 17 - 未知执行判断 403/FORBIDDEN
  ---
  duration_ms: 0.021991
  type: 'test'
  ...
# Subtest: 未知执行判断 409/IDEMPOTENCY_CONFLICT
ok 18 - 未知执行判断 409/IDEMPOTENCY_CONFLICT
  ---
  duration_ms: 0.021401
  type: 'test'
  ...
# Subtest: 非 API 异常的显示与判断有明确默认值
ok 19 - 非 API 异常的显示与判断有明确默认值
  ---
  duration_ms: 0.052146
  type: 'test'
  ...
# Subtest: 不存在记录可开始新操作,有效记录保留原键与原金额文本
ok 20 - 不存在记录可开始新操作,有效记录保留原键与原金额文本
  ---
  duration_ms: 1.273354
  type: 'test'
  ...
# Subtest: 拒绝恢复:未知版本
ok 21 - 拒绝恢复:未知版本
  ---
  duration_ms: 0.340052
  type: 'test'
  ...
# Subtest: 拒绝恢复:其他数据集
ok 22 - 拒绝恢复:其他数据集
  ---
  duration_ms: 0.131364
  type: 'test'
  ...
# Subtest: 拒绝恢复:其他账户
ok 23 - 拒绝恢复:其他账户
  ---
  duration_ms: 0.068683
  type: 'test'
  ...
# Subtest: 拒绝恢复:短幂等键
ok 24 - 拒绝恢复:短幂等键
  ---
  duration_ms: 0.124006
  type: 'test'
  ...
# Subtest: 拒绝恢复:非法幂等字符
ok 25 - 拒绝恢复:非法幂等字符
  ---
  duration_ms: 0.059462
  type: 'test'
  ...
# Subtest: 拒绝恢复:外部路径
ok 26 - 拒绝恢复:外部路径
  ---
  duration_ms: 0.166094
  type: 'test'
  ...
# Subtest: 拒绝恢复:其他操作路径
ok 27 - 拒绝恢复:其他操作路径
  ---
  duration_ms: 0.096137
  type: 'test'
  ...
# Subtest: 拒绝恢复:数组请求体
ok 28 - 拒绝恢复:数组请求体
  ---
  duration_ms: 0.197295
  type: 'test'
  ...
# Subtest: 拒绝恢复:金额为数值
ok 29 - 拒绝恢复:金额为数值
  ---
  duration_ms: 0.233224
  type: 'test'
  ...
# Subtest: 拒绝恢复:缺字段
ok 30 - 拒绝恢复:缺字段
  ---
  duration_ms: 0.156687
  type: 'test'
  ...
# Subtest: 拒绝恢复:伪造身份字段
ok 31 - 拒绝恢复:伪造身份字段
  ---
  duration_ms: 0.088377
  type: 'test'
  ...
# Subtest: 损坏 JSON、超长记录与存储拒绝必须抛错,交给 hook 阻止新写
ok 32 - 损坏 JSON、超长记录与存储拒绝必须抛错,交给 hook 阻止新写
  ---
  duration_ms: 0.113472
  type: 'test'
  ...
# Subtest: 撤单只允许正整数字符串 ID 且没有请求体
ok 33 - 撤单只允许正整数字符串 ID 且没有请求体
  ---
  duration_ms: 0.167884
  type: 'test'
  ...
# Subtest: 管理员注资恢复保留原目标与原因,字段类型严格
ok 34 - 管理员注资恢复保留原目标与原因,字段类型严格
  ---
  duration_ms: 0.115562
  type: 'test'
  ...
1..34
# tests 34
# suites 0
# pass 34
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 442.994648
npm notice run exchange-terminal@0.3.0 api:check
npm notice run node scripts/check-api.mjs
✨ openapi-typescript 7.8.0
🚀 ../api/openapi.json → /tmp/exchange-api-Fl3wVB/api.ts [85ms]
PASS: generated API matches the OpenAPI contract
npm notice run exchange-terminal@0.3.0 format:check
npm notice run prettier --check src tests scripts playwright.config.ts vite.config.ts
Checking formatting...
All matched files use Prettier code style!
npm notice run exchange-terminal@0.3.0 build
npm notice run tsc -b && vite build
vite v6.4.4 building for production...
transforming...
✓ 35 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                   0.41 kB │ gzip:  0.30 kB
dist/assets/index-CPeEyibk.css    6.93 kB │ gzip:  2.10 kB
dist/assets/index-D0XWOxti.js   282.25 kB │ gzip: 94.80 kB
✓ built in 955ms
PASS: SIGKILL/restart preserves identity, session, order, balances and idempotency

— 本篇阅读完毕 —
来源:Web3 交易系统 / docs / reports/evidence-windows-launcher/verify.txt 下载原文
输入关键词,在三个知识库中搜索
支持正文检索 · 直接定位章节Esc 关闭