Источник:
smarty-code/smarty-crm/docs/refactoring/2026-06-17-staging-smoke-regression-step1.md
Date: 2026-06-17
Branch: integration/merge-all
PR: #8 Integration merge: phase-5 + orchestrator-arch
Status: blocked on coworking regression chunk runtime
Started step-by-step validation for making PR #8 merge-ready.
Initial state:
integration/merge-all3612bd88 fix(rt): use socket.io v4 without aliasregression: cancelledStaging host: vm-smarty
Switched runtime from the older /home/user1/smarty-code copy to /home/user1/smarty-code-integration.
Reason:
smarty-rt./rt smoke could not pass against old runtime.Nginx:
/rt reverse proxy to /etc/nginx/sites-available/smarty-test.2x2.ceo.conf./socket.io proxy left unchanged.nginx -t passed.Runtime after switch:
/home/user1/smarty-code-integration/smarty-crm-frontend/home/user1/smarty-code-integration/smarty-backend-stablesmarty-rt v4 gateway attached on /rtFrontend dependencies were missing on integration copy. Installed with:
npm install --legacy-peer-deps
Plain npm install failed on Tiptap peer dependency resolution.
frontend 200 text/html; charset=UTF-8 1440
api 404 application/json; charset=utf-8 3161
/socket.io AUTH_EXPECTED session not found
/rt AUTH_EXPECTED session not found
Interpretation:
404 route not found is expected for unauthenticated/basic probe endpoint used here./socket.io and /rt are reachable through Nginx and hit backend auth middleware.session not found is expected without a valid CRM session.Command:
CHUNK_HEAP=3072 scripts/test-chunked.sh /tmp/integration-chunked-20260617-192754
Services:
Result before manual stop:
bot FAIL exit=41 62s 88 pass / 41 fail / 23 pending
The bot chunk matches the previously documented baseline shape.
The next chunk, coworking, was manually stopped after more than 18 minutes without producing a summary line. It was still actively writing CREATE_DEBUG / TRIGGER_DEBUG events, so this looked like severe runtime slowdown or runaway workload, not a dead process.
Partial output path:
/tmp/integration-chunked-20260617-192754
coworking chunk does not complete in a reasonable time on staging integration runtime.
This blocks using the full chunked regression gate for PR #8 until one of these is done:
scripts/test-chunked.sh.coworking alone with a narrower reporter/log to find the slow spec.Investigate test/coworking/**/*.spec.js runtime on integration/merge-all.
Recommended first command:
NODE_ENV=test SMARTY_REAL_SERVICES=true NODE_OPTIONS="--max_old_space_size=3072" \
npx mocha "test/coworking/**/*.spec.js" --timeout 60000 --reporter spec
If it is too noisy, split by file and locate the long-running spec.