v0.2.6-pre.013-fix.002

This commit is contained in:
2026-08-21 23:14:13 +02:00
parent 263464ddd7
commit c07db925b1
7 changed files with 68 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "ksp-app-wallet-desk",
"private": true,
"version": "0.2.6-pre.13.fix.1",
"version": "0.2.6-pre.13.fix.2",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "KSP Wallet Desk",
"version": "0.2.6-pre.13.fix.1",
"version": "0.2.6-pre.13.fix.2",
"identifier": "com.sasedev.ksp-app-wallet-desk",
"build": {
"beforeDevCommand": "npm run dev",

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-app-wallet-desk/tests/release_compliance.rs
// version: 2
// version: 3
//! Release-wide deterministic compliance canaries for Wallet Desk.
@@ -71,10 +71,12 @@ fn backend_keeps_config_wallet_transport_and_logging_ownership_boundaries() {
] {
assert!(!source.contains(forbidden), "Wallet Desk backend bypasses an owned boundary through {forbidden}");
}
let tracing_path = ["tracing", "::"].concat();
let tracing_use = std::format!("use {tracing_path}");
for line in source.lines() {
let trimmed = line.trim_start();
assert!(!trimmed.starts_with("use tracing::"), "Wallet Desk backend must not import tracing directly: {trimmed}");
assert!(!trimmed.starts_with("tracing::"), "Wallet Desk backend must not emit through tracing directly: {trimmed}");
assert!(!trimmed.starts_with(tracing_use.as_str()), "Wallet Desk backend must not import tracing directly: {trimmed}");
assert!(!trimmed.starts_with(tracing_path.as_str()), "Wallet Desk backend must not emit through tracing directly: {trimmed}");
}
assert!(source.contains("ksp_config_lib::ConfigEnvironment::load"));
assert!(source.contains("ksp_wallet_lib::"));