Skip to content

docs: add test coverage analysis with prioritized recommendations#1

Closed
digitalfiz wants to merge 1 commit intomainfrom
claude/analyze-test-coverage-SdPfq
Closed

docs: add test coverage analysis with prioritized recommendations#1
digitalfiz wants to merge 1 commit intomainfrom
claude/analyze-test-coverage-SdPfq

Conversation

@digitalfiz
Copy link
Copy Markdown
Contributor

Comprehensive static analysis of all 21 modules identifying that only
9 have tests (88 total). Proposes ~205 additional tests across 5
priority tiers, with quick wins in k8s/common.rs, stores/bookmarks,
and k8s/statefulset.rs.

https://claude.ai/code/session_01YAMuVKpG415mcsNmC3C5gm

Comprehensive static analysis of all 21 modules identifying that only
9 have tests (88 total). Proposes ~205 additional tests across 5
priority tiers, with quick wins in k8s/common.rs, stores/bookmarks,
and k8s/statefulset.rs.

https://claude.ai/code/session_01YAMuVKpG415mcsNmC3C5gm
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 7, 2026

Rust Security Scan

  • cargo audit: FAIL (exit 1)
  • cargo deny (advisories): FAIL (exit 1)
  • cargo clippy security lints: FAIL (exit 101)
cargo audit (tail)
2
            │   ├── tauri-plugin-updater 2.9.0
            │   ├── tauri-plugin-opener 2.5.3
            │   ├── tauri-plugin-notification 2.3.3
            │   ├── tauri-plugin-fs 2.4.5
            │   └── tauri-plugin-dialog 2.6.0
            ├── tauri-macros 2.5.2
            │   └── tauri 2.9.5
            ├── tauri-codegen 2.5.2
            │   └── tauri-macros 2.5.2
            ├── tauri-build 2.5.3
            │   ├── tauri 2.9.5
            │   └── kore 0.1.1
            └── tauri 2.9.5

