Skip to content

[log] Add debug logging to cli package and audit search files - #77033

Merged
pelikhan merged 1 commit into
mainfrom
log/go-logger-cli-package-audit-280c560109d8a35a
Nov 12, 2026
Merged

pelikhan merged 1 commit into
mainfrom
log/go-logger-cli-package-audit-280c560109d8a35a

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Overview

Adds pkg/logger debug logging to 5 pkg/cli files that had none. The pre-flight manifest listed many files that already log through package-level loggers, so I picked files confirmed to have no logging calls.

Changes

File Logger Logged
add_workflow_local_package.go cli:add_workflow_local_package Package resolution start, missing manifest, and resolved asset counts
add_workflow_package_assets.go cli:add_workflow_package_assets Skill and agent file resolution (explicit vs. auto-scan)
add_workflow_package_specs.go cli:add_workflow_package_specs Spec append counts for local and remote packages
audit_search.go cli:audit_search Search start, ranking results, clustering input size
audit_threat_detection_logs.go cli:audit_threat_detection_logs Quota details found, and missing or conflicting conclusion logs

Validation

🤖 Generated with [Claude Code]((claude.com/redacted)

Generated by 📝 Go Logger Enhancement · claude · routed: sonnet55 high · ~34 AIC · ⌖ ~2 AIC · ⊞ 4.6K · ◷

  • expires on Nov 13, 2026, 7:25 PM UTC-08:00

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added automation enhancement New feature or request labels Nov 12, 2026
Copilot AI dynamic review requested due to automatic review settings November 12, 2026 03:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are identified, and the changes are limited to diagnostic logging across the specified CLI paths without altering functional behavior.

No open issues 🎉

What changed in this PR

Adds namespace-specific pkg/logger debug instrumentation to five pkg/cli files, improving diagnostics for package resolution, audit search processing, and threat-detection log parsing without changing functional behavior.

Changes:

  • Adds package-specific logging for local and remote workflow package resolution and asset discovery.
  • Logs audit search inputs, ranking results, and clustering sizes.
  • Logs quota details and missing or conflicting threat-detection conclusions.
File Description
pkg/​cli/​audit_threat_detection_logs.go Logs quota details and missing or conflicting conclusion-log outcomes.
pkg/​cli/​audit_search.go Logs audit search inputs, ranking results, and clustering metrics.
pkg/​cli/​add_workflow_package_specs.go Logs local and remote workflow package specification counts.
pkg/​cli/​add_workflow_package_assets.go Logs explicit and auto-scanned skill and agent asset resolution.
pkg/​cli/​add_workflow_local_package.go Logs local package resolution, manifest discovery, and resolved asset counts.

Review effort: Lite (auto)

@pelikhan
pelikhan merged commit 9935582 into main Nov 12, 2026
11 checks passed
@pelikhan
pelikhan deleted the log/go-logger-cli-package-audit-280c560109d8a35a branch November 12, 2026 03:35
@github-actions

Copy link
Copy Markdown
Contributor Author

🎉 This pull request is included in a new release.

Release: v1.2.3

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

Labels

automation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants