Skip to content

[deep-report] Migrate 38 log.Print* calls to pkg/logger across 8 packages #34052

Closed as not planned

Description

@github-actions

Context

LintMonster #33918 (2026-05-22) flagged 38 violations of the project's logger-migration rule (standard library log.Print* instead of pkg/logger).

Concrete file breakdown

Package Violations
pkg/fileutil/fileutil.go 11
pkg/gitutil/gitutil.go 7
pkg/semverutil/semverutil.go 7
pkg/typeutil/convert.go 3
pkg/repoutil/repoutil.go 3
pkg/envutil/envutil.go 2
pkg/workflow/create_entity_helper.go (remainder)
pkg/cli/... (remainder)

Proposed Quick Win

File-by-file:

  1. Replace log.Print(...), log.Printf(...), log.Println(...) with logger.Info(...) / logger.Debug(...) per the message intent.
  2. Inject the logger via logger.NewFromEnv() or pass an existing instance.
  3. Update imports.
  4. Verify make golint-custom reports 0 logger violations.

Suggested Agent

Copilot coding agent (mechanical refactor).

Estimated Effort

< 3 hours of agent time. Can be split into 8 small PRs (one per package).

Acceptance

  • All 38 violations cleared
  • No regressions in tests

Referenced from DeepReport Intelligence Briefing — 2026-05-22.

Generated by 🔬 DeepReport - Intelligence Gathering Agent · ● 18.7M · ◷

  • expires on May 24, 2026, 3:50 PM UTC

Activity

  1. github-actions commented on May 24, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-05-24T15:50:38.165Z.

    Closed by Workflow

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions