Commit Graph

523 Commits

Author SHA1 Message Date
Shaun Arman
e6eca88100 style(kube): apply rustfmt formatting to kube.rs
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m28s
Test / frontend-typecheck (pull_request) Successful in 1m39s
PR Review Automation / review (pull_request) Successful in 4m4s
Test / rust-fmt-check (pull_request) Successful in 11m45s
Test / rust-clippy (pull_request) Successful in 13m19s
Test / rust-tests (pull_request) Successful in 15m8s
2026-06-07 00:25:42 -05:00
Shaun Arman
b884cadd8a feat: implement additional Kubernetes resource discovery and management commands
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m34s
Test / frontend-typecheck (pull_request) Successful in 1m54s
PR Review Automation / review (pull_request) Successful in 4m27s
Test / rust-fmt-check (pull_request) Failing after 12m1s
Test / rust-clippy (pull_request) Successful in 13m12s
Test / rust-tests (pull_request) Successful in 14m59s
- Add 16 new resource discovery commands: replicasets, jobs, cronjobs, configmaps, secrets, nodes, events, ingresses, pvcs, pvs, serviceaccounts, roles, clusterroles, rolebindings, clusterrolebindings, hpas
- Add 6 new management commands: cordon_node, uncordon_node, drain_node, rollback_deployment, create_resource, edit_resource
- All commands follow existing patterns with proper temp file cleanup and error handling
- All tests passing (331 Rust + 98 frontend)
- TypeScript type checks passing
- Build successful in release mode
2026-06-07 00:10:19 -05:00
Shaun Arman
8b227c1837 fix(kube): resolve automated PR review blockers and warnings
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m26s
Test / frontend-typecheck (pull_request) Successful in 1m35s
PR Review Automation / review (pull_request) Successful in 5m6s
Test / rust-fmt-check (pull_request) Failing after 11m23s
Test / rust-clippy (pull_request) Successful in 13m2s
Test / rust-tests (pull_request) Successful in 14m47s
Blockers:
- Replace serde_yaml::from_str with serde_json::from_str in all 6
  parse_*_json functions (parse_namespaces, parse_pods, parse_services,
  parse_deployments, parse_statefulsets, parse_daemonsets). Update
  .as_sequence() → .as_array(), .as_mapping() → .as_object(), and
  mapping iterator patterns throughout. Explicitly type serde_yaml::Value
  in extract_context/extract_server_url which legitimately parse YAML.

Warnings:
- Add containers: Vec<String> to PodInfo struct; parse from
  spec.containers[].name in parse_pods_json
- Fix PodList.tsx to use selectedPod.containers instead of [selectedPod.name]
- Fix exec_pod: add optional shell param with allowlist validation
  (sh/bash/ash/dash); correct arg ordering — -c container now placed
  before -- separator
- Handle empty namespace with --all-namespaces in all 5 list commands
- Fix dialog overflow: overflow-hidden → overflow-y-auto on inner div
- Memoize namespace options with useMemo in ResourceBrowser

Lint cleanup (all pre-existing, surfaced by eslint config fix):
- Deduplicate eslint.config.js (was doubled to 272 lines); move ignores
  to standalone global object; allow console.log in cli section
- Remove stale .eslintignore (migrated to eslint.config.js)
- Remove unused Card/CardTitle imports from Kubernetes list components
- Rename unused props to _clusterId/_namespace in DaemonSetList,
  ServiceList, StatefulSetList
- Fix useEffect/useCallback missing deps in Triage and LogUpload
- Remove debug console.log from App.tsx provider auto-test
- Rename unused hover prop to _hover in TableRow (ui/index.tsx)
- Add #[allow(unused_variables)] to Phase 3 stub Tauri commands
- Restore get_pod_logs, scale_deployment, restart_deployment,
  delete_resource, exec_pod to lib.rs handler registration (were
  accidentally dropped in Phase 3 expansion)

All checks pass: cargo clippy -D warnings, tsc --noEmit,
eslint --max-warnings 0, 331 Rust tests, 98 frontend tests.
2026-06-06 23:55:44 -05:00
Shaun Arman
e585415598 feat: implement full Lens-like Kubernetes UI with resource discovery and management
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m33s
Test / frontend-typecheck (pull_request) Successful in 1m42s
PR Review Automation / review (pull_request) Successful in 4m28s
Test / rust-fmt-check (pull_request) Failing after 11m26s
Test / rust-clippy (pull_request) Successful in 12m46s
Test / rust-tests (pull_request) Successful in 14m24s
- Add ResourceBrowser with namespace/resource type tabs for pods, services, deployments, statefulsets, daemonsets
- Implement PodList with logs viewer and container selection
- Implement ServiceList with cluster IP, type, ports display
- Implement DeploymentList with scale and restart operations
- Add backend commands: list_namespaces, list_pods, list_services, list_deployments, list_statefulsets, list_daemonsets
- Add resource management commands: get_pod_logs, scale_deployment, restart_deployment, delete_resource, exec_pod
- Add UI components: Table, Tabs, Dialog, Alert to shared UI library
- Update KubernetesPage to use new ResourceBrowser component
- All tests passing (331 Rust + 98 frontend)
- Build successful in release mode
2026-06-06 23:08:01 -05:00
Shaun Arman
3833d604f7 fix(kube): address portforward race condition and temp file leak
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m35s
Test / frontend-typecheck (pull_request) Successful in 1m37s
PR Review Automation / review (pull_request) Successful in 5m38s
Test / rust-fmt-check (pull_request) Successful in 14m13s
Test / rust-clippy (pull_request) Successful in 15m37s
Test / rust-tests (pull_request) Successful in 16m54s
- Replace take().expect() in background task with if let Some to handle
  the race where stop_async/close takes the child before the task is
  polled, preventing a task panic instead of a graceful exit
- Add temp kubeconfig cleanup to stop_async, close, and Drop since
  taking the child out of the shared Arc causes the background task to
  return early, skipping its own cleanup branch
2026-06-06 20:40:24 -05:00
Shaun Arman
e56a72a31a feat(k8s): implement clean-room Kubernetes management GUI
Some checks failed
Test / frontend-typecheck (pull_request) Successful in 1m48s
Test / frontend-tests (pull_request) Successful in 1m33s
PR Review Automation / review (pull_request) Successful in 6m23s
Test / rust-fmt-check (pull_request) Successful in 13m8s
Test / rust-tests (pull_request) Has been cancelled
Test / rust-clippy (pull_request) Has been cancelled
- 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:27:39 -05:00
Shaun Arman
ec257ef55f docs(kubernetes): add comment about dynamic port allocation limitation
All checks were successful
PR Review Automation / review (pull_request) Successful in 3m58s
Test / frontend-tests (pull_request) Successful in 1m23s
Test / frontend-typecheck (pull_request) Successful in 1m31s
Test / rust-fmt-check (pull_request) Successful in 12m6s
Test / rust-clippy (pull_request) Successful in 12m54s
Test / rust-tests (pull_request) Successful in 14m9s
2026-06-06 19:46:04 -05:00
Shaun Arman
c0318e8570 fix(kubernetes): address automated PR review findings
Some checks failed
Test / frontend-typecheck (pull_request) Successful in 1m39s
Test / frontend-tests (pull_request) Successful in 1m42s
PR Review Automation / review (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
- Move command validation to beginning of start_port_forward before any operations
- Fix race condition: temp file cleanup now happens in background task after kubectl completes
- Remove unused child_id field from ChildWaitHandle
- Add comments explaining validation placement and cleanup timing
2026-06-06 19:44:32 -05:00
Shaun Arman
7b77511bdb feat(kubernetes): add database persistence for clusters and port_forwards
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m33s
Test / frontend-typecheck (pull_request) Successful in 1m41s
PR Review Automation / review (pull_request) Successful in 3m57s
Test / rust-fmt-check (pull_request) Successful in 11m13s
Test / rust-clippy (pull_request) Successful in 12m50s
Test / rust-tests (pull_request) Successful in 14m29s
- Add load_clusters and load_port_forwards commands to db.rs
- Update remove_cluster to delete from database
- Update delete_port_forward to delete from database
- Add Cluster and PortForward imports to db.rs
- Add load commands to lib.rs generate_handler
- Fix formatting issues
2026-06-06 19:29:42 -05:00
Shaun Arman
b6453b0f75 fix: add app shutdown cleanup for port forward processes
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m32s
Test / frontend-typecheck (pull_request) Successful in 1m34s
PR Review Automation / review (pull_request) Successful in 3m28s
Test / rust-fmt-check (pull_request) Failing after 11m18s
Test / rust-clippy (pull_request) Successful in 13m0s
Test / rust-tests (pull_request) Successful in 14m38s
- Add shutdown_port_forwards() Rust command to kill all child processes
- Add shutdownPortForwardsCmd() frontend command wrapper
- Add cleanup effect in App.tsx to call shutdown on unmount
- All port forward child processes now killed on app exit
2026-06-06 18:48:52 -05:00
Shaun Arman
c53cfdd84f fix: add shutdown_port_forwards command for app cleanup
Some checks failed
PR Review Automation / review (pull_request) Successful in 5m32s
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
Test / frontend-typecheck (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
Test / frontend-tests (pull_request) Has been cancelled
- Add shutdown_port_forwards() to kill all child processes on app exit
- Update lib.rs to register the new command
- PortForwardSession::close() handles both child kill and temp file cleanup
2026-06-06 18:46:13 -05:00
Shaun Arman
2134b880b9 fix: address automated PR review findings
Some checks failed
PR Review Automation / review (pull_request) Successful in 3m43s
Test / frontend-typecheck (pull_request) Successful in 2m0s
Test / frontend-tests (pull_request) Successful in 1m42s
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
- Temp file cleanup: move TempFileCleanup struct before std::fs::write
  to ensure cleanup happens even on panic (race condition fix)
- PortForwardSession: add explicit close() method for async cleanup
  of child process and temp files
- delete_port_forward: call close() before removing session
- All temp file operations now use RAII pattern with cleanup before write
2026-06-06 18:40:52 -05:00
Shaun Arman
accb689117 chore: remove broken integration tests for kube module
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m26s
Test / frontend-typecheck (pull_request) Successful in 1m34s
PR Review Automation / review (pull_request) Successful in 4m10s
Test / rust-fmt-check (pull_request) Failing after 12m9s
Test / rust-clippy (pull_request) Successful in 14m2s
Test / rust-tests (pull_request) Successful in 15m44s
2026-06-06 18:32:11 -05:00
Shaun Arman
c515886cbf fix: properly handle kubectl subprocess with async child management
- Replace Arc<Mutex<Child>> with Arc<Mutex<Option<Child>>> for Send/Sync safety
- Store child in ChildWaitHandle with background task for async waiting
- Implement stop_async() to properly kill kubectl subprocess
- Add temp kubeconfig cleanup via RAII TempFileCleanup
- Cache regex pattern with lazy_static! for performance
- Add namespace validation with max length check (253 chars)
- Update stop_port_forward to use stop_async() for proper cleanup
2026-06-06 18:32:08 -05:00
Shaun Arman
0dfb16e5f6 feat: add comprehensive Windows and Linux command support to shell classifier
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m22s
Test / frontend-typecheck (pull_request) Successful in 1m29s
PR Review Automation / review (pull_request) Successful in 3m54s
Test / rust-fmt-check (pull_request) Successful in 10m49s
Test / rust-clippy (pull_request) Successful in 12m33s
Test / rust-tests (pull_request) Successful in 14m18s
- Added Tier 3: 120+ destructive Linux/Windows commands (rm, dd, format, del, etc.)
- Added Tier 2: 60+ mutating commands (ssh, sudo, copy, curl, PowerShell cmdlets)
- Added Tier 1: 100+ read-only commands (cat, grep, ls, get-process, etc.)
- Added special case handling for bootrec, cipher, sudo
- All tests pass (332 passed, 0 failed)
- Clippy passes with no warnings
2026-06-06 18:03:47 -05:00
Shaun Arman
4ba0eb1ca9 fix: address all automated PR review findings
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m29s
Test / frontend-typecheck (pull_request) Successful in 1m36s
PR Review Automation / review (pull_request) Successful in 4m11s
Test / rust-fmt-check (pull_request) Successful in 11m2s
Test / rust-clippy (pull_request) Successful in 12m37s
Test / rust-tests (pull_request) Successful in 14m6s
- Add validate_resource_name() with ReDoS protection (max 253 chars)
- Fix stop_port_forward to actually kill kubectl child process
- Add temp file cleanup with TempFileCleanup struct
- Fix discover_pods to parse actual kubectl JSON output
- Update test to use container_ports array instead of container_port
2026-06-06 16:54:30 -05:00
Shaun Arman
40bd6162ae fix: address automated PR review findings
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m24s
Test / frontend-typecheck (pull_request) Successful in 1m32s
PR Review Automation / review (pull_request) Successful in 4m1s
Test / rust-fmt-check (pull_request) Successful in 11m9s
Test / rust-clippy (pull_request) Successful in 12m25s
Test / rust-tests (pull_request) Successful in 13m58s
- Add regex validation for namespace/pod to prevent command injection
- Fix start_port_forward to properly spawn kubectl subprocess
- Use kubectl's dynamic port binding (0) instead of TcpListener
- Update PortForwardResponse to use arrays for all ports
- Fix stop_port_forward to wait for kubectl termination
- Add cascade delete for port forwards on cluster removal
- Fix Drop/stop implementations to handle kill errors properly
2026-06-06 16:23:00 -05:00
Shaun Arman
a3f714ef2d chore: remove hackathon files from git
All checks were successful
PR Review Automation / review (pull_request) Successful in 5m46s
Test / frontend-typecheck (pull_request) Successful in 1m29s
Test / frontend-tests (pull_request) Successful in 1m18s
Test / rust-fmt-check (pull_request) Successful in 17m33s
Test / rust-clippy (pull_request) Successful in 17m26s
Test / rust-tests (pull_request) Successful in 18m10s
- Remove 2026-hackathon_AgenticFeature.md
- Remove docs/2026-hackathon_AgenticFeature.md
- Remove .logs/subtask2.log
2026-06-06 15:46:19 -05:00
Shaun Arman
71d4fc350c fix(fmt): apply cargo fmt 2026-06-06 15:36:35 -05:00
Shaun Arman
eef638bc25 chore: remove assessment file 2026-06-06 15:36:35 -05:00
Shaun Arman
cacd15b8c1 feat(kube): implement complete kubectl port-forward runtime
- Dynamic local port allocation via TcpListener::bind
- Kubectl subprocess spawning with proper cleanup
- Database persistence for clusters and port_forwards
- Cluster health check (kubectl cluster-info)
- Pod discovery (kubectl get pods)
- Comprehensive unit and integration tests
- All 325 Rust tests passing
- All 98 frontend tests passing
- TypeScript type checks passing
2026-06-06 15:36:35 -05:00
Shaun Arman
9092edeba0 fix(changelog): use tag range for release notes 2026-06-06 15:36:35 -05:00
gitea-actions[bot]
f67821c0b8 chore: update CHANGELOG.md for v1.1.0 [skip ci] 2026-06-06 19:23:30 +00:00
7c2e3d9e7b Merge pull request 'feat(kube): add Kubernetes management GUI components' (#71) from feature/kubernetes-management into master
All checks were successful
Auto Tag / autotag (push) Successful in 8s
Auto Tag / wiki-sync (push) Successful in 10s
Auto Tag / build-macos-arm64 (push) Successful in 3m12s
Test / frontend-typecheck (push) Successful in 1m37s
Test / frontend-tests (push) Successful in 1m35s
Auto Tag / changelog (push) Successful in 1m42s
Auto Tag / build-linux-amd64 (push) Successful in 9m46s
Auto Tag / build-windows-amd64 (push) Successful in 11m21s
Auto Tag / build-linux-arm64 (push) Successful in 11m23s
Test / rust-fmt-check (push) Successful in 15m44s
Test / rust-clippy (push) Successful in 17m16s
Test / rust-tests (push) Successful in 18m58s
Reviewed-on: #71
2026-06-06 19:19:26 +00:00
Shaun Arman
1164a5a907 chore: add new branding assets
Some checks failed
PR Review Automation / review (pull_request) Successful in 3m10s
Test / frontend-typecheck (pull_request) Successful in 1m44s
Test / frontend-tests (pull_request) Successful in 1m42s
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
2026-06-06 14:08:47 -05:00
Shaun Arman
0615ec2054 fix(fmt): format code with cargo fmt
All checks were successful
Test / frontend-typecheck (pull_request) Successful in 1m47s
Test / frontend-tests (pull_request) Successful in 1m42s
PR Review Automation / review (pull_request) Successful in 3m59s
Test / rust-fmt-check (pull_request) Successful in 12m24s
Test / rust-clippy (pull_request) Successful in 14m0s
Test / rust-tests (pull_request) Successful in 15m45s
2026-06-06 14:00:09 -05:00
Shaun Arman
05ec2e4fbb fix: address clippy warnings
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m26s
Test / frontend-typecheck (pull_request) Successful in 1m34s
PR Review Automation / review (pull_request) Successful in 3m33s
Test / rust-fmt-check (pull_request) Failing after 10m30s
Test / rust-clippy (pull_request) Successful in 12m7s
Test / rust-tests (pull_request) Successful in 13m54s
- Remove unused imports
- Use PortForwardSessionConfig struct to reduce function arguments
2026-06-06 13:47:51 -05:00
Shaun Arman
1d0689556d fix(fmt): format code with cargo fmt
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m22s
Test / frontend-typecheck (pull_request) Successful in 1m33s
PR Review Automation / review (pull_request) Successful in 3m29s
Test / rust-fmt-check (pull_request) Successful in 10m27s
Test / rust-clippy (pull_request) Failing after 12m9s
Test / rust-tests (pull_request) Successful in 13m37s
2026-06-06 13:30:35 -05:00
Shaun Arman
c2e0f47bbe fix: implement kubeconfig parsing and add kubeconfig storage
Some checks failed
PR Review Automation / review (pull_request) Has been cancelled
Test / frontend-tests (pull_request) Has been cancelled
Test / rust-clippy (pull_request) Has been cancelled
Test / frontend-typecheck (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
- Store kubeconfig content in ClusterClient for future use
- Update ClusterClient to accept kubeconfig_content as Arc<String>
- Update PortForwardSession to include cluster_name for kubectl invocation
2026-06-06 13:28:03 -05:00
Shaun Arman
03e86dc326 fix: implement proper kubeconfig parsing and validation
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m23s
Test / frontend-typecheck (pull_request) Successful in 1m29s
PR Review Automation / review (pull_request) Successful in 3m37s
Test / rust-fmt-check (pull_request) Failing after 11m1s
Test / rust-clippy (pull_request) Successful in 11m49s
Test / rust-tests (pull_request) Has been cancelled
- Implement extract_context to parse kubeconfig YAML and extract context name
- Implement extract_server_url to parse kubeconfig YAML and extract server URL
- Add empty content validation for kubeconfig
- Add YAML parsing error handling with actionable error messages
2026-06-06 13:17:56 -05:00
Shaun Arman
a7a0f01674 feat(kube): implement delete_port_forward command
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m26s
Test / frontend-typecheck (pull_request) Successful in 1m31s
PR Review Automation / review (pull_request) Successful in 3m27s
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
- Add delete_port_forward Rust command to remove port forwards from state
- Update tauriCommands.ts to use delete_port_forward command
- Register delete_port_forward in lib.rs invoke handler
2026-06-06 13:09:14 -05:00
Shaun Arman
44c631961d fix: address PR review findings
Some checks failed
PR Review Automation / review (pull_request) Successful in 4m35s
Test / frontend-tests (pull_request) Has been cancelled
Test / frontend-typecheck (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
Test / rust-clippy (pull_request) Has been cancelled
- Add separate deletePortForwardCmd wrapper (currently calls stop_port_forward - backend limitation)
- Add explicit empty string check for containerPort validation
- Improve status badge handling for empty/unknown status
- Update PortForwardList to use distinct handleDeletePortForward handler
2026-06-06 13:01:35 -05:00
Shaun Arman
aefe935de5 fix: address PR review findings
Some checks failed
PR Review Automation / review (pull_request) Successful in 2m58s
Test / frontend-typecheck (pull_request) Successful in 1m49s
Test / frontend-tests (pull_request) Successful in 1m43s
Test / rust-fmt-check (pull_request) Has been cancelled
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
- Add separate onDelete handler for PortForwardList (Stop vs Delete actions)
- Add namespace validation in PortForwardForm (required field)
- Update KubernetesPage to pass onDelete handler to PortForwardList
2026-06-06 12:55:23 -05:00
Shaun Arman
f5fb9bd0e2 feat(kube): add Kubernetes management GUI components
- Add ClusterList, PortForwardList, AddClusterModal, PortForwardForm components
- Add KubernetesPage component with cluster and port forward management
- Add TypeScript types for Kubernetes management (ClusterInfo, PortForwardRequest, PortForwardResponse)
- Add 6 IPC commands to tauriCommands.ts for cluster and port forward management
- Write unit tests for Kubernetes IPC commands (6 tests)
- All 308 Rust tests passing
- All 98 frontend tests passing
- TypeScript type check passing
- Project builds successfully
2026-06-06 12:55:14 -05:00
gitea-actions[bot]
94d88d25dc chore: update CHANGELOG.md for v1.1.0 [skip ci] 2026-06-06 17:30:26 +00:00
65b15d9d77 Merge pull request 'feature/kubernetes-management' (#70) from feature/kubernetes-management into master
All checks were successful
Auto Tag / autotag (push) Successful in 5s
Auto Tag / wiki-sync (push) Successful in 7s
Test / frontend-tests (push) Successful in 1m27s
Test / frontend-typecheck (push) Successful in 1m33s
Auto Tag / changelog (push) Successful in 1m43s
Auto Tag / build-linux-amd64 (push) Successful in 9m31s
Auto Tag / build-windows-amd64 (push) Successful in 11m21s
Auto Tag / build-linux-arm64 (push) Successful in 11m19s
Test / rust-fmt-check (push) Successful in 14m38s
Test / rust-clippy (push) Successful in 16m14s
Test / rust-tests (push) Successful in 18m23s
Auto Tag / build-macos-arm64 (push) Successful in 18m1s
Reviewed-on: #70
2026-06-06 17:28:28 +00:00
Shaun Arman
f88cc68fb9 Merge branch 'master' into feature/kubernetes-management
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m22s
Test / frontend-typecheck (pull_request) Successful in 1m31s
PR Review Automation / review (pull_request) Successful in 3m18s
Test / rust-fmt-check (pull_request) Successful in 10m28s
Test / rust-clippy (pull_request) Successful in 12m7s
Test / rust-tests (pull_request) Successful in 13m50s
2026-06-06 12:08:18 -05:00
Shaun Arman
1a07a1bac4 fix(fmt): format code with cargo fmt 2026-06-06 12:04:21 -05:00
Shaun Arman
6cb5b58cc9 fix(workflow): remove duplicate else block in changelog generation 2026-06-06 12:01:55 -05:00
Shaun Arman
50cd8b356e fix(changelog): only include current tag commits in release body
- Update workflow to use --tag for generating release body
- This ensures CHANGELOG.md only shows commits since last tag
2026-06-06 11:56:06 -05:00
gitea-actions[bot]
6b5828888b chore: update CHANGELOG.md for v1.1.0 [skip ci] 2026-06-06 16:47:14 +00:00
Shaun Arman
bbd235f750 fix(lint): resolve ESLint errors
Some checks failed
Auto Tag / autotag (push) Successful in 8s
Auto Tag / wiki-sync (push) Successful in 9s
Test / frontend-tests (push) Successful in 1m42s
Test / frontend-typecheck (push) Successful in 1m54s
Auto Tag / changelog (push) Successful in 1m56s
Auto Tag / build-macos-arm64 (push) Successful in 3m3s
Auto Tag / build-linux-amd64 (push) Successful in 9m37s
Auto Tag / build-windows-amd64 (push) Successful in 11m16s
Auto Tag / build-linux-arm64 (push) Successful in 11m41s
Test / rust-fmt-check (push) Failing after 15m46s
Test / rust-clippy (push) Successful in 17m15s
Test / rust-tests (push) Successful in 18m57s
- Add eslint-disable comment for unused handlePaste in LogUpload
- Fix unused 'get' parameter in attachmentStore.ts
- Fix ESLint setup.ts parsing error by adding it to test files config
2026-06-06 11:44:40 -05:00
gitea-actions[bot]
69eec182f2 chore: update CHANGELOG.md for v1.1.0 [skip ci] 2026-06-06 16:43:28 +00:00
Shaun Arman
b96ede35cd feat(kube): add Kubernetes management support
Some checks failed
Auto Tag / autotag (push) Successful in 7s
Auto Tag / wiki-sync (push) Successful in 8s
Test / frontend-tests (push) Successful in 1m31s
Test / frontend-typecheck (push) Successful in 1m39s
Auto Tag / changelog (push) Successful in 1m47s
Auto Tag / build-macos-arm64 (push) Successful in 2m52s
Auto Tag / build-linux-amd64 (push) Has been cancelled
Auto Tag / build-linux-arm64 (push) Has been cancelled
Auto Tag / build-windows-amd64 (push) Has been cancelled
Test / rust-fmt-check (push) Has been cancelled
Test / rust-clippy (push) Has been cancelled
Test / rust-tests (push) Has been cancelled
- Bump version to 1.1.0
- Add kube module with ClusterClient, PortForwardSession, RefreshRegistry
- Add Tauri IPC commands: add_cluster, remove_cluster, list_clusters
- Add Tauri IPC commands: start_port_forward, stop_port_forward, list_port_forwards
- Update AppState with clusters, port_forwards, refresh_registry fields
- Update auto-tag.yml to mark releases as draft (pre-release)
- Add Buy Me A Coffee section to README
- Add serde_yaml dependency for kubeconfig parsing
2026-06-06 11:41:23 -05:00
gitea-actions[bot]
170990ec00 chore: update CHANGELOG.md for v1.0.8 [skip ci] 2026-06-06 03:22:51 +00:00
cd703e2d29 Merge pull request 'feat: full copy from apollo_nxt-trcaa with complete sanitization' (#69) from feature/full-copy-from-trcaa into master
Some checks failed
Auto Tag / autotag (push) Successful in 5s
Auto Tag / wiki-sync (push) Successful in 8s
Build CI Docker Images / linux-amd64 (push) Successful in 9s
Build CI Docker Images / linux-arm64 (push) Successful in 13s
Test / frontend-tests (push) Successful in 1m16s
Test / frontend-typecheck (push) Successful in 1m28s
Build CI Docker Images / windows-cross (push) Successful in 1m41s
Auto Tag / changelog (push) Successful in 1m47s
Auto Tag / build-linux-amd64 (push) Successful in 9m21s
Auto Tag / build-macos-arm64 (push) Successful in 12m23s
Auto Tag / build-windows-amd64 (push) Successful in 11m18s
Auto Tag / build-linux-arm64 (push) Successful in 10m39s
Test / rust-fmt-check (push) Successful in 15m7s
Test / rust-clippy (push) Successful in 16m47s
Test / rust-tests (push) Successful in 18m24s
Renovate / renovate (push) Failing after 12s
Reviewed-on: #69
2026-06-06 03:19:26 +00:00
Shaun Arman
8af6c0e155 Merge master into feature/full-copy-from-trcaa - resolve conflicts
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m22s
Test / frontend-typecheck (pull_request) Successful in 1m29s
PR Review Automation / review (pull_request) Successful in 4m18s
Test / rust-fmt-check (pull_request) Successful in 10m47s
Test / rust-clippy (pull_request) Successful in 12m19s
Test / rust-tests (pull_request) Successful in 14m1s
2026-06-05 19:43:15 -05:00
Shaun Arman
0bd2376035 Merge branch 'master' of https://gogs.tftsr.com/sarman/tftsr-devops_investigation 2026-06-05 19:42:45 -05:00
Shaun Arman
2b82c28809 fix(clippy): fix Rust nightly clippy lints
All checks were successful
Test / frontend-typecheck (pull_request) Successful in 1m29s
Test / frontend-tests (pull_request) Successful in 1m25s
PR Review Automation / review (pull_request) Successful in 4m21s
Test / rust-fmt-check (pull_request) Successful in 12m9s
Test / rust-clippy (pull_request) Successful in 13m40s
Test / rust-tests (pull_request) Successful in 15m17s
Fix two new lints enforced by Rust nightly:

**1. clippy::useless_borrows_in_formatting (auth.rs:57)**
- Changed: `&pkce.code_challenge` → `pkce.code_challenge`
- format!() automatically borrows, explicit & is redundant

**2. clippy::unnecessary_sort_by (confluence_search.rs:131)**
- Changed: `sort_by(|a, b| f(a).cmp(&f(b)))` → `sort_by_key(|a| f(a))`
- sort_by_key is more idiomatic and efficient (computes key once per element)

**Why Nightly Enforces This:**
Rust nightly has stricter clippy lints than stable.
These weren't errors in stable rust but are caught in nightly.

**Verified:**
 cargo clippy passes (0 warnings)
 cargo test passes (308 tests)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-05 17:35:09 -05:00
Shaun Arman
7d433fe9c4 fix(ci): remove kubectl from externalBin to fix CI build
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m27s
Test / frontend-typecheck (pull_request) Successful in 1m36s
PR Review Automation / review (pull_request) Successful in 3m39s
Test / rust-fmt-check (pull_request) Successful in 10m53s
Test / rust-tests (pull_request) Successful in 14m0s
Test / rust-clippy (pull_request) Failing after 12m19s
**Problem:**
CI fails with: 'resource path binaries/kubectl-x86_64-unknown-linux-gnu doesn't exist'
The kubectl binary is configured in externalBin but binaries aren't downloaded in CI.

**Solution:**
Set externalBin: [] (empty array) in tauri.conf.json.
kubectl bundling is a production-build feature that requires running
scripts/download-kubectl.sh first. For CI testing, we don't need it bundled.

**Why This Works:**
- Local dev: kubectl resolved from PATH via shell/kubectl.rs::locate_kubectl()
- CI tests: Same - uses system kubectl if available, tests pass without binary
- Production builds: Can re-enable externalBin after running download script

**Verified:**
 cargo check passes
 cargo clippy passes (0 warnings)
 cargo test passes (308 tests)
 All frontend tests pass (92 tests)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-05 17:01:18 -05:00