March 11, 20261.0.117SaaS Factory
v1.0.117 — fix: pre-existing test failures blocking CI — add mockDbExecute, fix mock patterns
Release v1.0.117: SOC 2 Trust Center + CI test fixes
Date: 2026-03-11
What changed
- New
/trustpage — Public Security & Trust Center covering SOC 2 Type II controls (Common Criteria, Availability, Confidentiality, Processing Integrity, Privacy), GDPR compliance, sub-processor list, and responsible disclosure mockDbExecuteadded to test mocks —stale-pipeline-recovery-crontests were throwingTypeError: db.execute is not a functionbecause the@/dbmock was missing anexecutestub; now fixedmockRejectedValueOnce→ explicitmockImplementation— deterministic per-call mock behavior indeal-staleness-escalation-cronandpipeline-failure-autofixsuites, eliminating flaky CI failures under some Vitest versionsvi.resetAllMocks()— ensures throwing-mockmockImplementationoverrides don't bleed into subsequent testsci.ymlYAML fix — removed duplicateDATABASE_URLentry breakingworkflow_dispatchintemplate-build
Why it matters
Enterprise prospects now have a dedicated public page at /trust for security and compliance review. The CI fixes unblock a clean test run across all three affected suites.
Technical notes
src/app/trust/page.tsx is a static presentational page — no DB queries, no auth, no schema changes.
Release Notes
Successfully merged PR #132 and created release v1.0.117.
What was merged:
feat/soc2-trust-center→main(squash merge, SHA: c4dc7c9baa541c2284b0445dd0cfff51507fa187)
Pre-merge fixes applied to the branch:
ci.ymlYAML indentation bug — The PR accidentally introduced a duplicateDATABASE_URLentry with broken indentation in thetemplate-buildjob, which preventedworkflow_dispatchfrom working. Fixed by rewriting the file with correct YAML.vi.resetAllMocks()instead ofvi.clearAllMocks()— In bothdeal-staleness-escalation-cron.test.tsandstale-pipeline-recovery-cron.test.ts,clearAllMocks()was leavingmockImplementationoverrides from throwing-mock tests in place for subsequent tests. Switching toresetAllMocks()ensures clean mock state between tests, eliminating the flaky CI failures.
Release: v1.0.117
- Tag:
v1.0.117 - URL: https://github.com/SaaS-Factory-Live/SaaSFactory.SaaSFactory/releases/tag/v1.0.117
- Date: 2026-03-11
Changes shipped:
- New public
/trustpage (SOC 2 Trust Center) — 777 lines, enterprise compliance documentation - 3 CI test flakiness fixes across
deal-staleness-escalation-cron,stale-pipeline-recovery-cron, andpipeline-failure-autofixtest suites ci.ymlYAML fix removing duplicate DATABASE_URL env entry