Commit Graph

1328 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 628838b6d4 test: add frontend tests for WebSocket tracking
Co-authored-by: Wikid82 <176516789+Wikid82@users.noreply.github.com>
2025-12-18 18:12:45 +00:00
copilot-swe-agent[bot] 8c4823edb6 feat: add WebSocket connection monitoring UI and documentation
Co-authored-by: Wikid82 <176516789+Wikid82@users.noreply.github.com>
2025-12-18 18:09:43 +00:00
copilot-swe-agent[bot] 854a940536 feat: add WebSocket connection tracking backend
Co-authored-by: Wikid82 <176516789+Wikid82@users.noreply.github.com>
2025-12-18 18:04:40 +00:00
Jeremy b44064e15d Merge branch 'feature/beta-release' into copilot/troubleshoot-websocket-issues 2025-12-18 13:01:56 -05:00
copilot-swe-agent[bot] c25e2d652d Initial plan 2025-12-18 17:56:24 +00:00
Jeremy 5d9cec288a Merge pull request #423 from Wikid82/development
Propagate changes from development into feature/beta-release
2025-12-17 19:47:43 -05:00
Jeremy abafd16fc8 Merge pull request #422 from Wikid82/renovate/npm-minorpatch
fix(deps): update dependency react-router-dom to ^7.11.0
2025-12-17 19:46:38 -05:00
renovate[bot] 062b595b11 fix(deps): update dependency react-router-dom to ^7.11.0 2025-12-18 00:34:28 +00:00
Jeremy ec19803750 Merge pull request #421 from Wikid82/feature/beta-release
feat: add SQLite database corruption guardrails
v0.12.0
2025-12-17 19:27:34 -05:00
Jeremy c2c503edc7 Merge pull request #420 from Wikid82/feature/beta-release
feat: add SQLite database corruption guardrails
2025-12-17 19:27:03 -05:00
GitHub Actions 193ba124c7 fix: correct extraction of expr-lang version from caddy_deps.txt 2025-12-18 00:17:12 +00:00
GitHub Actions ed7dc3f904 fix: update regex for expr-lang version check to ensure accurate vulnerability assessment 2025-12-18 00:05:31 +00:00
GitHub Actions 761d59c7e9 fix: add timeout to Caddy version verification step to prevent hangs 2025-12-17 23:58:40 +00:00
GitHub Actions bc23eb3800 fix: add timeout to integration tests to prevent CI hangs
- Add timeout-minutes: 5 to docker-build.yml integration test step
- Add set -o pipefail to integration-test.sh
- Add 4-minute timeout wrapper (INTEGRATION_TEST_TIMEOUT env var)

Resolves hang after Caddy TLS cleanup in GitHub Actions run #20319807650
2025-12-17 23:41:27 +00:00
GitHub Actions 76895a9674 fix: load Docker image for PR events to resolve CI failure 2025-12-17 22:52:56 +00:00
GitHub Actions cd7f192acd fix: use PR number instead of ref_name for Docker image tags
GitHub's github.ref_name returns "421/merge" for PR merge refs,
creating invalid Docker tags like "pr-421/merge". Docker tags
cannot contain forward slashes.

Changed to use github.event.pull_request.number which returns
just the PR number (e.g., "421") for valid tags like "pr-421".

Also added comprehensive unit tests for backup_service.go to
meet the 85% coverage threshold.

Fixes CI/CD failure in PR #421.
2025-12-17 21:54:17 +00:00
GitHub Actions 6d18854e92 fix: use PR number instead of ref_name for Docker image tags
GitHub's github.ref_name returns "421/merge" for PR merge refs,
creating invalid Docker tags like "pr-421/merge". Docker tags
cannot contain forward slashes.

Changed to use github.event.pull_request.number which returns
just the PR number (e.g., "421") for valid tags like "pr-421".

Fixes CI/CD failure in PR #421.
2025-12-17 20:00:44 +00:00
GitHub Actions b23e0fd076 fix: resolve CVE-2025-68156, coverage hang, and test lifecycle issue 2025-12-17 19:41:02 +00:00
GitHub Actions 942901fb9a fix: remove Caddy version check that hangs build (CVE-2025-68156) 2025-12-17 18:37:20 +00:00
Jeremy 87ba9e1222 Merge branch 'development' into feature/beta-release 2025-12-17 12:04:47 -05:00
GitHub Actions 8d9bb8af5b chore: optimize pre-commit performance while maintaining quality standards
- Move slow hooks (go-test-coverage, frontend-type-check) to manual stage
- Reduce pre-commit execution time from hanging to ~8 seconds (75% improvement)
- Expand Definition of Done with explicit coverage testing requirements
- Update all 6 agent modes to verify coverage before task completion
- Fix typos in agent files (DEFENITION → DEFINITION)
- Fix version mismatch in .version file
- Maintain 85% coverage requirement for both backend and frontend
- Coverage tests now run via VS Code tasks or manual scripts

Verification: All tests pass, coverage maintained at 85%+, CI integrity preserved
2025-12-17 16:54:14 +00:00
GitHub Actions b015284165 feat: add SQLite database corruption guardrails
- Add PRAGMA quick_check on startup with warning log if corrupted
- Add corruption sentinel helpers for structured error detection
- Add backup retention (keep last 7, auto-cleanup after daily backup)
- Add GET /api/v1/health/db endpoint for orchestrator health checks

Prevents silent data loss and enables proactive corruption detection.
2025-12-17 16:53:38 +00:00
Jeremy 922958e123 Merge pull request #419 from Wikid82/main
Propagate changes from main into development
2025-12-17 10:26:26 -05:00
Jeremy 370bcfc125 Merge pull request #418 from Wikid82/copilot/sub-pr-414
fix: Add explicit error handling to auth middleware test
v0.11.2
2025-12-17 10:16:43 -05:00
GitHub Actions bd0dfd5487 fix: include scripts directory in Docker image for database recovery 2025-12-17 15:15:42 +00:00
GitHub Actions f094123123 fix: add SQLite database recovery and WAL mode for corruption resilience
- Add scripts/db-recovery.sh for database integrity check and recovery
- Enable WAL mode verification with logging on startup
- Add structured error logging to uptime handlers with monitor context
- Add comprehensive database maintenance documentation

Fixes heartbeat history showing "No History Available" due to database
corruption affecting 6 out of 14 monitors.
2025-12-17 14:51:20 +00:00
copilot-swe-agent[bot] 20fabcd325 fix: Add explicit error handling to TestAuthMiddleware_PrefersCookieOverQueryParam
Co-authored-by: Wikid82 <176516789+Wikid82@users.noreply.github.com>
2025-12-17 14:48:36 +00:00
copilot-swe-agent[bot] adc60fa260 Initial plan 2025-12-17 14:44:38 +00:00
Jeremy 61c775c995 Merge pull request #414 from Wikid82/main
Propagate changes from main into development
2025-12-17 09:44:36 -05:00
Jeremy b1778ecb3d Merge branch 'development' into main v0.11.1 2025-12-17 09:32:46 -05:00
Jeremy 230f9bba70 Merge pull request #417 from Wikid82/renovate/npm-minorpatch
chore(deps): update dependency knip to ^5.75.1
2025-12-17 09:32:29 -05:00
Jeremy 40156be788 Merge branch 'development' into renovate/npm-minorpatch 2025-12-17 09:32:16 -05:00
Jeremy 647f9c2cf7 Merge pull request #416 from Wikid82/renovate/github-codeql-action-4.x
chore(deps): update github/codeql-action action to v4.31.9
2025-12-17 09:31:57 -05:00
Jeremy 3a3dccbb5a Merge branch 'development' into renovate/github-codeql-action-4.x 2025-12-17 09:31:09 -05:00
Jeremy e3b596176c Merge pull request #415 from Wikid82/renovate/github-codeql-action-digest
chore(deps): update github/codeql-action digest to 5d4e8d1
2025-12-17 09:30:52 -05:00
renovate[bot] 8005858593 chore(deps): update dependency knip to ^5.75.1 2025-12-17 14:26:03 +00:00
renovate[bot] 793315336a chore(deps): update github/codeql-action action to v4.31.9 2025-12-17 14:25:51 +00:00
renovate[bot] 711ed07df7 chore(deps): update github/codeql-action digest to 5d4e8d1 2025-12-17 14:25:45 +00:00
Jeremy 7e31a9c41a Merge pull request #413 from Wikid82:copilot/sub-pr-411
fix: secure WebSocket authentication using HttpOnly cookies instead of query parameters
v0.11.0
2025-12-17 09:22:30 -05:00
Jeremy c0fee50fa9 Merge branch 'main' into copilot/sub-pr-411 2025-12-17 07:59:09 -05:00
Jeremy da4fb33006 Merge pull request #412 from Wikid82/development
Propagate changes from development into feature/beta-release
2025-12-17 07:58:29 -05:00
copilot-swe-agent[bot] 6718431bc4 fix: improve test error handling with proper error checks
Co-authored-by: Wikid82 <176516789+Wikid82@users.noreply.github.com>
2025-12-17 12:58:02 +00:00
copilot-swe-agent[bot] 36a8b408b8 test: add comprehensive tests for secure WebSocket authentication priority
Co-authored-by: Wikid82 <176516789+Wikid82@users.noreply.github.com>
2025-12-17 12:56:46 +00:00
copilot-swe-agent[bot] e1474e42aa feat: switch WebSocket auth from query params to HttpOnly cookies for security
Co-authored-by: Wikid82 <176516789+Wikid82@users.noreply.github.com>
2025-12-17 12:54:35 +00:00
Jeremy 1a5bc81c6c Merge pull request #411 from Wikid82/development
feat: implement modern UI/UX design system (#409)
v0.10.0
2025-12-17 07:49:09 -05:00
copilot-swe-agent[bot] a01bcb8d4a Initial plan 2025-12-17 12:46:47 +00:00
Jeremy 15f73bd381 Merge pull request #410 from Wikid82/feature/beta-release
feat: implement modern UI/UX design system (#409)
2025-12-17 07:35:24 -05:00
GitHub Actions 85abf7cec1 test: add unit tests for Alert, DataTable, Input, Skeleton, and StatsCard components 2025-12-16 22:05:39 +00:00
GitHub Actions 8f2f18edf7 feat: implement modern UI/UX design system (#409)
- Add comprehensive design token system (colors, typography, spacing)
- Create 12 new UI components with Radix UI primitives
- Add layout components (PageShell, StatsCard, EmptyState, DataTable)
- Polish all pages with new component library
- Improve accessibility with WCAG 2.1 compliance
- Add dark mode support with semantic color tokens
- Update 947 tests to match new UI patterns

Closes #409
2025-12-16 21:21:39 +00:00
GitHub Actions 6bd6701250 docs: Add comprehensive trace analysis and investigation report for WebSocket reconnection issue and 401 auth failures
- Documented full trace analysis of the Security Dashboard Live Logs, detailing file-by-file data flow and authentication flow.
- Analyzed and resolved critical issue causing WebSocket reconnection loop due to object reference instability in props.
- Verified localStorage key usage and confirmed alignment between frontend and backend authentication methods.
- Investigated 401 auth failures reported in Docker logs, clarifying that they originate from Plex and are not indicative of a bug in Charon.
- Provided recommendations for handling log noise and confirmed that the Docker health check is functioning correctly.
2025-12-16 19:17:34 +00:00