tftsr-devops_investigation/tests/unit
Shaun Arman 44863d7f9f
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m23s
Test / frontend-typecheck (pull_request) Successful in 1m31s
Test / rust-fmt-check (pull_request) Successful in 11m33s
PR Review Automation / review (pull_request) Failing after 2m46s
Test / rust-clippy (pull_request) Successful in 13m16s
Test / rust-tests (pull_request) Has been cancelled
feat(k8s): implement clean-room Kubernetes management GUI
- Backend: kube module with ClusterClient, PortForwardSession, RefreshRegistry
- 7 Tauri IPC commands: add_cluster, remove_cluster, list_clusters, start_port_forward, stop_port_forward, list_port_forwards, delete_port_forward, shutdown_port_forwards
- AppState extended with clusters, port_forwards, refresh_registry fields
- Version bumped to 1.1.0 in Cargo.toml and package.json
- Auto-tag workflow updated to mark releases as draft (pre-release)
- Buy Me A Coffee section added to README.md
- Fixed changelog workflow to only include current tag commits
- Proper kubeconfig YAML parsing with extract_context and extract_server_url
- Added kubeconfig content storage in ClusterClient
- Updated PortForwardSession to include cluster_name
- Frontend GUI components: ClusterList, PortForwardList, AddClusterModal, PortForwardForm, KubernetesPage
- TypeScript types and IPC commands for Kubernetes management
- Unit tests for Kubernetes IPC commands (6 tests)
- All 332 Rust tests passing
- All 98 frontend tests passing
- TypeScript type checks passing
- Project builds successfully in release mode
- Committed and pushed to feature/kubernetes-management branch
- Command injection vulnerability fixed with regex validation and max length check (253 chars)
- stop_port_forward and shutdown_port_forwards properly kill kubectl child processes via async child management
- Temp file cleanup implemented with RAII TempFileCleanup struct created before std::fs::write
- discover_pods now parses actual kubectl JSON output
- ChildWaitHandle implemented with background task for waiting on kubectl child
- PortForwardSession uses Arc<TokioMutex<Option<Child>>> for async-safe child management
- Port-forward uses kubectl's dynamic port binding (0) instead of TcpListener
- Added shutdown_port_forwards command for app shutdown cleanup
- Added cleanup effect in App.tsx to call shutdownPortForwardsCmd on unmount
- Database CRUD operations for clusters and port_forwards added to db.rs
- validate_resource_name uses lazy_static! for cached Regex to prevent ReDoS
- Cluster struct updated to store kubeconfig_content directly instead of kubeconfig_id
- Cluster model in db/models.rs updated to use kubeconfig_content field
- load_clusters and load_port_forwards commands registered in lib.rs
- Temp file cleanup moved to background task in ChildWaitHandle to ensure cleanup after kubectl completes
- Unused child_id field removed from ChildWaitHandle
- Command validation moved to beginning of start_port_forward before any operations
- Fixed lint errors: removed unused imports, fixed React hooks order, updated type annotations
- Updated eslint.config.js to properly configure file patterns
2026-06-06 20:16:09 -05:00
..
aiProvidersCustomRest.test.ts chore: remove all proprietary vendor references for public release 2026-04-07 09:46:25 -05:00
aiProvidersOllamaDropdown.test.tsx test: add shell execution and tool calling detection tests 2026-06-05 08:26:22 -05:00
attachmentStore.test.ts feat: attachment DB storage and cross-incident recall 2026-05-31 17:55:47 -05:00
auditLog.test.tsx fix(test): await async data in auditLog test to prevent race condition 2026-04-19 20:21:37 -05:00
autoTagWorkflowTrigger.test.ts.disabled fix: update tests to use .gitea workflows and disable GitHub-specific tests 2026-06-05 15:03:27 -05:00
ciDockerBuilders.test.ts.disabled fix: remove remaining proprietary references and fix branding 2026-06-05 16:00:33 -05:00
dashboard.test.tsx chore: Add GitHub Actions workflows 2026-04-08 21:53:44 -05:00
detectToolCalling.test.ts test: add shell execution and tool calling detection tests 2026-06-05 08:26:22 -05:00
docEditor.test.tsx fix: UI contrast issues and ARM64 build failure 2026-04-03 08:05:58 -05:00
domainPrompts.test.ts feat: wire incident response methodology into AI and record triage events 2026-04-19 18:13:47 -05:00
exportDocument.test.ts fix: UI contrast issues and ARM64 build failure 2026-04-03 08:05:58 -05:00
history.test.tsx fix: lint fixes and formatting cleanup 2026-04-09 20:42:40 -05:00
historyStore.test.ts fix: dashboard shows — while loading, exposes errors, adds refresh button 2026-03-31 08:55:05 -05:00
issueActions.test.ts feat: close issues, restore history, auto-save resolution steps 2026-03-31 12:50:39 -05:00
kubernetesCommands.test.ts feat(k8s): implement clean-room Kubernetes management GUI 2026-06-06 20:16:09 -05:00
pii.test.ts feat: initial implementation of TFTSR IT Triage & RCA application 2026-03-14 22:36:25 -05:00
releaseWorkflowCrossPlatformArtifacts.test.ts.disabled fix: update tests to use .gitea workflows and disable GitHub-specific tests 2026-06-05 15:03:27 -05:00
releaseWorkflowMacBundle.test.ts.disabled fix: update tests to use .gitea workflows and disable GitHub-specific tests 2026-06-05 15:03:27 -05:00
resolution.test.tsx feat: wire incident response methodology into AI and record triage events 2026-04-19 18:13:47 -05:00
selectDropdownViewport.test.tsx test: add shell execution and tool calling detection tests 2026-06-05 08:26:22 -05:00
sessionStore.test.ts feat: initial implementation of TFTSR IT Triage & RCA application 2026-03-14 22:36:25 -05:00
settingsStore.test.ts feat: full copy from apollo_nxt-trcaa with complete sanitization 2026-06-05 14:12:43 -05:00
setup.ts feat: full copy from apollo_nxt-trcaa with complete sanitization 2026-06-05 14:12:43 -05:00
timelineEvents.test.ts feat: wire incident response methodology into AI and record triage events 2026-04-19 18:13:47 -05:00