Skip to content

chore: register session actor receipt measurement - #184850

Merged
shakkernerd merged 1 commit into
mainfrom
session-actor-receipt-static-root-483
Oct 26, 2026
Merged

shakkernerd merged 1 commit into
mainfrom
session-actor-receipt-static-root-483

Conversation

@shakkernerd

Copy link
Copy Markdown
Contributor

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:

  • changed-file formatting passed;
  • all seven selected type-check groups passed, including the scripts and root-test graphs;
  • the three dead-code owner test files passed all 39 tests; and
  • the maintained dependency, unused-file, and export scans all passed with zero residuals. The unused-file scan reported zero production and zero full-tree entries, and the export scan reported zero script, production, and full-tree entries.

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.

@clawsweeper

clawsweeper Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@shakkernerd shakkernerd self-assigned this Oct 26, 2026
@shakkernerd
shakkernerd merged commit c30f3d2 into main Oct 26, 2026
80 of 81 checks passed
@shakkernerd
shakkernerd deleted the session-actor-receipt-static-root-483 branch October 26, 2026 17:47
@shakkernerd

Copy link
Copy Markdown
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant