Remove full NetsukeManifest AST debug logs (#657) - #661
Draft
leynos wants to merge 2 commits into
Draft
Conversation
Stop serialising the complete user-supplied manifest in the runner and remove its no-longer-reachable localisation context. Keep graph-generation telemetry limited to its existing bounded labels, metrics, and tracing fields.
Keep graph-generation diagnostics to aggregate counts and fixed categories instead of target and dependency names supplied by a manifest. Add a DEBUG-level regression that rejects a manifest sentinel in all captured graph-generation events.
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueWarning Your free Security trial is over. An organization admin can upgrade to Advanced for continuous pull request security review or dismiss this notice. Comment |
Contributor
Reviewer's GuideGraph generation no longer serializes or logs the full manifest AST, and IR tracing no longer exposes manifest-derived target or dependency names. Existing bounded telemetry and error handling remain intact, while a DEBUG-event regression test and removal of the obsolete serialization localization key/catalogue entries enforce the privacy-focused behavior. Sequence diagram for privacy-preserving graph generation telemetrysequenceDiagram
participant Runner
participant ManifestLoader
participant GraphTelemetry
participant BuildGraph
participant DebugCapture
Runner->>ManifestLoader: load_manifest_with_stage_reporting()
ManifestLoader-->>Runner: manifest
Runner->>GraphTelemetry: instrument_graph_generation()
GraphTelemetry->>BuildGraph: generate graph from manifest
BuildGraph-->>GraphTelemetry: bounded graph metrics
GraphTelemetry-->>Runner: graph result
DebugCapture-->>Runner: capture DEBUG events
Note over Runner,DebugCapture: Full AST serialization and manifest-derived names are not emitted
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This branch removes complete manifest AST logging from graph generation and
excludes manifest-derived target and dependency names from its trace events.
The existing bounded graph-generation metrics, duration histogram, trace span
and fixed error categories remain unchanged.
Closes #657.
Review walkthrough
Validation
make check-fmt: passed.make lint: passed.make doc-coverage: passed (99.13%).make test: passed (2,774 nextest cases and doctests).coderabbit review --agent: two clean review rounds with zero findings.References
Summary by Sourcery
Remove sensitive manifest details from graph-generation logs while preserving existing bounded metrics and tracing.
Bug Fixes:
Enhancements:
Tests:
Chores: