@@ -34,8 +34,8 @@ import { makeProtoEnumConverters } from '@temporalio/common/lib/internal-workflo
3434import type { coresdk , temporal } from '@temporalio/proto' ;
3535import {
3636 TEMPORAL_RESERVED_PREFIX ,
37- STACK_TRACE_RESERVED_NAME ,
38- ENHANCED_STACK_TRACE_RESERVED_NAME ,
37+ STACK_TRACE_QUERY_NAME ,
38+ ENHANCED_STACK_TRACE_QUERY_NAME ,
3939} from '@temporalio/common/lib/reserved' ;
4040import { alea , RNG } from './alea' ;
4141import { RootCancellationScope } from './cancellation-scope' ;
@@ -266,7 +266,7 @@ export class Activator implements ActivationHandler {
266266 */
267267 public readonly queryHandlers = new Map < string , WorkflowQueryAnnotatedType > ( [
268268 [
269- STACK_TRACE_RESERVED_NAME ,
269+ STACK_TRACE_QUERY_NAME ,
270270 {
271271 handler : ( ) => {
272272 return new RawValue < string > (
@@ -279,7 +279,7 @@ export class Activator implements ActivationHandler {
279279 } ,
280280 ] ,
281281 [
282- ENHANCED_STACK_TRACE_RESERVED_NAME ,
282+ ENHANCED_STACK_TRACE_QUERY_NAME ,
283283 {
284284 handler : ( ) : RawValue => {
285285 const { sourceMap } = this ;
@@ -695,8 +695,8 @@ export class Activator implements ActivationHandler {
695695 // Skip interceptors if it's an internal query.
696696 const isInternalQuery =
697697 queryType . startsWith ( TEMPORAL_RESERVED_PREFIX ) ||
698- queryType === STACK_TRACE_RESERVED_NAME ||
699- queryType === ENHANCED_STACK_TRACE_RESERVED_NAME ;
698+ queryType === STACK_TRACE_QUERY_NAME ||
699+ queryType === ENHANCED_STACK_TRACE_QUERY_NAME ;
700700 const interceptors = isInternalQuery ? [ ] : this . interceptors . inbound ;
701701 const execute = composeInterceptors ( interceptors , 'handleQuery' , this . queryWorkflowNextHandler . bind ( this ) ) ;
702702 execute ( {
@@ -730,8 +730,8 @@ export class Activator implements ActivationHandler {
730730 // Skip interceptors if it's an internal update.
731731 const isInternalUpdate =
732732 name . startsWith ( TEMPORAL_RESERVED_PREFIX ) ||
733- name === STACK_TRACE_RESERVED_NAME ||
734- name === ENHANCED_STACK_TRACE_RESERVED_NAME ;
733+ name === STACK_TRACE_QUERY_NAME ||
734+ name === ENHANCED_STACK_TRACE_QUERY_NAME ;
735735 const interceptors = isInternalUpdate ? [ ] : this . interceptors . inbound ;
736736
737737 const entry =
@@ -896,8 +896,8 @@ export class Activator implements ActivationHandler {
896896 // Skip interceptors if it's an internal signal.
897897 const isInternalSignal =
898898 signalName . startsWith ( TEMPORAL_RESERVED_PREFIX ) ||
899- signalName === STACK_TRACE_RESERVED_NAME ||
900- signalName === ENHANCED_STACK_TRACE_RESERVED_NAME ;
899+ signalName === STACK_TRACE_QUERY_NAME ||
900+ signalName === ENHANCED_STACK_TRACE_QUERY_NAME ;
901901 const interceptors = isInternalSignal ? [ ] : this . interceptors . inbound ;
902902
903903 if ( ! this . signalHandlers . has ( signalName ) && ! this . defaultSignalHandler ) {
0 commit comments