Repository navigation
chore: register session actor receipt measurement - #184850
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Author
|
Fixed: unused-file analysis now recognizes the documented session-actor receipt measurement command without changing runtime behavior. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 27, 2026
Register the documented session-actor receipt measurement as an exact Knip entry so unused-file analysis recognizes the maintained command without altering runtime behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The maintained session-actor receipt measurement command is invoked directly through the Node command documented in its source header, so static import analysis incorrectly reports its source file as unused.
User Impact
There is no user-visible or runtime behavior change. Maintainers get an unused-file inventory that recognizes this real standalone command without hiding unrelated findings.
Why This Change Was Made
OpenClaw's Knip configuration models directly invoked repository scripts as exact entry paths. This change adds the existing measurement command to that entry list once, using the same exact-path
!contract as neighboring maintained performance commands. It does not add a wildcard, ignore, package command, dependency, or executable-code change.Evidence
The baseline three-inventory static run reported zero unused dependencies, zero unused exports in its script, production, and full-tree scopes, zero production unused files, and exactly one full-tree unused file:
scripts/perf/session-actor-receipt-measure.ts.On the exact candidate:
The measurement benchmark was intentionally not run because this change only corrects static entrypoint discovery and does not alter executable behavior or make a performance claim. PR CI and review remain pending after publication.