Skip to content

cuda.core: rename HostCallbackNode.callback_fn to callback - #2024

Merged
Andy-Jost merged 2 commits into
mainfrom
rename-callback-fn-1945
May 5, 2026
Merged

cuda.core: rename HostCallbackNode.callback_fn to callback#2024
Andy-Jost merged 2 commits into
mainfrom
rename-callback-fn-1945

Conversation

@Andy-Jost

@Andy-JostAndy-Jost commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Renames HostCallbackNode.callback_fn to callback. This was missed during the earlier change addressing the naming audit (#1945).

Changes

  • HostCallbackNode.callback_fn -> HostCallbackNode.callback (property + docstring entry).
  • Test assertion key in test_graph_definition.py updated.
  • v1.0.0 release note added under "Breaking changes".

Drops the redundant `_fn` suffix on the lone property of
`HostCallbackNode`, completing the agreed-upon item from the v1.0.0
naming audit (#1945).
Surface is tiny: one Cython property, its docstring entry, and one
test assertion key.
Co-authored-by: Cursor <cursoragent@cursor.com>
@Andy-JostAndy-Jost added this to the cuda.core v1.0.0 milestone May 5, 2026
@Andy-JostAndy-Jost added enhancement Any code-related improvements P0 High priority - Must do! cuda.core Everything related to the cuda.core module breaking Breaking changes are introduced labels May 5, 2026
@Andy-JostAndy-Jost self-assigned this May 5, 2026
@Andy-Jost
Andy-Jost requested a review from mdboomMay 5, 2026 18:34

@mdboommdboom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Andy-Jost
Andy-Jost enabled auto-merge (squash) May 5, 2026 18:58
@github-actions

Copy link
Copy Markdown

@Andy-Jost
Andy-Jost merged commit b280b9d into mainMay 5, 2026
180 of 182 checks passed
@Andy-Jost
Andy-Jost deleted the rename-callback-fn-1945 branch May 5, 2026 19:26
github-actionsBot pushed a commit that referenced this pull request May 6, 2026
Removed preview folders for the following PRs:
- PR #1983
- PR #2006
- PR #2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breakingBreaking changes are introducedcuda.coreEverything related to the cuda.core moduleenhancementAny code-related improvementsP0High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Andy-Jost@mdboom