Skip to content

Commit 76dee0f

Browse files
fix(ci): resolve Windows npm and Clippy blockers
1 parent 2265c9e commit 76dee0f

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ fn build_and_embed_dashboard_app() {
383383
}
384384

385385
fn run_npm(dir: &Path, args: &[&str]) {
386-
let status = Command::new("npm")
386+
let status = Command::new(if cfg!(windows) { "npm.cmd" } else { "npm" })
387387
.args(args)
388388
.current_dir(dir)
389389
.status()

crates/tracedecay-store/src/evidence_assembly.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,9 @@ impl SourceCapabilityCatalogBindingV1 {
549549

550550
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
551551
#[serde(tag = "kind", rename_all = "snake_case", deny_unknown_fields)]
552+
// Boxing the large variant is wire-transparent but would change this public
553+
// store-protocol API and ripple through construction/match sites.
554+
#[allow(clippy::large_enum_variant)]
552555
pub enum EvidenceSpanCatalogBindingV1 {
553556
IntrinsicCanonicalOrdering,
554557
SourceCapability {
@@ -1457,6 +1460,9 @@ pub enum EvidenceAssemblyReadOperationV1 {
14571460

14581461
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
14591462
#[serde(rename_all = "snake_case")]
1463+
// Boxing the large variant is wire-transparent but would change this public
1464+
// store-protocol API and ripple through construction/match sites.
1465+
#[allow(clippy::large_enum_variant)]
14601466
pub enum EvidenceAssemblyReadResultV1 {
14611467
Publication(Option<EvidenceAssemblyPublicationReceiptV1>),
14621468
ContributionPage(Option<EvidenceAssemblyDrilldownPageV1>),

crates/tracedecay-store/src/runtime/repository_read.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ pub enum ProjectReadOperationV1 {
286286
/// Project-family read results across facts, observations, and diagnostics.
287287
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
288288
#[serde(rename_all = "snake_case")]
289+
// Boxing the large variant is wire-transparent but would change this public
290+
// store-protocol API and ripple through construction/match sites.
291+
#[allow(clippy::large_enum_variant)]
289292
pub enum ProjectReadResultV1 {
290293
Fact(FactReadResultV1),
291294
Observation(ObservationReadResultV1),
@@ -319,6 +322,9 @@ pub enum RetrievalAnchorReadOperationV1 {
319322

320323
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
321324
#[serde(rename_all = "snake_case")]
325+
// Boxing the large variant is wire-transparent but would change this public
326+
// store-protocol API and ripple through construction/match sites.
327+
#[allow(clippy::large_enum_variant)]
322328
pub enum RetrievalAnchorReadResultV1 {
323329
Anchor(Option<StoredRetrievalAnchorRecordV1>),
324330
CurrentDisposition(Option<RetrievalAnchorDispositionRecordV1>),

0 commit comments

Comments
 (0)