Skip to content

Add trace_fs feature gate for conditional DebugLogProvider bound#760

Open
wdcui wants to merge 1 commit intomainfrom
wdcui/pr3j-trace-fs
Open

Add trace_fs feature gate for conditional DebugLogProvider bound#760
wdcui wants to merge 1 commit intomainfrom
wdcui/pr3j-trace-fs

Conversation

@wdcui
Copy link
Copy Markdown
Member

@wdcui wdcui commented Apr 7, 2026

Summary

  • Add trace_fs feature to litebox/Cargo.toml.
  • Gate the DebugLogProvider bound on RawSyncPrimitivesProvider behind #[cfg(feature = "trace_fs")], so platforms that don't need filesystem tracing can avoid the dependency.
  • Add explanatory comment for why the feature gate exists.

Split from #743.

Add trace_fs feature to litebox Cargo.toml. When enabled (without
lock_tracing), RawSyncPrimitivesProvider additionally requires
DebugLogProvider, allowing filesystem tracing code to log through
the platform's debug output.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@jaybosamiya-ms jaybosamiya-ms added the expmt:shadow-kiln Tag to quickly find the different PRs as part of the "shadow kiln" experiment. label Apr 11, 2026
Copy link
Copy Markdown
Member

@jaybosamiya-ms jaybosamiya-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that the explanation here for trace_fs makes sense. What is happening with the file system tracing? I see nothing in the file system implementations as part of this PR, so there is literally no context to this flag.

Adding new conditional-compilation flags increases testing/development/etc. complexity, so I am gonna say no to merging this PR unless very clear/strong evidence is shown for why it is needed.

My best guess is that this was part of some local testing code of whatever you were debugging and the agent split it out without realizing that it should actually remove the local testing code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

expmt:shadow-kiln Tag to quickly find the different PRs as part of the "shadow kiln" experiment.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants