fix(ci): clear the two red jobs on main after the runtime split and the grant ledger

Lint failed in the command-crate boundary check because the logging module moved into codewhale-runtime still named codewhale_tui in a windows-only test's sample directives; use codewhale_runtime there. Test (windows) failed in runtime_approval_disposition_auto_paths_obey_force_and_posture: e537df587 added "grant_id": null to the auto-deny receipt, so the assertion that the key is absent was stale; assert it is absent or null.

Evidence (2026-10-10): both failures read from run 38028659556 logs (Lint step 'Check command-contract prototype boundary': forbidden terminal UI path crates/runtime/src/logging.rs:93; Test windows: panicked at tests.rs:16187). Not run locally: the windows-only module, the boundary script, hosted CI on this commit.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
CodeWhale BotandClaude Sonnet 5.5 committed 2026-10-09 23:59:40 -07:00
1 parent 876a3ed4a4
commit 64bb073a40
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -90,10 +90,10 @@ mod tests {
assert!(log_value_enables_verbose("debug"));
assert!(log_value_enables_verbose("codewhale_cli=debug"));
assert!(log_value_enables_verbose(
"warn,codewhale_tui::client=trace"
"warn,codewhale_runtime::client=trace"
));
assert!(!log_value_enables_verbose("warn"));
assert!(!log_value_enables_verbose("codewhale_tui=off"));
assert!(!log_value_enables_verbose("codewhale_runtime=off"));
}
#[test]
+1 -1
View File
@@ -16184,7 +16184,7 @@ async fn runtime_approval_disposition_auto_paths_obey_force_and_posture() -> Res
if approved && posture == "ask" {
assert_eq!(decided.payload["grant_id"], grant.unwrap().grant_id);
} else {
assert!(decided.payload.get("grant_id").is_none());
assert!(decided.payload.get("grant_id").is_none_or(serde_json::Value::is_null));
}
let approval_id = decided.payload["approval_id"]
.as_str()