From d4608662f28b9a5135986b1702afe3199957eabe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 25 Jul 2026 14:06:44 +0900 Subject: feat(tracing): init tracing subscriber from $SHIRABE_TRACING Co-Authored-By: Claude Opus 5 --- crates/shirabe/src/installer.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/shirabe/src/installer.rs') diff --git a/crates/shirabe/src/installer.rs b/crates/shirabe/src/installer.rs index 3cdb046b..883ee134 100644 --- a/crates/shirabe/src/installer.rs +++ b/crates/shirabe/src/installer.rs @@ -216,6 +216,7 @@ impl Installer { } /// Run installation (or update) + #[tracing::instrument(skip_all)] pub fn run(&mut self) -> anyhow::Result { // Disable GC to save CPU cycles, as the dependency solver can create hundreds of thousands // of PHP objects, the GC can spend quite some time walking the tree of references looking @@ -560,6 +561,7 @@ impl Installer { Ok(0) } + #[tracing::instrument(skip_all)] pub(crate) fn do_update( &mut self, local_repo: crate::repository::RepositoryInterfaceHandle, -- cgit v1.3.1