�[0m�[0m�[1m�[33mCrate:    �[0m glib
�[0m�[0m�[1m�[33mVersion:  �[0m 0.18.5
�[0m�[0m�[1m�[33mWarning:  �[0m unsound
�[0m�[0m�[1m�[33mTitle:    �[0m Unsoundness in `Iterator` and `DoubleEndedIterator` impls for `glib::VariantStrIter`
�[0m�[0m�[1m�[33mDate:     �[0m 2024-03-30
�[0m�[0m�[1m�[33mID:       �[0m RUSTSEC-2024-0429
�[0m�[0m�[1m�[33mURL:      �[0m https://rustsec.org/advisories/RUSTSEC-2024-0429
�[0m�[0m�[1m�[33mDependency tree:
�[0mglib 0.18.5
├── webkit2gtk 2.0.1
│   ├── wry 0.53.5
│   │   └── tauri-runtime-wry 2.9.3
│   │       └── tauri 2.9.5
│   │           ├── tauri-plugin-websocket 2.4.2
│   │           │   └── kore 0.1.1
│   │           ├── tauri-plugin-updater 2.9.0
│   │           │   └── kore 0.1.1
│   │           ├── tauri-plugin-opener 2.5.3
│   │           │   └── kore 0.1.1
│   │           ├── tauri-plugin-notification 2.3.3
│   │           │   └── kore 0.1.1
│   │           ├── tauri-plugin-fs 2.4.5
│   │           │   ├── tauri-plugin-dialog 2.6.0
│   │           │   │   └── kore 0.1.1
│   │           │   └── kore 0.1.1
│   │           ├── tauri-plugin-dialog 2.6.0
│   │           └── kore 0.1.1
│   ├── tauri-runtime-wry 2.9.3
│   ├── tauri-runtime 2.9.2
│   │   ├── tauri-runtime-wry 2.9.3
│   │   └── tauri 2.9.5
│   └── tauri 2.9.5
├── soup3 0.5.0
│   ├── wry 0.53.5
│   └── webkit2gtk 2.0.1
├── pango 0.18.3
│   ├── gtk 0.18.2
│   │   ├── wry 0.53.5
│   │   ├── webkit2gtk 2.0.1
│   │   ├── tauri-runtime-wry 2.9.3
│   │   ├── tauri-runtime 2.9.2
│   │   ├── tauri 2.9.5
│   │   ├── tao 0.34.5
│   │   │   └── tauri-runtime-wry 2.9.3
│   │   ├── muda 0.17.1
│   │   │   ├── tray-icon 0.21.3
│   │   │   │   └── tauri 2.9.5
│   │   │   └── tauri 2.9.5
│   │   └── libappindicator 0.9.0
│   │       └── tray-icon 0.21.3
│   └── gdk 0.18.2
│       ├── webkit2gtk 2.0.1
│       ├── gtk 0.18.2
│       └── gdkx11 0.18.2
│           └── wry 0.53.5
├── libappindicator 0.9.0
├── javascriptcore-rs 1.1.2
│   ├── wry 0.53.5
│   └── webkit2gtk 2.0.1
├── gtk 0.18.2
├── gio 0.18.4
│   ├── webkit2gtk 2.0.1
│   ├── soup3 0.5.0
│   ├── pango 0.18.3
│   ├── gtk 0.18.2
│   ├── gdkx11 0.18.2
│   ├── gdk-pixbuf 0.18.5
│   │   ├── gtk 0.18.2
│   │   └── gdk 0.18.2
│   └── gdk 0.18.2
├── gdkx11 0.18.2
├── gdk-pixbuf 0.18.5
├── gdk 0.18.2
├── cairo-rs 0.18.5
│   ├── webkit2gtk 2.0.1
│   ├── gtk 0.18.2
│   └── gdk 0.18.2
└── atk 0.18.2
    └── gtk 0.18.2

�[0m�[0m�[1m�[31merror:�[0m 2 vulnerabilities found!
�[0m�[0m�[1m�[33mwarning:�[0m 19 allowed warnings found

cargo deny (tail)
-runtime v2.9.2
              │   ├── tauri v2.9.5 (*)
              │   └── tauri-runtime-wry v2.9.3
              │       └── tauri v2.9.5 (*)
              └── tauri-runtime-wry v2.9.3 (*)

�[0m�[1m�[38;5;9merror[unmaintained]�[0m�[1m: `unic-ucd-version` is unmaintained�[0m
    �[0m�[36m┌─�[0m /home/runner/work/kore/kore/src-tauri/Cargo.lock:528:1
    �[0m�[36m│�[0m
�[0m�[36m528�[0m �[0m�[36m│�[0m �[0m�[31munic-ucd-version 0.9.0 registry+https://github.com/rust-lang/crates.io-index�[0m
    �[0m�[36m│�[0m �[0m�[31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[0m�[31munmaintained advisory detected�[0m
    �[0m�[36m│�[0m
    �[0m�[36m├�[0m ID: RUSTSEC-2025-0098
    �[0m�[36m├�[0m Advisory: https://rustsec.org/advisories/RUSTSEC-2025-0098
    �[0m�[36m├�[0m All Unicode crates that are part of https://github.com/open-i18n/rust-unic are unmaintained.
    �[0m�[36m├�[0m Announcement: https://github.com/rustsec/advisory-db/issues/2414
    �[0m�[36m├�[0m Solution: No safe upgrade is available!
    �[0m�[36m├�[0m unic-ucd-version v0.9.0
      └── unic-ucd-ident v0.9.0
          └── urlpattern v0.3.0
              └── tauri-utils v2.8.1
                  ├── tauri v2.9.5
                  │   ├── kore v0.1.1
                  │   ├── tauri-plugin-dialog v2.6.0
                  │   │   └── kore v0.1.1 (*)
                  │   ├── tauri-plugin-fs v2.4.5
                  │   │   ├── kore v0.1.1 (*)
                  │   │   └── tauri-plugin-dialog v2.6.0 (*)
                  │   ├── tauri-plugin-notification v2.3.3
                  │   │   └── kore v0.1.1 (*)
                  │   ├── tauri-plugin-opener v2.5.3
                  │   │   └── kore v0.1.1 (*)
                  │   ├── tauri-plugin-updater v2.9.0
                  │   │   └── kore v0.1.1 (*)
                  │   └── tauri-plugin-websocket v2.4.2
                  │       └── kore v0.1.1 (*)
                  ├── tauri-build v2.5.3
                  │   ├── (build) kore v0.1.1 (*)
                  │   └── (build) tauri v2.9.5 (*)
                  ├── tauri-codegen v2.5.2
                  │   └── tauri-macros v2.5.2
                  │       └── tauri v2.9.5 (*)
                  ├── tauri-macros v2.5.2 (*)
                  ├── tauri-plugin v2.5.2
                  │   ├── (build) tauri-plugin-dialog v2.6.0 (*)
                  │   ├── (build) tauri-plugin-fs v2.4.5 (*)
                  │   ├── (build) tauri-plugin-notification v2.3.3 (*)
                  │   ├── (build) tauri-plugin-opener v2.5.3 (*)
                  │   ├── (build) tauri-plugin-updater v2.9.0 (*)
                  │   └── (build) tauri-plugin-websocket v2.4.2 (*)
                  ├── (build) tauri-plugin-fs v2.4.5 (*)
                  ├── tauri-runtime v2.9.2
                  │   ├── tauri v2.9.5 (*)
                  │   └── tauri-runtime-wry v2.9.3
                  │       └── tauri v2.9.5 (*)
                  └── tauri-runtime-wry v2.9.3 (*)

advisories �[31mFAILED�[0m

cargo clippy (tail)
 an `Err`, it will panic
    �[1m�[94m= �[0m�[1mhelp�[0m: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#unwrap_used

�[1m�[91merror�[0m�[1m: this function has too many arguments (8/7)�[0m
   �[1m�[94m--> �[0msrc/k8s/pod.rs:790:1
    �[1m�[94m|�[0m
�[1m�[94m790�[0m �[1m�[94m|�[0m �[1m�[91m/�[0m pub async fn cluster_stream_container_logs(
�[1m�[94m791�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m     cluster_id: String,
�[1m�[94m792�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m     namespace: String,
�[1m�[94m793�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m     pod_name: String,
�[1m�[94m...�[0m   �[1m�[91m|�[0m
�[1m�[94m798�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m     watcher_state: State<'_, WatcherState>,
�[1m�[94m799�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m ) -> Result<(), String> {
    �[1m�[94m|�[0m �[1m�[91m|_______________________^�[0m
    �[1m�[94m|�[0m
    �[1m�[94m= �[0m�[1mhelp�[0m: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#too_many_arguments

�[1m�[91merror�[0m�[1m: used `expect()` on a `Result` value�[0m
  �[1m�[94m--> �[0msrc/lib.rs:21:27
   �[1m�[94m|�[0m
�[1m�[94m21�[0m �[1m�[94m|�[0m       let cluster_manager = cluster_manager::ClusterManager::new(db_path)
   �[1m�[94m|�[0m �[1m�[91m ___________________________^�[0m
�[1m�[94m22�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m         .expect("Failed to initialize cluster manager");
   �[1m�[94m|�[0m �[1m�[91m|_______________________________________________________^�[0m
   �[1m�[94m|�[0m
   �[1m�[94m= �[0m�[1mnote�[0m: if this value is an `Err`, it will panic
   �[1m�[94m= �[0m�[1mhelp�[0m: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#expect_used

�[1m�[91merror�[0m�[1m: used `expect()` on a `Result` value�[0m
   �[1m�[94m--> �[0msrc/lib.rs:27:5
    �[1m�[94m|�[0m
 �[1m�[94m27�[0m �[1m�[94m|�[0m �[1m�[91m/�[0m     tauri::Builder::default()
 �[1m�[94m28�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m         .plugin(tauri_plugin_websocket::init())
 �[1m�[94m29�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m         .plugin(tauri_plugin_updater::Builder::new().build())
 �[1m�[94m30�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m         .plugin(tauri_plugin_notification::init())
�[1m�[94m...�[0m   �[1m�[91m|�[0m
�[1m�[94m126�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m         .run(tauri::generate_context!())
�[1m�[94m127�[0m �[1m�[94m|�[0m �[1m�[91m|�[0m         .expect("error while running tauri application");
    �[1m�[94m|�[0m �[1m�[91m|________________________________________________________^�[0m
    �[1m�[94m|�[0m
    �[1m�[94m= �[0m�[1mnote�[0m: if this value is an `Err`, it will panic
    �[1m�[94m= �[0m�[1mhelp�[0m: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#expect_used

�[1m�[91merror�[0m: could not compile `kore` (lib) due to 6 previous errors
�[1m�[33mwarning�[0m: build failed, waiting for other jobs to finish...
�[1m�[91merror�[0m: could not compile `kore` (lib test) due to 98 previous errors

@digitalfiz digitalfiz closed this Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants