原始资料 · reports/evidence-v0.5/verify-read-pool-final.txt · 以可阅读文本展示,HTML 与脚本不会在页面中执行。
all modules verified ? web3exchange/api [no test files] ok web3exchange/backend (cached) ok web3exchange/chaintrade 2.139s ok web3exchange/cmd/exchangectl (cached) ok web3exchange/cmd/loadcheck (cached) ok web3exchange/cmd/server (cached) ? web3exchange/cmd/web3server [no test files] ? web3exchange/api [no test files] ok web3exchange/backend (cached) ok web3exchange/chaintrade 4.667s ok web3exchange/cmd/exchangectl (cached) ok web3exchange/cmd/loadcheck (cached) ok web3exchange/cmd/server (cached) ? web3exchange/cmd/web3server [no test files] npm notice run exchange-terminal@0.5.0 test:unit npm notice run node --test tests/unit/*.test.mjs TAP version 13 # Subtest: 发送原键、原请求和身份边界,只执行一次 fetch ok 1 - 发送原键、原请求和身份边界,只执行一次 fetch --- duration_ms: 14.520238 type: 'test' ... # Subtest: 网络失败保持结果未知,不自动重试 ok 2 - 网络失败保持结果未知,不自动重试 --- duration_ms: 0.439098 type: 'test' ... # Subtest: 响应不是 JSON保持结果未知,不自动重试 ok 3 - 响应不是 JSON保持结果未知,不自动重试 --- duration_ms: 0.327497 type: 'test' ... # Subtest: 确定业务错误保留状态码与业务码 ok 4 - 确定业务错误保留状态码与业务码 --- duration_ms: 0.348293 type: 'test' ... # Subtest: 错误/缺失数据集响应不能确认原请求:dataset-b ok 5 - 错误/缺失数据集响应不能确认原请求:dataset-b --- duration_ms: 0.507727 type: 'test' ... # Subtest: 错误/缺失数据集响应不能确认原请求:null ok 6 - 错误/缺失数据集响应不能确认原请求:null --- duration_ms: 0.262395 type: 'test' ... # Subtest: 请求超时只取消等待,AbortError 转成未知结果,定时器被清理 ok 7 - 请求超时只取消等待,AbortError 转成未知结果,定时器被清理 --- duration_ms: 0.275224 type: 'test' ... # Subtest: 未知执行判断 0/RESULT_UNKNOWN ok 8 - 未知执行判断 0/RESULT_UNKNOWN --- duration_ms: 0.088428 type: 'test' ... # Subtest: 未知执行判断 500/FAILED ok 9 - 未知执行判断 500/FAILED --- duration_ms: 0.29132 type: 'test' ... # Subtest: 未知执行判断 503/QUERY_FAILED ok 10 - 未知执行判断 503/QUERY_FAILED --- duration_ms: 0.184366 type: 'test' ... # Subtest: 未知执行判断 401/UNAUTHENTICATED ok 11 - 未知执行判断 401/UNAUTHENTICATED --- duration_ms: 0.074285 type: 'test' ... # Subtest: 未知执行判断 429/RATE_LIMITED ok 12 - 未知执行判断 429/RATE_LIMITED --- duration_ms: 0.034537 type: 'test' ... # Subtest: 未知执行判断 403/CSRF_REJECTED ok 13 - 未知执行判断 403/CSRF_REJECTED --- duration_ms: 0.026299 type: 'test' ... # Subtest: 未知执行判断 403/ORIGIN_REJECTED ok 14 - 未知执行判断 403/ORIGIN_REJECTED --- duration_ms: 0.029588 type: 'test' ... # Subtest: 未知执行判断 409/DATASET_CHANGED ok 15 - 未知执行判断 409/DATASET_CHANGED --- duration_ms: 0.022782 type: 'test' ... # Subtest: 未知执行判断 400/INVALID_ORDER ok 16 - 未知执行判断 400/INVALID_ORDER --- duration_ms: 0.025083 type: 'test' ... # Subtest: 未知执行判断 403/FORBIDDEN ok 17 - 未知执行判断 403/FORBIDDEN --- duration_ms: 0.023629 type: 'test' ... # Subtest: 未知执行判断 409/IDEMPOTENCY_CONFLICT ok 18 - 未知执行判断 409/IDEMPOTENCY_CONFLICT --- duration_ms: 0.023227 type: 'test' ... # Subtest: 非 API 异常的显示与判断有明确默认值 ok 19 - 非 API 异常的显示与判断有明确默认值 --- duration_ms: 0.054487 type: 'test' ... # Subtest: 不存在记录可开始新操作,有效记录保留原键与原金额文本 ok 20 - 不存在记录可开始新操作,有效记录保留原键与原金额文本 --- duration_ms: 1.307642 type: 'test' ... # Subtest: 拒绝恢复:未知版本 ok 21 - 拒绝恢复:未知版本 --- duration_ms: 0.265238 type: 'test' ... # Subtest: 拒绝恢复:其他数据集 ok 22 - 拒绝恢复:其他数据集 --- duration_ms: 0.075197 type: 'test' ... # Subtest: 拒绝恢复:其他账户 ok 23 - 拒绝恢复:其他账户 --- duration_ms: 0.058872 type: 'test' ... # Subtest: 拒绝恢复:短幂等键 ok 24 - 拒绝恢复:短幂等键 --- duration_ms: 0.099444 type: 'test' ... # Subtest: 拒绝恢复:非法幂等字符 ok 25 - 拒绝恢复:非法幂等字符 --- duration_ms: 0.072276 type: 'test' ... # Subtest: 拒绝恢复:外部路径 ok 26 - 拒绝恢复:外部路径 --- duration_ms: 0.190694 type: 'test' ... # Subtest: 拒绝恢复:其他操作路径 ok 27 - 拒绝恢复:其他操作路径 --- duration_ms: 0.097827 type: 'test' ... # Subtest: 拒绝恢复:数组请求体 ok 28 - 拒绝恢复:数组请求体 --- duration_ms: 0.25611 type: 'test' ... # Subtest: 拒绝恢复:金额为数值 ok 29 - 拒绝恢复:金额为数值 --- duration_ms: 0.40265 type: 'test' ... # Subtest: 拒绝恢复:缺字段 ok 30 - 拒绝恢复:缺字段 --- duration_ms: 0.250043 type: 'test' ... # Subtest: 拒绝恢复:伪造身份字段 ok 31 - 拒绝恢复:伪造身份字段 --- duration_ms: 0.161442 type: 'test' ... # Subtest: 损坏 JSON、超长记录与存储拒绝必须抛错,交给 hook 阻止新写 ok 32 - 损坏 JSON、超长记录与存储拒绝必须抛错,交给 hook 阻止新写 --- duration_ms: 0.278762 type: 'test' ... # Subtest: 撤单只允许正整数字符串 ID 且没有请求体 ok 33 - 撤单只允许正整数字符串 ID 且没有请求体 --- duration_ms: 0.38435 type: 'test' ... # Subtest: 管理员注资恢复保留原目标与原因,字段类型严格 ok 34 - 管理员注资恢复保留原目标与原因,字段类型严格 --- duration_ms: 0.327833 type: 'test' ... # Subtest: valid original signed order survives refresh without changing nonce ok 35 - valid original signed order survives refresh without changing nonce --- duration_ms: 4.511126 type: 'test' ... # Subtest: reject changed dataset ok 36 - reject changed dataset --- duration_ms: 0.205965 type: 'test' ... # Subtest: reject changed chain ok 37 - reject changed chain --- duration_ms: 0.143891 type: 'test' ... # Subtest: reject changed contract ok 38 - reject changed contract --- duration_ms: 0.112469 type: 'test' ... # Subtest: reject tampered signed price ok 39 - reject tampered signed price --- duration_ms: 2.673311 type: 'test' ... # Subtest: reject tampered signed quantity ok 40 - reject tampered signed quantity --- duration_ms: 2.637156 type: 'test' ... # Subtest: reject tampered signed nonce ok 41 - reject tampered signed nonce --- duration_ms: 2.578708 type: 'test' ... # Subtest: reject tampered signed deadline ok 42 - reject tampered signed deadline --- duration_ms: 2.469452 type: 'test' ... # Subtest: reject switched wallet ok 43 - reject switched wallet --- duration_ms: 6.62548 type: 'test' ... # Subtest: reject malformed storage ok 44 - reject malformed storage --- duration_ms: 0.403073 type: 'test' ... 1..44 # tests 44 # suites 0 # pass 44 # fail 0 # cancelled 0 # skipped 0 # todo 0 # duration_ms 4043.528202 npm notice run exchange-terminal@0.5.0 api:check npm notice run node scripts/check-api.mjs ✨ openapi-typescript 7.8.0 🚀 ../api/openapi.json → /tmp/exchange-api-p9ZZZT/api.ts [87.6ms] PASS: generated API matches the OpenAPI contract npm notice run exchange-terminal@0.5.0 web3:check npm notice run node scripts/check-web3-api.mjs ✨ openapi-typescript 7.8.0 🚀 ../api/web3-openapi.json → /tmp/exchange-api-Nvr2E6/api.ts [54.1ms] PASS: generated API matches the OpenAPI contract npm notice run exchange-terminal@0.5.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.5.0 build npm notice run tsc -b && vite build vite v6.4.4 building for production... transforming... ✓ 186 modules transformed. rendering chunks... computing gzip size... dist/index.html 0.41 kB │ gzip: 0.30 kB dist/assets/index-BFk9BuH3.css 7.24 kB │ gzip: 2.16 kB dist/assets/index-B9nPK8gM.js 283.62 kB │ gzip: 95.44 kB dist/assets/Web3App-DvZa2_Mm.js 285.09 kB │ gzip: 104.93 kB ✓ built in 2.83s PASS: SIGKILL/restart preserves identity, session, order, balances and idempotency |