Skip to content

[codex] Update diagnostic package copyright headers#535

Open
aftersnow wants to merge 1 commit intomainfrom
codex/modelpack-copyright-headers
Open

[codex] Update diagnostic package copyright headers#535
aftersnow wants to merge 1 commit intomainfrom
codex/modelpack-copyright-headers

Conversation

@aftersnow
Copy link
Copy Markdown
Contributor

Summary

  • Update the missed pkg/envinfo and pkg/iometrics Go copyright headers from CNAI to ModelPack.
  • Run gofmt on the touched files so the repository returns to a gofmt-clean state.

Why

PR #523 updated existing files before PR #490 added these diagnostic packages, so the new files kept the old CNAI header. The gofmt changes also resolve the formatting drift tracked in #532.

Closes #532.

Validation

  • grep -RIn "Copyright 2024 The CNAI Authors" --include='*.go' pkg/envinfo pkg/iometrics || true
  • gofmt -l $(git ls-files '*.go')
  • GOCACHE=$(mktemp -d /tmp/modctl-pr-gocache2.XXXXXX) go test ./pkg/envinfo ./pkg/iometrics
  • GOCACHE=$(mktemp -d /tmp/modctl-pr-gocache-all.XXXXXX) go test ./...

Signed-off-by: Zhao Chen <winters.zc@antgroup.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the copyright headers across multiple files from 'The CNAI Authors' to 'The ModelPack Authors' and moves Go build constraints to the top of the relevant files. Additionally, there is a minor formatting adjustment in the Tracker.Summary method. I have no feedback to provide.

@aftersnow aftersnow marked this pull request as ready for review May 6, 2026 06:04
@aftersnow aftersnow enabled auto-merge (squash) May 6, 2026 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: restore gofmt-clean state on main

1 participant