Watch
0
0
Fork
You've already forked hyperhive
0

dashboard: remove the state-file endpoint, the file_refs path scan and the unused marked and dompurify deps

This commit is contained in:
iris 2026-10-22 00:02:43 +02:00 • committed by mara
commit 6d080ea28b
11 changed files with 12 additions and 419 deletions

View file

@ -12,9 +12,8 @@ use std::process::{Command, Stdio};
const TOKEN: &str = "test-token-value";
/// A unique scratch `HYPERHIVE_STATE_DIR`, seeded with a `forge-token`
/// file. Matches the manual-tmpdir pattern `hive-c0re`'s
/// `dashboard::state_files` tests use — this crate carries no `tempfile`
/// dependency to reach for instead.
/// file. Built by hand under the system temp dir, since this crate carries no
/// `tempfile` dependency to reach for instead.
fn scratch_state_dir(tag: &str) -> PathBuf {
let ts = std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)