Skip to content

Commit 7380f75

Browse files
branchseerclaude
andcommitted
feat: add descriptive names to fingerprint tracing spans
Rename `create` → `create_post_run_fingerprint` and `validate` → `validate_post_run_fingerprint` so they are identifiable in chrome-json traces without relying on parent span context. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9ed0285 commit 7380f75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/vite_task/src/session/execute/fingerprint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl PostRunFingerprint {
7373
/// * `path_reads` - Map of paths that were read during execution
7474
/// * `base_dir` - Workspace root for resolving relative paths
7575
/// * `fingerprint_ignores` - Optional glob patterns to exclude from fingerprinting
76-
#[tracing::instrument(level = "debug", skip_all)]
76+
#[tracing::instrument(level = "debug", skip_all, name = "create_post_run_fingerprint")]
7777
pub fn create(
7878
path_reads: &HashMap<RelativePathBuf, PathRead>,
7979
base_dir: &AbsolutePath,
@@ -103,7 +103,7 @@ impl PostRunFingerprint {
103103

104104
/// Validates the fingerprint against current filesystem state.
105105
/// Returns `Some(mismatch)` if validation fails, `None` if valid.
106-
#[tracing::instrument(level = "debug", skip_all)]
106+
#[tracing::instrument(level = "debug", skip_all, name = "validate_post_run_fingerprint")]
107107
pub fn validate(
108108
&self,
109109
base_dir: &AbsolutePath,

0 commit comments

Comments
 (0)