mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
8eb060b6e2
The #528 and #535 integration tests (tests/integration/mcp, gated on describe.skipIf(!BUILT)) never executed in CI — a false green: - the mcp-integration-tests job ran `npm ci` but no `npm run build`, so the dist bundles were absent and both tests silently skipped; - the step was `continue-on-error: true`, so even a real failure passed; - neither test was in the release gate's test:integration:fast list. Fixes: - mcp-tools-test.yml: add `npm run build` before test:mcp:integration and drop continue-on-error so the job is a real gate (the exit-124 hang tolerance stays for the known vitest-hang flake). - both tests: skip only for LOCAL unbuilt checkouts (`!BUILT && !process.env.CI`) — in CI a missing build now fails loudly instead of skipping. Verified: CI=1 with the bundle removed fails the suite instead of reporting green. - package.json: add both tests to test:integration:fast so they also run on the release gate (npm-publish.yml), which builds first. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>