Skip to content

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

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

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

Conversation

@Andy-Jost
Copy link
Copy Markdown
Contributor

@Andy-Jost Andy-Jost commented May 5, 2026

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-Jost Andy-Jost added this to the cuda.core v1.0.0 milestone May 5, 2026
@Andy-Jost Andy-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-Jost Andy-Jost self-assigned this May 5, 2026
@Andy-Jost Andy-Jost requested a review from mdboom May 5, 2026 18:34
Copy link
Copy Markdown
Contributor

@mdboom mdboom left a comment

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

github-actions Bot commented May 5, 2026

@Andy-Jost Andy-Jost merged commit b280b9d into main May 5, 2026
180 of 182 checks passed
@Andy-Jost Andy-Jost deleted the rename-callback-fn-1945 branch May 5, 2026 19:26
github-actions Bot 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Breaking changes are introduced cuda.core Everything related to the cuda.core module enhancement Any code-related improvements P0 High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants