Repository navigation
Releases
v1.16.0 — Commercial self-host readiness
What's Changed
- chore(deps): Bump actions/setup-python from 6 to 7 in the actions group by @dependabot[bot] in #44
- chore(deps-dev): Bump @playwright/test from 1.61.1 to 1.62.0 in the npm-deps group by @dependabot[bot] in #45
- chore(deps): Bump the python-deps group with 4 updates by @dependabot[bot] in #46
- fix: remediate v1.13 audit findings by @ecamuto in #47
- chore(deps-dev): Bump the npm-deps group with 2 updates by @dependabot[bot] in #48
- chore(deps): Bump the python-deps group with 10 updates by @dependabot[bot] in #49
- chore(runtime): add Redis infrastructure by @ecamuto in #50
- feat: add v1.14 production foundation by @ecamuto in #54
- feat: complete phase 2 experience and CLI by @ecamuto in #56
- feat: add commercial self-host readiness by @ecamuto in #58
- chore(deps-dev): Bump the npm-deps group across 1 directory with 2 updates by @dependabot[bot] in #57
- chore(release): certify v1.16 candidate by @ecamuto in #59
- fix(ci): target CLI test files on Node 22 by @ecamuto in #64
Full Changelog: v1.13.0...v1.16.0
v1.13.0 — Accessibility and project documentation
Keyboard and assistive-technology support for dialogs and menus, plus the project documentation a source-available repo is expected to carry (#43).
No breaking changes. Nothing changes for mouse users — this is additive.
Added
Dialogs and dropdowns are usable without a mouse
All 15 modals were hand-rolled overlays with no role, no focus management, no Escape, and Tab that walked straight into the page behind them. They now share one useModal() primitive:
| Behaviour | Before |
|---|---|
role="dialog" + aria-modal, labelled by the heading |
none |
| Focus moves into the dialog on open | focus stayed on the trigger — assistive tech was never told anything opened |
| Focus returns to the trigger on close | lost; keyboard users restarted from the top of the page |
| Tab trapped inside | Tab walked into the page behind the overlay |
| Escape closes | mouse only |
| Backdrop click closes only if the press started there | selecting text inside and releasing outside dismissed the dialog and discarded the form |
Escape is handled in the capture phase, so with stacked dialogs only the innermost closes.
The six filter and export dropdowns caught outside clicks with a transparent full-screen div — a mouse-only affordance. They now close on Escape, and that backdrop is aria-hidden and stays out of the tab order.
Project documentation
SECURITY.md— private reporting through GitHub advisories, scope, response targets, and an explicit known limitations section: per-process rate limiting, no project-level isolation (roles restrict writes, not reads),vieweris not a confidentiality boundary, and integration credentials are stored recoverably. Stated plainly rather than left to be discovered.CONTRIBUTING.md— setup, the review bar, and the conventions that are not discoverable from the code: Alembic migrations, the deliberately bundler-less frontend, i18n across five locales, and the accessibility rules above.CODE_OF_CONDUCT.md— Contributor Covenant 2.1.- Issue forms for bugs and features, a template config that routes security reports away from public issues, and a pull-request template.
Tests
New e2e/suite20-a11y (9 tests) covering dialog semantics, focus movement and restoration, the focus trap, Escape, the drag-select case, dropdown dismissal, and the skip link — behaviour that never shows up in a screenshot and regresses silently without coverage.
Fixed
DOC-11assertedtext=current, which matched any element containing the word and broke with a strict-mode violation as soon as a changelog bullet used it. Scoped to the badge element.
Verified
763 backend tests · 257 e2e (run twice, clean) · 63 CLI tests · badge check · frontend build.
Full details in CHANGELOG.md.
🤖 Generated with Claude Code
v1.12.0 — Pre-launch security hardening
Remediation of every Critical and High finding from the pre-launch audit (#42). Each fix was reproduced as a working exploit first, then re-verified as blocked.
⚠️ Breaking — read before upgrading
SECRET_KEYis now required in every environment, minimum 32 characters. The previous check only fired whenENVIRONMENT=production, whichdocker-compose.ymlnever set — so the documented Docker quickstart shipped a signing key published in this repository. Generate one:python3 -c "import secrets; print(secrets.token_hex(32))"ALLOW_INSECURE_SECRET_KEY=1skips the check for throwaway local runs only.- Self-registration is off by default.
POST /api/auth/registerreturns 403 and OAuth signs in existing users without provisioning new ones. SetALLOW_OPEN_REGISTRATION=1to restore the old behaviour — note that self-registered accounts now get the read-onlyviewerrole instead oftester. POSTGRES_PASSWORDis required bydocker-compose.yml; the weakthorotestfallback is gone.
Two migrations apply automatically (b9e4d7c15a83, c1f6b2a34d70). Existing API tokens keep working — token_version is backfilled from the owner — but they now expire and follow that user's revocation.
Security
- Open self-registration closed. Any anonymous caller could previously create a write-capable account with full read access to the workspace.
ws/runs/{run_id}now authenticated. It streamed live run state to anyone who guessed a run ID;ws/notificationsalso gained thetoken_versionrevocation check it was skipping. REST, WebSocket, and GraphQL now share one token decoder instead of three that had already drifted.- API token
scopeis enforced. A token labelledreadcarried its owner's full write access. Tokens now also expire (API_TOKEN_EXPIRE_DAYS, 90 by default) and are revoked when their owner logs out everywhere or resets their password. Any role can mint its own token, so a CI credential no longer has to be an admin token. - Per-user SMTP settings removed. They let any authenticated user point the server at an arbitrary
host:port, and stored a relay password in plaintext thatGETechoed back. Mail now uses the operator-configured relay; migrationb9e4d7c15a83clears stored credentials. - SSRF guard applied to per-user Slack webhook URLs, which bypassed the guard added in 1.11.0.
- Untrusted XML parsed with
defusedxml. A ~1 KB entity-expansion document inside the 10 MB import limit could exhaust server memory. Artifact zips are now bounded per member and in total. - OAuth confirm-link no longer returns an uncaught 500 for provider-only accounts (which permanently blocked linking a second provider), and is throttled against password guessing.
- Rate-limit stores bounded. Login, AI, and 2FA counters pruned timestamps but never removed keys, so rotating IP or email grew them without limit.
- Container runs as a non-root user, builds from
requirements.lock, and a.dockerignorekeeps.envand local databases out of the build context.
Added
- Responsive layout below 900px with a collapsing nav drawer; skip link, visible focus rings,
prefers-reduced-motion, and button semantics on interactive rows, chips, and cards.
Fixed
- README described password hashing as
sha256_crypt; it has been argon2id since 1.10.0. - CLI docs used the
tt_token prefix; the real prefix isth_.
Full details in CHANGELOG.md.
🤖 Generated with Claude Code
v1.11.0 — Audit quick wins: hardening + performance
Closes the audit roadmap "Weeks 1–3" quick wins plus the first short-term items (S-3, S-5).
Security
- CSV formula-injection neutralization in run and test-library exports.
- Password policy raised to 12–128 chars with common-password blocklist and own-identifier rejection — enforced on register, change, reset, and admin create. Existing passwords unaffected.
- Fresh installs get a random first-boot admin password (printed once in the server log) instead of
admin/admin;ADMIN_INITIAL_PASSWORDto choose it, demo default only underDEMO_MODE. - Attachment uploads restricted to a test-evidence extension allow-list (
.html/.svgexcluded); downloads force safe MIME +nosniff. - App-wide same-origin CSP,
X-Content-Type-Options: nosniff,Referrer-Policy: same-origin.
Performance
- Indexes on hot
run_cases/tests/defectsfilter columns (Alembica7c3e9f14b02). /api/initial-datarequirement coverage: one query instead of one per requirement (up to 500 fewer per app load).
Changed
- PostgreSQL is the documented production database; SQLite stays the eval/small-install default with a boot-time warning in production. Compose reads
POSTGRES_PASSWORDfrom env.
Tooling
- Pinned
requirements.lock+make lock; CI installs from the lock; pip-audit CVE scan job; grouped monthly Dependabot. make clean-data; README test-count badges derived from the tree and CI-gated.
Full details in CHANGELOG.md.
🤖 Generated with Claude Code
v1.10.0 — Security hardening + demo login accounts
Security
- Webhooks API now requires authentication (list/create/update/delete, regenerate-secret, test) — every route was previously unauthenticated. Now admin/manager only.
- Integrations create/update/delete now require authentication — previously unauthenticated, exposing stored git/Jira tokens. Now admin/manager only.
- SSRF egress guard for webhook targets: private/loopback/link-local/reserved/cloud-metadata addresses are refused at create/update, on test, and at delivery.
- Attachment upload hardened against path traversal (whitelisted
entity_type, basename-only filenames,UPLOAD_DIRcontainment).
Added
- "Demo" corner ribbon when running with
DEMO_MODE=1, backed by the publicGET /api/config. - Demo-account logins on the login screen under
DEMO_MODE: a balloon lists the seeded throwaway logins (email, password, role); click to fill.
Full detail in CHANGELOG.md.
v1.8.0
Highlights
Features
- Per-record change history — audit trail of who changed what/when on each record (#17)
- Notifications — email + in-app alerts on @mention and case assignment
- CI pipelines — expandable rows showing a run's test cases, plus self-healing reconcile for stuck
runningrows (#15) - Overview — activity entries link straight to their entity (#16)
- AI assistant — free-form "Ask AI" prompt; folder-tree picker improvements (#18)
- Select-all checkbox in the new plan/run test pickers
Fixes
- Pipelines:
url+run_idnow included in/api/initial-data, so CI run links and expand work on a fresh page load - Folders: case-insensitive sync dedup, stable order, deep tree
- Pagination: clamp limit/offset so a negative limit can't bypass the row cap
- Insights: imported CI runs now counted in Test health
Performance
/healthDB ping moved to a threadpool so a slow database can't block the event loop
Tests
- De-flaked Suite 12 integration specs (await writes instead of racing; local webhook target)
Full changelog: v1.7.0...v1.8.0
v1.7.0 — AI assistant: everywhere, structured & selectable
Improvements to the AI assistant and the fixes needed to run it against a live Anthropic (or OpenAI-compatible / local) provider.
Highlights
- Structured, selectable edge cases — suggestions now carry
title+rationale+categoryand render as cards with checkboxes; only the checked items become draft tests. - Launch from the test list — a ✨ AI button opens the edge-case assistant in a side drawer scoped to the active folder.
- Flaky analysis on more tests — the "AI Flaky Analysis" card shows on any test with ≥2 runs (was ≥1 failed run).
- AI drafts are tagged
ai-draftand there's a new Tag filter in the Library (plus tag-aware search). - Richer folder picker — full ancestor path + direct test count.
Fixes
- Handle models that emit a thinking block before the text block (e.g. Sonnet 5) — previously crashed with
AttributeError. - Provider errors (insufficient credit, unknown model, upstream 5xx) now return a clean 503 with the upstream message instead of an opaque 500.
Notes
- AI is bring-your-own-key and optional; works with Anthropic or any OpenAI-compatible endpoint (OpenAI, Groq, Ollama, LM Studio, ...).
Full changelog: v1.6.0...v1.7.0
v1.6.0 — Two-way Tests-as-Code sync + CI link
Two-way "Tests as Code" sync (GitHub + GitLab) and a link between synced test schede and CI runs, so a test is one row with a single source of truth per field.
Highlights
- Reverse sync — a Push to git button commits a test's current state back to its source YAML (GitHub + GitLab), with a 409 conflict guard when the file diverged on git.
- Schede ↔ CI link — a CI run attaches to the same test row the YAML scheda created (no duplicates) via a
[TC-…]correlation id, and advances the scheda's status to the real run result. Status is no longer a hand-written YAML field. - Pipelines page — every Run CI dispatch shows here (running → pass/fail, commit/branch/duration), live-refreshes, opens the real run on the provider, and entries can be deleted. Fake demo pipelines are no longer seeded.
- Topbar — a working, persisted light/dark theme toggle replaces the dead "⌘ N New test" hint.
Fixes
extract_case_idno longer matchesTCP/BTC-100as case ids.- Delete ✕ rendered/sized correctly; theme toggle reachable and persisted.
Migrations
7b2e1c4a9d10— addspipelines.url.
Docs
- README updated for two-way + GitLab; new
docs/gitlab-ci.md.
Testing
- 578 backend unit tests + 242 e2e green; plus a skip-gated live GitLab integration test.
v1.5.0 — GitLab integration (sync + CI)
Features
- GitLab integration — now a first-class VCS provider alongside GitHub, for gitlab.com and self-hosted. Two surfaces:
- Tests-as-Code sync — pull YAML test definitions from a GitLab repo.
- Run CI — trigger a pipeline, poll to completion, and import its
test_report(all jobs merged) as a ThoroTest run.
- Provider is auto-detected from the repo host or set explicitly (
config.provider); self-hosted API base is configurable. - UI — GitLab is a selectable, configurable provider. The VCS config form is provider-aware (self-hosted API base for GitLab vs workflow/artifact for GitHub); Run CI / Sync are provider-neutral.
Demo
demo/gitlab/— one-command local GitLab CE + runner (docker compose up -d+./setup.sh) with a two-job pipeline (green pytest + red Playwright) that exercises the full flow end-to-end against a real instance. Seedemo/gitlab/README.md.
Internals
- Reuses
github_sync.sync_repovia an injected GitLab fetcher, and the sharedimporters/persist.pypath — no duplication of folder-tree/upsert logic. - GitLab trigger is simpler than GitHub Actions:
POST /pipelinereturns the id, so no "find the dispatched run" step; results come from the structuredtest_reportendpoint. - Seed's GitLab row is now a real
vcs_ciprovider. 535 pytest + full e2e green.
v1.4.1 — Folder-name fix in AI picker
Fix: the AI assistant's "Find missing edge cases" folder dropdown (Overview) showed raw folder ids (F-…) instead of names for deeply nested folders — e.g. imported test folders. It now walks the full folder tree so every folder resolves to its name.
Patch over v1.4.0.