prole/tests
chrisfu 17cb827be5 test(dashboard): add unit tests for systemd unit and script validation
- Ensure dashboard service doesn't create an ordering cycle with `multi-user.target`.
- Verify service safely attaches to a virtual terminal (VT) and passes VT to Xorg.
- Ensure no `su` usage by default in the service.
- Validate script behavior for passing VT and `-keeptty` options to Xorg.

chore(dashboard): update systemd unit to avoid VT conflicts and improve logging

- Remove `After` and `Wants` directives for `multi-user.target` to prevent conflicts.
- Add `TTYPath`, `StandardInput`, and related options for VT attachment.
- Ensure `ExecStopPost` restores getty service for the dashboard VT.

fix(dashboard): improve Xorg resolution and clean up script logic

- Dynamically determine Xorg executable location in `dashboard.sh`.
- Pass VT, display, and `-keeptty` to Xorg to improve script reliability.

fix(mariadb): correct exFAT mount options for external storage

- Avoid `chown` failures by setting root ownership with group access for `mysql`.
- Update external mount options to `uid=0,gid=mysql,umask=0002`.

cleanup(mariadb): remove unnecessary owner/group permissions from migration marker task
2026-03-13 01:49:57 -07:00
..
etc fix(cnpg): converge to 3 instances with resilient apply 2026-03-12 01:42:42 -07:00
fixtures Checkpoint: Refactor common services and monitoring initialization. Updates: etc/init_monitoring.sh (Grafana naming, legacy cleanup), etc/init_common_services.sh (migration/cleanup logic), added etc/init_registry.sh, updated etc/init_cloudnative_pg.sh (manifest filtering), updated configs, and enhanced tests. Fixed: excluded .ansible logs and added to .gitignore. 2026-02-09 18:50:44 -08:00
installer Fix installer path portability (avoid hardcoded /Users paths) 2026-03-09 16:55:49 -07:00
conftest.py installer: stabilize retries + improve k3s inventory detection 2026-03-07 23:57:21 -08:00
final_comprehensive_test.sh Update Prole-DB and improve Supabase integration 2026-02-01 23:56:25 -08:00
final_test.sh Update Prole-DB and improve Supabase integration 2026-02-01 23:56:25 -08:00
run_tests.sh Enhance build system with 'make test' and fix installer test debris. Added 'make test' to Makefile with 'pyconv' (black) integration and coverage summary. Reformatted codebase with black. Fixed 'install.py' test bug where MagicMock objects created directory debris by improving mocking and patching in 'tests/test_navigation.py', 'tests/test_service_layer_navigation.py', and 'tests/test_install_logic.py'. 2026-02-25 14:55:05 -08:00
silent_install_test.sh Refactor project structure and update initialization scripts 2026-02-14 13:44:49 -08:00
test_all_prole_home_fixes.sh Update Prole-DB and improve Supabase integration 2026-02-01 23:56:25 -08:00
test_argocd_manifest_idempotency.py k3s: eliminate localhost registry + dedupe common-core 2026-03-05 14:31:33 -08:00
test_build_system.sh cleaning up; tests in the folder, scripts in the desk 2026-01-29 23:58:43 -08:00
test_dashboard_systemd_unit.py test(dashboard): add unit tests for systemd unit and script validation 2026-03-13 01:49:57 -07:00
test_database_options.py Repair: dedupe Kong from default namespace 2026-03-05 18:38:43 -08:00
test_docker_build_fix.sh cleaning up; tests in the folder, scripts in the desk 2026-01-29 23:58:43 -08:00
test_embedded_resources.sh Update Prole-DB and improve Supabase integration 2026-02-01 23:56:25 -08:00
test_init_authority.sh Refactor project structure and update initialization scripts 2026-02-14 13:44:49 -08:00
test_install_logic.py Enhance build system with 'make test' and fix installer test debris. Added 'make test' to Makefile with 'pyconv' (black) integration and coverage summary. Reformatted codebase with black. Fixed 'install.py' test bug where MagicMock objects created directory debris by improving mocking and patching in 'tests/test_navigation.py', 'tests/test_service_layer_navigation.py', and 'tests/test_install_logic.py'. 2026-02-25 14:55:05 -08:00
test_k3s_common_core_namespace_and_repair.py Add Python-native repair pipeline and tests; refactor bash wrapper 2026-03-07 14:42:06 -08:00
test_navigation.py Refactor _collect_namespace_rows to pass parameters explicitly; mock tkinter in test_navigation.py 2026-03-07 14:46:32 -08:00
test_network_scan_fix.sh Fix installer path portability (avoid hardcoded /Users paths) 2026-03-09 16:55:49 -07:00
test_no_common_services_literal_in_etc_scripts.py Fix installer ctx apply flow and registry namespace 2026-03-07 10:35:27 -08:00
test_reconcile_blocked_cluster_state.py installer: stabilize retries + improve k3s inventory detection 2026-03-07 23:57:21 -08:00
test_repair_stale_released_pv_claimref.py Add Python-native repair pipeline and tests; refactor bash wrapper 2026-03-07 14:42:06 -08:00
test_resource_paths.py Enhance build system with 'make test' and fix installer test debris. Added 'make test' to Makefile with 'pyconv' (black) integration and coverage summary. Reformatted codebase with black. Fixed 'install.py' test bug where MagicMock objects created directory debris by improving mocking and patching in 'tests/test_navigation.py', 'tests/test_service_layer_navigation.py', and 'tests/test_install_logic.py'. 2026-02-25 14:55:05 -08:00
test_service_layer_navigation.py feat: Add GitOps (Gitea) and Supabase integration, plus database options 2026-02-26 18:32:15 -08:00