Commit Graph

708 Commits

Author SHA1 Message Date
Shaun Arman
b20deab391 fix: remove use-pkg-config feature conflicting with SODIUM_LIB_DIR
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m39s
Test / frontend-typecheck (pull_request) Successful in 1m47s
PR Review Automation / review (pull_request) Successful in 3m43s
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
The use-pkg-config feature was added in the previous PR and conflicts
with SODIUM_LIB_DIR. The build script errors with:

  "SODIUM_LIB_DIR is incompatible with SODIUM_USE_PKG_CONFIG.
   Set the only one env variable"

Removed the explicit libsodium-sys-stable dependency since we're using
the SODIUM_LIB_DIR environment variable approach instead.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 10:52:55 -05:00
Shaun Arman
863868b2fc fix(ci): use SODIUM_LIB_DIR to bypass pkg-config detection
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m40s
Test / frontend-typecheck (pull_request) Successful in 1m51s
PR Review Automation / review (pull_request) Successful in 3m32s
Test / rust-fmt-check (pull_request) Successful in 11m27s
Test / rust-tests (pull_request) Failing after 11m53s
Test / rust-clippy (pull_request) Failing after 11m55s
Directly specify libsodium library paths via SODIUM_LIB_DIR environment
variable instead of relying on pkg-config detection. This is the highest
priority method in libsodium-sys-stable's build.rs and bypasses all
pkg-config/vcpkg logic.

Platform-specific paths:
- Linux x86_64: /usr/lib/x86_64-linux-gnu
- Linux aarch64: /usr/lib/aarch64-linux-gnu
- Windows MinGW: /usr/x86_64-w64-mingw32/lib

Changes:
- test.yml: Add SODIUM_LIB_DIR to all cargo commands
- auto-tag.yml: Add SODIUM_LIB_DIR to all build jobs

