Files
tasks/tools/tdbg/protos.go
Lina JodoinandGitHub 02273352fb [CHASM] tdbg support for CHASM protobufs (#8892)
## What changed?
- Imports the current CHASM protobufs as a side effect.

## Why?
- Enables their use through `tdbg decode`. Other existing protobufs are
imported by virtue of explicit imports elsewhere in tdbg.

## How did you test it?
- [x] built
- [x] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
2025-12-22 21:52:38 +00:00

12 lines
453 B
Go

package tdbg
// Import chasm lib protobuf packages for side effects (protobuf type registration).
// This allows tdbg decode to find protobuf types from chasm/lib packages.
//nolint:revive
import (
_ "go.temporal.io/server/chasm/lib/activity/gen/activitypb/v1"
_ "go.temporal.io/server/chasm/lib/callback/gen/callbackpb/v1"
_ "go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1"
_ "go.temporal.io/server/chasm/lib/tests/gen/testspb/v1"
)