Repository navigation
refactor(cron): privatize task history helpers - #106950
Merged
Merged
Conversation
vincentkoc
marked this pull request as ready for review
July 14, 2026 01:04
Member
Author
|
Land-ready proof:
Known proof gaps: none material for this visibility-only patch. |
Member
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 14, 2026
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
Removes two internal cron task-history declarations from the repository's unused-export baseline. They were exported despite having no consumers outside their owning modules, which made the apparent module surface broader than the runtime contract.
Why This Change Was Made
Keep both helpers named and owner-local, but stop exporting them. Their existing callers remain unchanged, and the dead-export baseline drops by two entries.
User Impact
No user-visible behavior changes. This narrows internal API surface and makes future dead-code checks more accurate.
Evidence
pnpm test:serial src/cron/task-run-history.test.ts: 7/7 passed.pnpm deadcode:exports: baseline matched 1,189 entries.pnpm plugin-sdk:api:check: generated SDK baseline unchanged.pnpm check:changed -- scripts/deadcode-exports.baseline.mjs src/cron/task-run-event-codec.ts src/cron/task-run-history.ts: passed.tbx_01kxf1yah8vdzm20qwj935sg1t.gpt-5.6-solmedium branch review: 0.98, no findings.AI-assisted: yes. No transcript attached.