Skip to content

Enable the api-tracking hk step - #64

Merged
david-driscoll merged 5 commits into
mainfrom
claude/api-analyzers-management-2d6c39
Dec 6, 2026
Merged

david-driscoll merged 5 commits into
mainfrom
claude/api-analyzers-management-2d6c39

Conversation

@david-driscoll

@david-driscoll david-driscoll commented Dec 6, 2026 •

Copy link
Copy Markdown
Member

Summary

Turns on the api-tracking hk step from RocketSurgeonsGuild/MSBuildSdk#192. It keeps the API tracking files of every project created, filled and shipped:

  • PublicAPI/InternalAPI.*.txt (PublicApiAnalyzers): Shipped lists exactly the current API and Unshipped stays empty.
  • AnalyzerReleases.*.md (release tracking, analyzer projects only): new and changed rules ship under the GitVersion MajorMinorPatch until that version is tagged.

Changes:

  • .config/hk.pkl: imports ApiTracking.pkl from the MSBuildSdk v2026.12.2 Pkl package (package://github.com/RocketSurgeonsGuild/MSBuildSdk/releases/download/v2026.12.2/msbuildsdk@2026.12.2#/ApiTracking.pkl) and adds the step for this repository's solution. It runs in the pre-commit hook and in hk check/hk fix (the lint workflow), and builds the whole solution, so it runs exclusive.
  • .config/mise.toml: installs Rocket.Surgery.ApiTracking.Tool 2026.12.2. GitVersion was already there.
  • global.json: Rocket.Surgery.Sdk 2026.12.2, which registers the tracking files as AdditionalFiles and creates the missing ones.

MSBuildSdk 2026.12.2 is released

The pinned package, tool and SDK version are published. 2026.12.2 adds RocketSurgeonsGuild/MSBuildSdk#195 (the tool's build no longer fails when a repository sets WarningsAsErrors for RS0016/RS0017, and the SDK stops creating tracking files a project removed) and RocketSurgeonsGuild/MSBuildSdk#196 (the hk step ships as a Pkl package on each release). Lint's autofix (hk fix) commits the generated tracking files to this PR.

Testing

  • hk validate passes and the step resolves to api-tracking <solution>[ --verify-no-changes], checked against the local copy of ApiTracking.pkl with this repository's hk version.
  • The commits skipped the hk pre-commit hook (HK=0) because the import couldn't load before the release.

🤖 Generated with Claude Code

david-driscoll and others added 3 commits December 6, 2026 01:18
Imports the api-tracking step from MSBuildSdk (hk/ApiTracking.pkl at
v2026.11.9), installs Rocket.Surgery.ApiTracking.Tool with mise and moves
Rocket.Surgery.Sdk to 2026.11.9, so the PublicAPI/InternalAPI and
AnalyzerReleases files are created, filled and shipped by hk locally and in
the lint workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-12-06 17:38 UTC

@github-actions

github-actions Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Test Results

  1 files  ±0    1 suites  ±0   51m 13s ⏱️ - 2m 12s
196 tests ±0  196 ✅ ±0  0 💤 ±0  0 ❌ ±0 
386 runs  ±0  386 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit ec39ef8. ± Comparison against base commit bc62741.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Summary

Summary
Generated on: 12/06/2026 - 16:36:43
Parser: MultiReport (2x Cobertura)
Assemblies: 0
Classes: 0
Files: 0
Line coverage:
Covered lines: 0
Uncovered lines: 0
Coverable lines: 0
Total lines: 0
Covered branches: 0
Total branches: 0
Method coverage: Feature is only available for sponsors

Coverage

No assemblies have been covered.

david-driscoll and others added 2 commits December 6, 2026 11:14
The hk step now comes from the versioned Pkl package attached to the
release instead of a raw GitHub file, and the tool and SDK move to
2026.12.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@david-driscoll
david-driscoll marked this pull request as ready for review December 6, 2026 17:18
@david-driscoll
david-driscoll added this pull request to the merge queue Dec 6, 2026
@codecov

codecov Bot commented Dec 6, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Merged via the queue into main with commit 15a66a6 Dec 6, 2026
12 checks passed
@david-driscoll
david-driscoll deleted the claude/api-analyzers-management-2d6c39 branch December 6, 2026 17:38
@rsg-bot rsg-bot added this to the v0.1.5 milestone Dec 6, 2026
@rsg-bot rsg-bot added the ✨ mysterious We forgot to label this label Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ mysterious We forgot to label this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants