feat: BreakPilot PWA - Full codebase (clean push without large binaries)
Some checks failed
Tests / Go Tests (push) Has been cancelled
Tests / Python Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / Go Lint (push) Has been cancelled
Tests / Python Lint (push) Has been cancelled
Tests / Security Scan (push) Has been cancelled
Tests / All Checks Passed (push) Has been cancelled
Security Scanning / Secret Scanning (push) Has been cancelled
Security Scanning / Dependency Vulnerability Scan (push) Has been cancelled
Security Scanning / Go Security Scan (push) Has been cancelled
Security Scanning / Python Security Scan (push) Has been cancelled
Security Scanning / Node.js Security Scan (push) Has been cancelled
Security Scanning / Docker Image Security (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
CI/CD Pipeline / Go Tests (push) Has been cancelled
CI/CD Pipeline / Python Tests (push) Has been cancelled
CI/CD Pipeline / Website Tests (push) Has been cancelled
CI/CD Pipeline / Linting (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build & Push (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / CI Summary (push) Has been cancelled
ci/woodpecker/manual/build-ci-image Pipeline was successful
ci/woodpecker/manual/main Pipeline failed

All services: admin-v2, studio-v2, website, ai-compliance-sdk,
consent-service, klausur-service, voice-service, and infrastructure.
Large PDFs and compiled binaries excluded via .gitignore.
This commit is contained in:
BreakPilot Dev
2026-02-11 13:25:58 +01:00
commit 19855efacc
2512 changed files with 933814 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,192 @@
/**
* TypeScript Types for Test Dashboard
*/
export type TestFramework =
| 'go_test'
| 'pytest'
| 'jest'
| 'playwright'
| 'bqas_golden'
| 'bqas_rag'
| 'bqas_synthetic'
export type TestCategory = 'unit' | 'integration' | 'e2e' | 'bqas' | 'security' | 'performance'
export type TestStatus = 'pending' | 'running' | 'passed' | 'failed' | 'skipped' | 'error'
export type RunStatus = 'queued' | 'running' | 'completed' | 'failed' | 'cancelled'
export interface TestCase {
id: string
name: string
file_path: string
line_number?: number
framework: TestFramework
category: TestCategory
duration_ms?: number
status: TestStatus
error_message?: string
output?: string
}
export interface ServiceTestInfo {
service: string
display_name: string
port?: number
language: string
total_tests: number
passed_tests: number
failed_tests: number
skipped_tests: number
pass_rate: number
coverage_percent?: number
last_run?: string
status: TestStatus
}
export interface TestRun {
id: string
suite_id: string
service: string
started_at: string
completed_at?: string
status: RunStatus
total_tests: number
passed_tests: number
failed_tests: number
skipped_tests: number
duration_seconds: number
git_commit?: string
git_branch?: string
coverage_percent?: number
triggered_by: string
output?: string
failed_test_ids: string[]
}
export interface TestRegistryStats {
total_tests: number
total_passed: number
total_failed: number
total_skipped: number
overall_pass_rate: number
average_coverage?: number
services_count: number
last_full_run?: string
by_category: Record<string, number>
by_framework: Record<string, number>
}
export interface RegistryResponse {
services: ServiceTestInfo[]
stats: TestRegistryStats
last_updated: string
}
export interface CoverageData {
service: string
display_name: string
coverage_percent: number
language: string
}
export interface CoverageResponse {
services: CoverageData[]
average_coverage: number
total_services: number
}
export type TabType = 'overview' | 'unit' | 'integration' | 'bqas' | 'history' | 'backlog' | 'guide'
export type BacklogStatus = 'open' | 'in_progress' | 'fixed' | 'wont_fix' | 'flaky'
export type BacklogPriority = 'critical' | 'high' | 'medium' | 'low'
export interface FailedTest {
id: string
name: string
service: string
file_path: string
line_number?: number
error_message: string
error_type: string
suggestion: string
run_id: string
last_failed: string
status: BacklogStatus
}
export interface FailedTestsResponse {
total_failed: number
by_service: Record<string, FailedTest[]>
tests: FailedTest[]
last_updated: string
}
// Neue PostgreSQL-basierte Backlog-Typen
export interface BacklogItem {
id: number
test_name: string
test_file: string | null
service: string
framework: string | null
error_message: string | null
error_type: string | null
first_failed_at: string
last_failed_at: string
failure_count: number
status: BacklogStatus
priority: BacklogPriority
assigned_to: string | null
fix_suggestion: string | null
notes: string | null
created_at: string
updated_at: string
fixes?: FixAttempt[]
}
export interface FixAttempt {
id: number
backlog_id: number
fix_type: 'manual' | 'auto_claude' | 'auto_script'
fix_description: string | null
commit_hash: string | null
success: boolean
created_at: string
}
export interface BacklogResponse {
total: number
items: BacklogItem[]
by_service: Record<string, BacklogItem[]>
filters: {
status: string | null
service: string | null
priority: string | null
}
pagination: {
limit: number
offset: number
}
}
export interface TrendDataPoint {
date: string
total_tests: number
passed: number
failed: number
runs: number
pass_rate: number
}
export interface TrendsResponse {
trends: TrendDataPoint[]
days: number
service: string | null
}
export interface Toast {
id: number
type: 'success' | 'error' | 'info' | 'loading'
message: string
}