Skip to content

chore: expand tooling, docs, and test coverage#8

Merged
min0625 merged 1 commit into
mainfrom
chore/tooling-docs-and-tests
Jun 22, 2026
Merged

chore: expand tooling, docs, and test coverage#8
min0625 merged 1 commit into
mainfrom
chore/tooling-docs-and-tests

Conversation

@min0625

@min0625 min0625 commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

Tooling, documentation, and test-coverage improvements. No production code (map.go / comparable_map.go) changes.

CI

  • Migrate CodeQL to the Advanced matrix setup; add actions language scanning and scope job permissions.
  • pr-check: add contents: read permission, concurrency cancel-in-progress, a 15-min timeout, Go module/build + golangci-lint caching, and pin mise-action to a commit SHA.

Lint / tooling

  • Expand the golangci-lint linter set (gocritic, modernize, gomodguard_v2, copyloopvar, usetesting, …), set golines max-len: 120, drop swaggo/goheader.
  • Bump golangci-lint 2.11.22.12.2; make lint now runs golangci-lint config verify first.

Devcontainer

  • Add github-cli feature, recommend mise/even-better-toml VSCode extensions, add devcontainer-lock.json, harden post_create.sh (set -euo pipefail, optional local hook).

Docs

  • Rename AGENTS.mdCLAUDE.md with expanded guidance.
  • Add Features section + type comparison table to README.md; add Traditional Chinese README.zh-TW.md.

Tests

  • Cover non-comparable Map values, ComparableMap.Swap, ComparableMap.LoadAndDelete, and add ExampleComparableMap.

Test plan

  • make check (tidy + lint + race tests) passes.
  • make lint NEW_FROM_REV= (full-tree lint) reports 0 issues.

🤖 Generated with Claude Code

- CI: migrate CodeQL to Advanced matrix (adds actions scanning),
  scope permissions, add caching/concurrency/timeout to pr-check,
  pin mise-action to a SHA
- Lint: expand golangci-lint linter set, set golines max-len 120,
  bump golangci-lint to 2.12.2; verify config in `make lint`
- Devcontainer: add github-cli feature, mise/toml VSCode extensions,
  lockfile, harden post_create.sh
- Docs: rename AGENTS.md -> CLAUDE.md, add Features/type table to
  README, add Traditional Chinese README
- Tests: cover non-comparable Map values, ComparableMap Swap and
  LoadAndDelete, add ExampleComparableMap

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@min0625 min0625 merged commit 4adf836 into main Jun 22, 2026
4 checks passed
@min0625 min0625 deleted the chore/tooling-docs-and-tests branch June 22, 2026 14:30
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.

2 participants