mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-05 08:55:28 +08:00
1.4 KiB
1.4 KiB
DS2API Refactor Baseline (Historical Snapshot)
- Snapshot time:
2026-02-22T08:53:54Z - Snapshot branch:
dev - Snapshot HEAD:
5d3989a - Scope: backend + node api + webui large-file decoupling (no behavior change)
Gate Commands
./tests/scripts/run-unit-all.sh- Result: PASS
- Includes:
go test ./...node --test api/helpers/stream-tool-sieve.test.js api/chat-stream.test.js api/compat/js_compat_test.js
npm --prefix webui run build- Result: PASS
./tests/scripts/check-refactor-line-gate.sh- Result: PASS (
checked=131 missing=0 over_limit=0)
- Result: PASS (
- Stage gates (1-5) replay:
go test ./internal/config ./internal/admin ./internal/account ./internal/deepseek ./internal/format/openai-> PASSgo test ./internal/adapter/openai ./internal/util ./internal/sse ./internal/compat-> PASSgo test ./internal/adapter/claude ./internal/adapter/gemini ./internal/config-> PASSgo test ./internal/testsuite ./cmd/ds2api-tests-> PASSnode --test api/helpers/stream-tool-sieve.test.js api/chat-stream.test.js api/compat/js_compat_test.js-> PASS
- Final full regression:
go test ./... -count=1-> PASS
Notes
- This file records a historical baseline for refactor process tracking.
- It is not intended to represent the current repository HEAD.
- Frontend manual smoke for phase 6 still requires human execution and sign-off.