Skip to content

[Procedures] Fix Identityand ConnectionId Regression#5323

Open
kistz wants to merge 2 commits into
clockworklabs:masterfrom
kistz:fix-procedure-identity
Open

[Procedures] Fix Identityand ConnectionId Regression#5323
kistz wants to merge 2 commits into
clockworklabs:masterfrom
kistz:fix-procedure-identity

Conversation

@kistz

@kistz kistz commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Closes #5250

#4636 introduced a regression where the ProcedureContext used to include the sender and connection_id from the caller while now it is always empty (which is wrong)

Correct it.

Also fully migrate to database_identity which was forgotten about so i deprecated it for procedures (since they are now stable) and just changed it for HttpHandlers (because they are still unstable)

@gefjon since you did the lil woopsie (ugh pinging you again lol hope im not annoying haha)

API and ABI breaking changes

Breaking the HttpHandler function which is unstable.

Restoring behaviour of 2.3 which got lost with 2.4.

Expected complexity level and risk

  1. Trivial refactoring

Testing

  • The caller identity is there again for Procedures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TxContext does not have sender() information anymore

1 participant