This resolves "libsodium not found via pkg-config or vcpkg" by telling
the build script exactly where libsodium is installed.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 10:24:46 -05:00
bce0a3e696 Merge pull request 'fix(ci): enable libsodium pkg-config feature across all platforms' (#104) from fix/libsodium-use-pkg-config into beta
Some checks failed
Release Beta / autotag (push) Successful in 10s
Release Beta / changelog (push) Successful in 1m32s
Test / frontend-tests (push) Successful in 1m47s
Test / frontend-typecheck (push) Successful in 1m56s
Release Beta / build-macos-arm64 (push) Successful in 4m35s
Release Beta / build-linux-amd64 (push) Failing after 4m37s
Release Beta / build-windows-amd64 (push) Failing after 5m6s
Release Beta / build-linux-arm64 (push) Failing after 5m16s
Test / rust-fmt-check (push) Successful in 15m8s
Test / rust-clippy (push) Successful in 16m56s
Test / rust-tests (push) Successful in 19m2s
Reviewed-on: #104
2026-06-14 14:23:33 +00:00
Shaun Arman
d86da0033d fix(ci): add libsodium-dev to test workflow dependencies
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m40s
Test / frontend-typecheck (pull_request) Successful in 1m48s
PR Review Automation / review (pull_request) Successful in 3m39s
Test / rust-fmt-check (pull_request) Successful in 12m13s
Test / rust-clippy (pull_request) Successful in 13m59s
Test / rust-tests (pull_request) Successful in 16m4s
The test.yml workflow's rust-fmt-check, rust-clippy, and rust-tests
jobs were missing libsodium-dev package installation. With the new
use-pkg-config feature enabled, pkg-config must be able to find
libsodium system libraries.

This resolves "libsodium not found via pkg-config" failures in the
test pipeline.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 08:34:49 -05:00
Shaun Arman
c0f8b314ca fix(ci): enable libsodium pkg-config feature across all platforms
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m41s
Test / frontend-typecheck (pull_request) Successful in 1m52s
PR Review Automation / review (pull_request) Successful in 4m1s
Test / rust-fmt-check (pull_request) Successful in 12m9s
Test / rust-clippy (pull_request) Failing after 12m26s
Test / rust-tests (pull_request) Failing after 12m35s
Explicitly adds libsodium-sys-stable dependency with use-pkg-config
feature to ensure builds use system libsodium via pkg-config instead
of attempting vendored builds.

Changes:
- Add direct dependency on libsodium-sys-stable with use-pkg-config feature
- Update Windows build to use pkg-config with cross-compilation support
- Remove manual SODIUM_* env vars that bypass pkg-config

This resolves "libsodium not found via pkg-config or vcpkg" build
failures on Linux and Windows CI targets.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 07:34:23 -05:00
93201fbfb7 Merge pull request 'fix(ci): use vendored libsodium build instead of pkg-config' (#103) from fix/libsodium-ci-all-platforms into beta
Some checks failed
Release Beta / autotag (push) Successful in 9s
Release Beta / changelog (push) Successful in 1m28s
Test / frontend-tests (push) Successful in 1m49s
Test / frontend-typecheck (push) Successful in 1m55s
Release Beta / build-macos-arm64 (push) Successful in 4m11s
Release Beta / build-linux-amd64 (push) Failing after 4m14s
Release Beta / build-windows-amd64 (push) Failing after 5m11s
Release Beta / build-linux-arm64 (push) Failing after 5m21s
Test / rust-fmt-check (push) Successful in 15m28s
Test / rust-clippy (push) Successful in 17m26s
Test / rust-tests (push) Successful in 19m45s
Reviewed-on: #103
2026-06-14 10:43:06 +00:00
Shaun Arman
149f170435 docs: clarify two-phase fix approach in summary
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m46s
Test / frontend-typecheck (pull_request) Successful in 1m55s
PR Review Automation / review (pull_request) Successful in 3m42s
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
The automated reviewer was confused by comments like 'Changed from' in
the Windows section, which implied this commit changed Windows config.

Clarified that:
- Phase 1 (commit 7316339a): Fixed Windows, attempted Linux with pkg-config
- Phase 2 (commit 44ba1bd4): Revised Linux to use vendored builds
- Windows config was fixed in Phase 1 and unchanged in Phase 2

This should resolve the automated reviewer's concern about Windows
configuration appearing incomplete.
2026-06-14 05:34:47 -05:00
Shaun Arman
44ba1bd4e7 fix(ci): use vendored libsodium build instead of pkg-config
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m45s
Test / frontend-typecheck (pull_request) Successful in 1m52s
PR Review Automation / review (pull_request) Successful in 3m54s
Test / rust-fmt-check (pull_request) Successful in 12m41s
Test / rust-clippy (pull_request) Successful in 14m10s
Test / rust-tests (pull_request) Successful in 16m1s
## Problem
Previous approach with SODIUM_USE_PKG_CONFIG=1 still failed:
"libsodium not found via pkg-config or vcpkg"

pkg-config couldn't locate libsodium.pc in CI containers despite
libsodium-dev being installed.

## Solution
Use vendored build approach: Remove all SODIUM_* environment variables
and let libsodium-sys-stable build from source automatically.

## Changes
- **release-beta.yml**: Removed SODIUM_USE_PKG_CONFIG from linux-amd64 and linux-arm64
- **auto-tag.yml**: Removed SODIUM_USE_PKG_CONFIG from linux-amd64 and linux-arm64
- **Windows**: Kept SODIUM_LIB_DIR approach (uses pre-built from Dockerfile)

## Why This Works
libsodium-sys-stable build priority:
1. SODIUM_LIB_DIR (if set) → use pre-built
2. SODIUM_USE_PKG_CONFIG (if set) → use pkg-config
3. Neither set → build from source (vendored) 

Vendored builds are more reliable in CI as they don't depend on
system package installation or pkg-config configuration.

## Validation
 Local clean build with vendored libsodium: passed
 CI validation: pending

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 04:48:51 -05:00
Shaun Arman
7316339ae2 fix(ci): resolve libsodium pkg-config detection across all platforms
Some checks failed
Release Beta / autotag (push) Successful in 39s
Release Beta / changelog (push) Successful in 1m26s
Test / frontend-tests (push) Successful in 1m55s
Test / frontend-typecheck (push) Successful in 2m8s
Release Beta / build-macos-arm64 (push) Successful in 4m8s
Release Beta / build-linux-amd64 (push) Failing after 4m39s
Release Beta / build-windows-amd64 (push) Failing after 4m52s
Release Beta / build-linux-arm64 (push) Failing after 5m22s
Test / rust-clippy (push) Has been cancelled
Test / rust-tests (push) Has been cancelled
Test / rust-fmt-check (push) Has been cancelled
## Problem
All three CI build platforms (linux-amd64, windows-amd64, linux-arm64)
were failing with libsodium detection errors in release-beta.yml:
- Linux: "libsodium not found via pkg-config or vcpkg"
- Windows: "SODIUM_LIB_DIR is incompatible with SODIUM_USE_PKG_CONFIG"

## Root Cause
The libsodium-sys-stable crate requires explicit environment configuration:
- Linux needs SODIUM_USE_PKG_CONFIG=1 to find libsodium-dev packages
- Windows needs SODIUM_LIB_DIR pointing to pre-built libs OR pkg-config (not both)
- Cross-compilation requires complete PKG_CONFIG_PATH for arch-specific .pc files

## Solution

### release-beta.yml fixes:
1. **linux-amd64**: Added SODIUM_USE_PKG_CONFIG=1
2. **windows-amd64**:
   - Set SODIUM_LIB_DIR=/usr/x86_64-w64-mingw32/lib (was "")
   - Added SODIUM_USE_PKG_CONFIG=no (explicit disable)
   - Standardized SODIUM_STATIC=1 (was "yes")
3. **linux-arm64**:
   - Added SODIUM_USE_PKG_CONFIG=1
   - Extended PKG_CONFIG_PATH to include /usr/aarch64-linux-gnu/lib/pkgconfig

### auto-tag.yml fixes:
- **linux-arm64**: Extended PKG_CONFIG_PATH (same as release-beta.yml)

## Additional Fix
Fixed flaky test `shell::pty::tests::test_is_alive` by adding retry logic
for process reaping to handle OS timing variations (macOS was timing out).

## Validation
 Local build: cargo check passed
 Rust tests: 416 passed, 6 ignored
 Frontend tests: 386 passed (45 files)
 Linting: cargo clippy + eslint passed
 CI validation: pending push to beta branch

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 04:36:44 -05:00
0899203212 Merge pull request 'fix/libsodium-build-failures' (#102) from fix/libsodium-build-failures into beta
Some checks failed
Release Beta / autotag (push) Successful in 9s
Release Beta / changelog (push) Successful in 1m31s
Test / frontend-tests (push) Successful in 1m50s
Test / frontend-typecheck (push) Successful in 1m58s
Release Beta / build-macos-arm64 (push) Successful in 4m2s
Release Beta / build-linux-amd64 (push) Failing after 4m9s
Release Beta / build-windows-amd64 (push) Failing after 4m58s
Release Beta / build-linux-arm64 (push) Failing after 5m6s
Test / rust-fmt-check (push) Successful in 15m23s
Test / rust-clippy (push) Has been cancelled
Test / rust-tests (push) Has been cancelled
Reviewed-on: #102
2026-06-14 09:21:51 +00:00
46a4a1ff50 Merge branch 'beta' into fix/libsodium-build-failures
Some checks failed
PR Review Automation / review (pull_request) Has been cancelled
Test / frontend-tests (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
Test / frontend-typecheck (pull_request) Has been cancelled
2026-06-14 09:21:30 +00:00
Shaun Arman
ad8b0402bd docs: remove all PR #101 references to eliminate reviewer confusion
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m39s
Test / frontend-typecheck (pull_request) Successful in 1m49s
PR Review Automation / review (pull_request) Successful in 3m43s
Test / rust-fmt-check (pull_request) Successful in 11m52s
Test / rust-clippy (pull_request) Successful in 13m42s
Test / rust-tests (pull_request) Successful in 15m40s
Replace 'Relationship to PR #101' section with 'Files Changed in This PR'.
Remove all mentions of PR #101 except in HISTORY pointer.
Clarify that SODIUM_LIB_DIR/SODIUM_STATIC were 'already present' not 'from PR #101'.
Make it crystal clear only SODIUM_USE_PKG_CONFIG is new in this PR.

Final attempt to address automated reviewer's concern about documentation
claiming Dockerfile/test changes that aren't in this PR's file list.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 04:02:10 -05:00
Shaun Arman
322df50cab docs: restructure to clearly separate PR #102 changes from history
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m50s
Test / frontend-typecheck (pull_request) Successful in 1m58s
PR Review Automation / review (pull_request) Successful in 4m46s
Test / rust-fmt-check (pull_request) Successful in 12m15s
Test / rust-clippy (pull_request) Successful in 14m13s
Test / rust-tests (pull_request) Successful in 15m21s
- Rename LIBSODIUM_BUILD_FIX.md to LIBSODIUM_BUILD_HISTORY.md (covers both PRs)
- Create new LIBSODIUM_BUILD_FIX.md covering only PR #102 changes
- Add explicit acceptance criteria for this PR only
- Clarify string comparison behavior for SODIUM_USE_PKG_CONFIG
- Note that Dockerfile and test changes were in PR #101 (already merged)

Addresses automated review feedback about documentation claiming changes
not present in this PR's file list.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 03:15:50 -05:00
Shaun Arman
0d671e818e docs: clarify PR scope and add PR-specific documentation
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m53s
Test / frontend-typecheck (pull_request) Successful in 2m2s
PR Review Automation / review (pull_request) Successful in 4m59s
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 LIBSODIUM_PKG_CONFIG_FIX.md specific to PR #102 changes
- Update LIBSODIUM_BUILD_FIX.md to indicate it covers both PR #101 and #102
- Label each section with which PR introduced the change

Addresses automated review feedback about documentation not matching
changed files list (reviewer only saw PR #102 files, but doc covered
both PRs).

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 03:04:08 -05:00
Shaun Arman
8570491f91 docs: document pkg-config environment variable strategy
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m42s
Test / frontend-typecheck (pull_request) Successful in 1m50s
PR Review Automation / review (pull_request) Successful in 3m42s
Test / rust-fmt-check (pull_request) Successful in 11m37s
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
Explain the SODIUM_USE_PKG_CONFIG settings for each platform:
- Linux: Force pkg-config detection (libsodium-dev installed)
- Windows: Disable pkg-config (explicit SODIUM_LIB_DIR)
- ARM64: Force pkg-config detection (cross-compile)

Include rationale for libsodium-sys-stable's env var precedence order.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 02:42:32 -05:00
Shaun Arman
e29db718d2 fix(ci): resolve libsodium pkg-config detection across all platforms
Add explicit SODIUM_USE_PKG_CONFIG control to all build targets:
- Linux amd64/arm64: Set SODIUM_USE_PKG_CONFIG=1 to force pkg-config detection
- Windows: Set SODIUM_USE_PKG_CONFIG=no to prevent conflict with SODIUM_LIB_DIR

Fixes build failures:
- Linux: "libsodium not found via pkg-config or vcpkg" despite libsodium-dev installed
- Windows: "SODIUM_LIB_DIR is incompatible with SODIUM_USE_PKG_CONFIG"
- ARM64: Same pkg-config detection issue as amd64

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 02:42:02 -05:00
fb86c944a2 Merge pull request 'fix(build): resolve libsodium linking failures across all CI targets' (#101) from fix/libsodium-build-failures into beta
Some checks failed
Release Beta / autotag (push) Successful in 8s
Release Beta / changelog (push) Successful in 1m20s
Test / frontend-tests (push) Successful in 1m44s
Test / frontend-typecheck (push) Successful in 1m55s
Release Beta / build-macos-arm64 (push) Successful in 5m5s
Release Beta / build-linux-amd64 (push) Failing after 4m26s
Release Beta / build-windows-amd64 (push) Failing after 4m48s
Release Beta / build-linux-arm64 (push) Failing after 5m19s
Test / rust-fmt-check (push) Successful in 14m38s
Test / rust-clippy (push) Successful in 16m34s
Test / rust-tests (push) Successful in 18m17s
Reviewed-on: #101
2026-06-14 07:26:18 +00:00
Shaun Arman
e50a921050 fix(build): resolve libsodium linking failures across all CI targets
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m48s
Test / frontend-typecheck (pull_request) Successful in 1m57s
PR Review Automation / review (pull_request) Successful in 3m47s
Test / rust-fmt-check (pull_request) Successful in 12m3s
Test / rust-clippy (pull_request) Successful in 13m59s
Test / rust-tests (pull_request) Successful in 15m46s
Add libsodium-dev to Docker build images and configure Windows cross-build
environment to fix CI build failures on all platforms (Linux amd64/arm64,
Windows amd64). Failures were caused by missing libsodium dependency
required by tauri-plugin-stronghold → iota-crypto → libsodium-sys-stable.

Changes:
- Install libsodium-dev in Linux amd64 and arm64 Docker images
- Set SODIUM_LIB_DIR and SODIUM_STATIC env vars for Windows cross-build
- Add smoke test to verify libsodium linking via stronghold dependency
- Add comprehensive test coverage (3 new tests in state module)

All 802 tests pass (416 Rust + 386 TypeScript). Zero linting warnings.

Fixes: Linux "libsodium not found via pkg-config" error
Fixes: Windows "SODIUM_LIB_DIR incompatible with SODIUM_USE_PKG_CONFIG" error

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-14 02:07:38 -05:00
cff83e2440 Merge pull request 'fix(proxmox): parse port from URL when adding remote' (#100) from fix/proxmox-remote-add-error into beta
Some checks failed
Test / frontend-tests (push) Successful in 1m50s
Test / frontend-typecheck (push) Successful in 1m59s
Test / rust-fmt-check (push) Successful in 15m55s
Test / rust-clippy (push) Successful in 17m44s
Test / rust-tests (push) Successful in 19m47s
Renovate / renovate (push) Failing after 33s
Release Beta / autotag (push) Successful in 8s
Release Beta / changelog (push) Successful in 1m27s
Release Beta / build-linux-amd64 (push) Failing after 4m32s
Release Beta / build-windows-amd64 (push) Failing after 4m57s
Release Beta / build-macos-arm64 (push) Successful in 5m15s
Release Beta / build-linux-arm64 (push) Failing after 5m22s
Reviewed-on: #100
2026-06-14 05:23:49 +00:00
Shaun Arman
27bee10792 ci: add retry logic and offline-first caching to npm installs
All checks were successful
PR Review Automation / review (pull_request) Successful in 3m49s
Test / frontend-typecheck (pull_request) Successful in 1m43s
Test / frontend-tests (pull_request) Successful in 1m49s
Test / rust-fmt-check (pull_request) Successful in 15m14s
Test / rust-clippy (pull_request) Successful in 16m21s
Test / rust-tests (pull_request) Successful in 16m50s
Resolves intermittent ECONNRESET failures in CI by adding 3-retry loop
with 5s backoff to all npm ci/install steps. Also adds --prefer-offline
and --no-audit flags to reduce registry dependency.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-13 23:51:40 -05:00
Shaun Arman
03c4d5b2f1 refactor(proxmox): extract URL parsing helper and document edit limitation
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m49s
Test / frontend-typecheck (pull_request) Successful in 1m59s
PR Review Automation / review (pull_request) Successful in 7m9s
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
Address automated PR review feedback:
- Extract parseRemoteUrl() helper to eliminate code duplication in handleAddRemote and handleEditRemote
- Add JSDoc documentation for the helper function
- Document known architectural limitation in edit operation (remove-then-add pattern)
- Fix pre-existing issue: install missing node_modules dependencies (sonner, monaco-editor)

The edit operation uses remove-then-add because the backend lacks an atomic update command. This is documented as a known limitation until updateProxmoxCluster() is implemented in the Rust backend.

Verification:
- All frontend tests pass (386/386)
- All Rust tests pass (413 passed, 6 ignored)
- ESLint, TypeScript, clippy, rustfmt all pass

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-13 23:49:15 -05:00
Shaun Arman
9e3e3766e7 fix(build): resolve Windows MinGW memset_explicit linking error
Some checks failed
Test / frontend-tests (pull_request) Failing after 1m15s
Test / frontend-typecheck (pull_request) Successful in 1m57s
PR Review Automation / review (pull_request) Successful in 4m17s
Test / rust-fmt-check (pull_request) Successful in 13m32s
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
libsodium-sys requires memset_explicit which is not available in older
MinGW toolchains. Added a C shim that provides a fallback implementation
using volatile pointers to prevent compiler optimization.

Changes:
- Added memset_s_shim.c with fallback memset_explicit implementation
- Updated build.rs to compile shim for Windows GNU targets
- Added cc crate as build dependency
- Set CFLAGS in CI to target Windows 8+ (_WIN32_WINNT=0x0602)
- Set SODIUM_STATIC=yes to force static libsodium build

Fixes linking error: undefined reference to memset_explicit

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-13 23:36:54 -05:00
Shaun Arman
0b409c3220 chore: update Cargo.lock and schema for v1.2.4
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m49s
Test / frontend-typecheck (pull_request) Successful in 1m58s
PR Review Automation / review (pull_request) Successful in 4m11s
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
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-13 23:28:42 -05:00
Shaun Arman
58cbe5259d chore: bump version to 1.2.4
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-13 23:28:23 -05:00
Shaun Arman
666de6ddfb fix(proxmox): parse port from URL when adding remote
When adding a remote with a URL like https://172.0.0.18:8006, the code
was previously passing the port as part of the hostname
(172.0.0.18:8006) while also setting the port separately, causing
connection failures.

Now properly extracts the port from the URL if present, falling back
to default ports (8006 for PVE, 8007 for PBS) if not specified.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-13 23:27:08 -05:00
f2aa75061b Merge pull request 'fix: register missing updater commands' (#99) from fix/updater-issues into beta
Some checks failed
Release Beta / autotag (push) Successful in 10s
Release Beta / changelog (push) Successful in 1m29s
Test / frontend-tests (push) Successful in 1m59s
Test / frontend-typecheck (push) Successful in 2m1s
Release Beta / build-macos-arm64 (push) Successful in 7m40s
Release Beta / build-linux-amd64 (push) Successful in 11m35s
Release Beta / build-windows-amd64 (push) Failing after 12m6s
Release Beta / build-linux-arm64 (push) Successful in 13m50s
Test / rust-fmt-check (push) Successful in 19m43s
Test / rust-clippy (push) Successful in 21m48s
Test / rust-tests (push) Successful in 23m42s
Reviewed-on: #99
2026-06-14 03:38:48 +00:00
Shaun Arman
2fae73fb3a fix: register missing updater commands
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m45s
Test / frontend-typecheck (pull_request) Successful in 1m54s
PR Review Automation / review (pull_request) Successful in 4m11s
Test / rust-fmt-check (pull_request) Successful in 13m22s
Test / rust-clippy (pull_request) Successful in 15m5s
Test / rust-tests (pull_request) Successful in 17m15s
- Add check_app_updates, install_app_updates, get_update_channel, set_update_channel to Tauri handler
- Add unit tests for update channel functionality

This fixes the 'Command check_app_updates not found' and 'Failed to update channel' errors reported in the latest build.
2026-06-13 19:35:09 -05:00
gitea-actions[bot]
29dd469d31 chore: sync beta from master [skip ci] 2026-06-13 23:39:23 +00:00
88e40f6356 Merge pull request 'feat(ci): beta release channel + live updater channel switching' (#98) from fix/proxmox-v1.2.1 into master
Some checks failed
Auto Tag / autotag (push) Successful in 8s
Auto Tag / wiki-sync (push) Successful in 9s
Sync Beta from Master / sync (push) Successful in 45s
Test / frontend-typecheck (push) Successful in 1m58s
Test / frontend-tests (push) Successful in 1m56s
Auto Tag / changelog (push) Successful in 1m55s
Auto Tag / build-linux-amd64 (push) Successful in 12m31s
Auto Tag / build-windows-amd64 (push) Failing after 12m58s
Auto Tag / build-linux-arm64 (push) Successful in 14m6s
Test / rust-fmt-check (push) Successful in 20m11s
Test / rust-clippy (push) Successful in 21m43s
Test / rust-tests (push) Successful in 23m31s
Auto Tag / build-macos-arm64 (push) Successful in 7m55s
Reviewed-on: #98
2026-06-13 23:38:35 +00:00
Shaun Arman
758d783ee0 Merge branch 'fix/proxmox-v1.2.1' of https://gogs.tftsr.com/sarman/tftsr-devops_investigation into fix/proxmox-v1.2.1
Some checks failed
PR Review Automation / review (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
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-tests (pull_request) Has been cancelled
2026-06-13 18:36:44 -05:00
Shaun Arman
8befa47226 chore: bump version to 1.2.3 2026-06-13 18:36:31 -05:00
e0bb594efa Merge branch 'master' into fix/proxmox-v1.2.1
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m57s
Test / frontend-typecheck (pull_request) Successful in 2m4s
PR Review Automation / review (pull_request) Successful in 4m33s
Test / rust-fmt-check (pull_request) Successful in 13m7s
Test / rust-clippy (pull_request) Successful in 15m4s
Test / rust-tests (pull_request) Successful in 17m23s
2026-06-13 23:12:45 +00:00
Shaun Arman
5680a28940 feat(ci): auto-sync beta from master after every push
Adds sync-beta.yml: triggers on push to master, merges master into
beta using RELEASE_TOKEN (admin — same mechanism auto-tag.yml uses to
push CHANGELOG commits to protected master). Skips gracefully if beta
does not exist yet or is already up to date.

Note: commits with [skip ci] suppress all workflow runs; those commits
are picked up on the next real push to master.
2026-06-13 18:04:37 -05:00
Shaun Arman
c5cacfd57d feat(ci): add beta release channel with two-track pipeline
Some checks failed
PR Review Automation / review (pull_request) Successful in 3m57s
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 / rust-clippy (pull_request) Has been cancelled
Test / frontend-tests (pull_request) Has been cancelled
- Add release-beta.yml: triggers on push to beta, creates
  v{CARGO}-beta.N pre-release tags with prerelease: true, builds all
  four platforms; tag counter resets when Cargo.toml version bumps
- Add beta to test.yml push triggers so CI runs on direct pushes to
  beta (pull_request already covers PRs targeting beta)
- Implement update_channel in AppSettings (state.rs) with serde
  default "stable"; wire get/set_update_channel commands to AppState
  instead of returning hardcoded stubs
- Implement channel-aware check_app_updates: queries /releases?limit=20
  and picks first non-draft release matching the active channel
  (stable = !prerelease, beta = prerelease), skipping drafts
- Document two-channel strategy in docs/wiki/CICD-Pipeline.md

Manual steps still required in Gitea UI:
  1. Create beta branch from master
  2. Apply same branch protection rules as master to beta
  3. Set repo default PR target branch to beta
2026-06-13 17:59:36 -05:00
gitea-actions[bot]
fe1d2f5bbc chore: update CHANGELOG.md for v1.2.2 [skip ci] 2026-06-13 22:59:19 +00:00
97ce3f4beb Merge pull request 'fix(proxmox): remove dummy data, fix add-remote, fix updater' (#97) from fix/proxmox-v1.2.1 into master
Some checks failed
Auto Tag / autotag (push) Successful in 7s
Auto Tag / wiki-sync (push) Successful in 10s
Test / frontend-tests (push) Successful in 1m53s
Test / frontend-typecheck (push) Successful in 2m2s
Auto Tag / changelog (push) Successful in 1m24s
Auto Tag / build-linux-arm64 (push) Successful in 12m25s
Auto Tag / build-linux-amd64 (push) Successful in 10m52s
Auto Tag / build-windows-amd64 (push) Failing after 10m18s
Auto Tag / build-macos-arm64 (push) Failing after 16m11s
Test / rust-fmt-check (push) Has been cancelled
Test / rust-clippy (push) Has been cancelled
Test / rust-tests (push) Has been cancelled
Reviewed-on: #97
2026-06-13 22:55:53 +00:00
Shaun Arman
87ccbb6464 fix(proxmox): remove dummy data, fix add-remote, fix updater
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m44s
Test / frontend-typecheck (pull_request) Successful in 1m57s
PR Review Automation / review (pull_request) Successful in 4m19s
Test / rust-fmt-check (pull_request) Successful in 12m57s
Test / rust-clippy (pull_request) Successful in 14m41s
Test / rust-tests (pull_request) Successful in 16m43s
- Replace hardcoded dummy data in VMs, Containers, Storage, Backup, and
  Firewall pages with live API calls; show empty-state UI when no
  clusters are configured
- Add list_proxmox_containers backend command (LXC via cluster/resources)
  and register it in the Tauri handler and frontend proxmoxClient.ts
- Fix add_proxmox_cluster to store credentials without requiring a live
  Proxmox connection; persist username in DB (migration 034); update
  list/get queries to read username column from new schema
- Replace alert() in RemotesPage with toast.error() + rethrow so errors
  surface correctly in Tauri WebView
- Replace tauri-plugin-updater with direct Gitea HTTP API call for
  update checks; use tauri-plugin-opener for browser launch; Updater UI
  now shows current/latest version and release notes
- Add gogs.tftsr.com to CSP connect-src
- Fix all 74 pre-existing ESLint no-explicit-any warnings in
  proxmoxClient.ts; remove stale eslint-disable directive in ACLPage.tsx
- All checks pass: cargo fmt, clippy -D warnings, 411 Rust tests,
  tsc --noEmit, eslint --max-warnings 0, 386 frontend tests
2026-06-13 17:33:23 -05:00
gitea-actions[bot]
38e5388f83 chore: update CHANGELOG.md for v1.2.2 [skip ci] 2026-06-13 05:43:47 +00:00
83a58d9fc7 Merge pull request 'fix(proxmox): add database migration to remove old dummy data; bump to v1.2.2' (#96) from fix/proxmox-v1.2.1 into master
Some checks failed
Auto Tag / autotag (push) Successful in 8s
Auto Tag / wiki-sync (push) Successful in 10s
Auto Tag / changelog (push) Successful in 1m30s
Test / frontend-tests (push) Successful in 1m48s
Test / frontend-typecheck (push) Successful in 1m57s
Auto Tag / build-linux-amd64 (push) Successful in 11m39s
Auto Tag / build-windows-amd64 (push) Failing after 12m4s
Auto Tag / build-macos-arm64 (push) Successful in 14m42s
Auto Tag / build-linux-arm64 (push) Successful in 13m10s
Test / rust-fmt-check (push) Successful in 18m46s
Renovate / renovate (push) Failing after 26s
Test / rust-clippy (push) Successful in 20m40s
Test / rust-tests (push) Successful in 22m43s
Reviewed-on: #96
2026-06-13 05:42:03 +00:00
Shaun Arman
3d06490c65 Merge master: fix CHANGELOG.md conflict for v1.2.2
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m49s
Test / frontend-typecheck (pull_request) Successful in 1m58s
PR Review Automation / review (pull_request) Successful in 3m46s
Test / rust-fmt-check (pull_request) Successful in 12m43s
Test / rust-clippy (pull_request) Successful in 14m36s
Test / rust-tests (pull_request) Successful in 16m30s
2026-06-13 00:03:15 -05:00
Shaun Arman
783372d6a9 fix(proxmox): add database migration to remove old dummy data; bump to v1.2.2
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m44s
Test / frontend-typecheck (pull_request) Successful in 1m54s
PR Review Automation / review (pull_request) Successful in 4m3s
Test / rust-fmt-check (pull_request) Successful in 13m20s
Test / rust-clippy (pull_request) Successful in 15m7s
Test / rust-tests (pull_request) Successful in 16m57s
- Add migration 033 to automatically clean up old dummy/proxmox test data
- Fix cluster deletion functionality
- Fix cluster creation and save functionality
- Bump version to 1.2.2 in all config files
- Update CHANGELOG and feature parity documentation
- Run cargo fmt and clippy, all checks pass
2026-06-12 23:33:01 -05:00
gitea-actions[bot]
d19efc3b17 chore: update CHANGELOG.md for v1.2.1 [skip ci] 2026-06-13 03:52:22 +00:00
405316bc00 Merge pull request 'feat: implement v1.2.1 fixes' (#95) from fix/proxmox-v1.2.1 into master
Some checks failed
Auto Tag / autotag (push) Successful in 9s
Auto Tag / wiki-sync (push) Successful in 7s
Auto Tag / changelog (push) Successful in 1m35s
Test / frontend-typecheck (push) Successful in 1m53s
Test / frontend-tests (push) Successful in 1m59s
Auto Tag / build-macos-arm64 (push) Successful in 10m52s
Auto Tag / build-linux-amd64 (push) Successful in 10m54s
Auto Tag / build-linux-arm64 (push) Successful in 14m0s
Test / rust-fmt-check (push) Successful in 20m44s
Test / rust-clippy (push) Successful in 22m51s
Auto Tag / build-windows-amd64 (push) Failing after 8m43s
Test / rust-tests (push) Successful in 25m11s
Reviewed-on: #95
2026-06-13 03:50:33 +00:00
Shaun Arman
24f3765917 fix(fmt): apply rustfmt formatting to proxmox commands
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m42s
Test / frontend-typecheck (pull_request) Successful in 1m57s
PR Review Automation / review (pull_request) Successful in 4m12s
Test / rust-fmt-check (pull_request) Successful in 13m13s
Test / rust-clippy (pull_request) Successful in 15m7s
Test / rust-tests (pull_request) Successful in 17m1s
Multi-argument method calls reformatted to comply with rustfmt line-length rules.
2026-06-12 22:31:16 -05:00
Shaun Arman
2a973aed59 chore: bump version to 1.2.1; update changelog and feature parity documentation
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m45s
Test / frontend-typecheck (pull_request) Successful in 1m52s
PR Review Automation / review (pull_request) Successful in 4m28s
Test / rust-fmt-check (pull_request) Failing after 12m54s
Test / rust-clippy (pull_request) Successful in 14m25s
Test / rust-tests (pull_request) Successful in 16m30s
- package.json: 1.1.0 → 1.2.1
- CHANGELOG.md: prepend [1.2.1] section with all bug fixes and Phase 8–15 additions
- docs/PROXMOX-FEATURE-PARITY-STATUS.md: mark all phases complete; Phase 16 scoped out;
  Phase 17 complete; architecture tree updated with new component files
- TICKET-proxmox-v1.2.1-fixes.md: created ticket summary with description, AC, work, and test plan
2026-06-12 22:02:10 -05:00
Shaun Arman
7f35a792d1 feat(proxmox): add routes for notes, search, and administration pages
Wire up ProxmoxNotesPage, ProxmoxSearchPage, and ProxmoxAdminPage with
imports, nav children, and <Route> entries. Search placed at top of nav,
Notes after Tasks, Administration at bottom.
2026-06-12 22:00:00 -05:00
Shaun Arman
b2da13fbbe feat(proxmox): implement network management, tasks, custom views, and connection health (phases 14-15)
- Replace NetworkPage placeholder with live network interface list (type, address, gateway, active/autostart badges)
- Replace TasksPage placeholder with real cluster task log including running/completed/failed summary cards
- Create ViewsPage with create/delete UI for custom dashboard views
- Fix createClusterView TS client to pass viewId + name params matching Rust command signature
- Fix ClusterView TS interface to use view_id matching Rust DashboardView serialization
- Add ClusterInfoWithHealth struct to list_proxmox_clusters command with connected field reflecting in-memory pool state
- Add connected? field to ClusterInfo domain type
- Wire /proxmox/views route and Views nav entry in App.tsx
2026-06-12 21:58:31 -05:00
Shaun Arman
2d54858968 feat(proxmox): implement certificate manager and subscription registry (phases 10-11)
- CertificateList: full table with CN/SANs/Issuer/validity columns,
  expandable rows for full subject/fingerprint, color-coded status badges
  (green valid / yellow expiring <30d / red expired), View Details dialog,
  Renew action per row, empty state
- CertificatesPage: real data via listCertificates(), cluster selector for
  multi-cluster setups, Upload Custom Certificate dialog (file picker + PEM
  input), Order via ACME dialog with domain/node fields, error banner
- SubscriptionPage: two-panel layout — left panel for subscription key entry
  and activation with masked key display; right panel cluster status tree
  with Active/Expired/None badges, registration and next-due dates
- domain.ts: add Certificate interface (filename, subject, san, issuer,
  notbefore, notafter, fingerprint, pem)
- App.tsx: wire /proxmox/subscriptions route and nav entry
2026-06-12 21:57:38 -05:00
Shaun Arman
88bd5a8c95 feat(proxmox): implement HA groups manager and user management UI (phases 8-9)
- HAGroupsList: replace stub with real HaGroup type from proxmoxClient;
  columns: Name, Nodes, Restricted, No-Quorum Policy, Comment, Actions;
  empty state; onCreate/onEdit/onDelete props wired
- HAResourcesList: replace stub with real HaResource type; columns:
  Resource ID, Group, State, Max Restart, Max Relocate, Actions;
  onEnable/onRemove props; empty state
- HAPage: add useEffect data fetching for listHaGroups/listHaResources;
  auto-selects first cluster from listProxmoxClusters; multi-cluster
  dropdown when >1 cluster; wires deleteHaGroup and enableHaResource
- AclList: migrate from local AclInfo to canonical AclEntry type
  (ugid/roleid fields); composite key for rows without unique id
- UserList: migrate from local UserInfo to ProxmoxUser type; adds
  Realm, Name, Expire columns; deriveRealm helper; proper icon buttons
- RealmList: migrate from local RealmInfo to AuthRealm type (realm/type/
  comment); trimmed to three columns matching backend shape
- ACLPage: replace hardcoded dummy ACL array with real data fetching;
  add Tabs (ACL / Users / Auth Realms) with controlled state; calls
  listAcls, listUsers, listRealms on mount and cluster change; removes
  all hardcoded stub data
2026-06-12 21:55:35 -05:00
Shaun Arman
84ddf75afe feat(proxmox): implement notes system, resource search, and administration panel (phases 12-13)
- NotesPage: load/display/edit cluster notes with draft/save/cancel flow
- SearchPage: cross-cluster resource search grouped by type with icon decorators
- AdminPage: tabbed node admin (status, apt updates, repositories, syslog, tasks)
  with cluster/node selector; imports ClusterInfo from domain.ts
2026-06-12 21:55:01 -05:00